On Friday 11 April 2008 17:13, Andre Schwarz wrote: > 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>;
reg should be <0 0 0x800000>. > #address-cells = <1>; > #size-cells = <1>; > bank-width = <2>; > device-width = <2>; > > [EMAIL PROTECTED] { > reg = <0x0 0x2000>; > }; -- Laurent Pinchart CSE Semaphore Belgium Chaussee de Bruxelles, 732A B-1410 Waterloo Belgium T +32 (2) 387 42 59 F +32 (2) 387 42 75
pgpEkypFbqQKw.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev