2009/2/12 Pieter <phenn...@vastech.co.za> > Jean-Michel Hautbois wrote: > > Warning (reg_format): "reg" property in > > /local...@f0010100/fl...@0,0/partit...@ff800000 has invalid length (8 > > JM > You are missing some definitions, The #address-cells and #size-cells = <1>; > tis is a snippet of teh dts i defined for my board. > > fl...@0,0 { > #address-cells = <1>; > #size-cells = <1>; > compatible = "cfi-flash"; > reg = <0x0 0x0 0x08000000>; > bank-width = <4>; > device-width = <1>; > > /* set flash partition to correspond tu mtd parts in > u-boot*/ > /* 0xf8000000 */ > partit...@0x0 { > label = "factory-image"; > reg = <0x00000000 0x01000000>; > }; > /* 0xf9000000 */ > partit...@0x01000000 { > label = "app-image-1"; > reg = <0x01000000 0x01000000>; > }; > cheers pieter >
Hi do have these definitions, at a higher level: local...@f0010100 { compatible = "fsl,mpc8272-localbus", "fsl,pq2-localbus"; #address-cells = <2>; #size-cells = <1>; reg = <0xf0010100 0x40>; ranges = <0x0 0x0 0xfe000000 0x2000000 0x1 0x0 0xf4500000 0x8000 0x3 0x0 0xf8200000 0x8000>; fl...@0,0 { etc. Regards, JM
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev