Hi all,

I've been trying hard to make the mtd-partitions available via device tree on my MPC8343 local bus.
No success so far ...

Everything works fine on my MPC5200B based system - flash layout definition is quite simple ....

To me it looks like there's a problem regarding the local bus in general.

Am I missing a "compatible" or anything else ? "reg" or "ranges" ?

The other boards use static map files or provide partition over command line args .... so suitable dts available.

Flash is 8MB size in 16-Bit configuration and should reside on 0xFF800000 at cs0.


Any hints ?


regards,
Andre Schwarz
Matrix Vision


dts syntax :

<snip>

       [EMAIL PROTECTED] {
               #address-cells = <2>;
               #size-cells = <1>;
               compatible = "fsl,mpc8343-localbus", "fsl,pq2pro-localbus";

               ranges = <0x0 0x0 0xff800000 0x00800000>;

               [EMAIL PROTECTED],0 {
                       compatible = "amd,s29gl64", "cfi-flash";
                       reg = <0 0 800000>;
                       #address-cells = <1>;
                       #size-cells = <1>;
                       bank-width = <2>;
                       device-width = <2>;

                       [EMAIL PROTECTED] {
                               reg = <0x0 0x2000>;
                       };

<snip>


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: 
Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to