hi, i have two flashs, but my kernel can only find one , how can i write the dts?

hacklu embedway.test at gmail.com
Fri Jul 16 18:34:51 EST 2010


this is my dts file:
flash at 0,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
                        probe-type = "CFI";
                        reg = <0 0 1000000>;
                        bank-width = <2>;
                        device-width = <1>;
                        hrcw at 0 {
                                label = "hrcw";
                                reg = <0 40000>;
                        };
                        jffs at 40000 {
                                label = "jffs";
                                reg = <40000 200000>;
                        };
                        jffs2 at 240000 {
                                label = "uimage";
                                reg = <240000 d80000>;
                        };
             };
flash at 1,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
                        probe-type = "CFI";
                        reg = <1000000 0 1000000>;
                        bank-width = <2>;
                        device-width = <1>;
                        jffs3 at 240000 {
                                label = "jffs2";
                                reg = <0 1000000>;
                        };
                }; 
2010-07-16 



hacklu 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100716/460f823a/attachment-0001.htm>


More information about the Linuxppc-dev mailing list