Hi all,

is there a standard way to define a ram chip (in my case a battery-buffered nv 
ram, attached to the 5200's Local Bus) in the OF tree, and are there any 
drivers (on 2.6.29.1) which pick up the chip/partition specification for mtd?  
Does such a driver exist, or do I have to write one (probably based on 
plat-ram.c?)?  I think of something like

localbus {
        [...]
        ranges = < 0 0 0xfe000000 0x02000000
                   1 0 0xfc000000 0x00080000>;

        fl...@0,0 {
                [flash definition & partitions]
        };

        nv...@1,0 {
                compatible = "mtd-ram";
                reg = <1 0x0 0x00080000>;
                bank-width = <2>;
                device-width = <2>;
                #size-cells = <1>;
                #address-cells = <1>;
                p...@0 {
                        label = "pdata";
                        reg = <0x00000000 0x00080000>;
                };
        };
};

Thanks,
Albrecht.

Arcor.de Gaming Area - kostenfrei daddeln bis der Arzt kommt!
Jetzt checken und aus über 80 Spielen wählen!
http://www.arcor.de/footer-gaming/
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to