Comments on device tree for pcm030
Juergen Beisert
jbe at pengutronix.de
Tue Jun 10 19:05:14 EST 2008
Maybe everything in this small piece of my dts is wrong. But I don't know how
the correct way is. All I want is to define a 32MiB flash at the end if the
address space of my MPC5200B based system.
[...]
lpb at fe000000 {
model = "fsl,lpb";
compatible = "fsl,lpb";
ranges = <0x0 0xfe000000 0x02000000>;
flash at 0 {
compatible = "cfi-flash";
reg = <0x00000000 0x02000000>;
bank-width = <4>;
};
};
The dtc gives me the follwing output:
Warning (reg_format): "reg" property in /lpb at fe000000/flash at 0 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Warning (ranges_format): "ranges" property in /lpb at fe000000 has invalid length (12 bytes) (parent #address-cells == 1, child #address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /lpb at fe000000/flash at 0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /lpb at fe000000/flash at 0
What does it mean?
At runtime I get:
[...]
of-flash fe000000.flash: of_flash device: fe000000-ffffffff
CFI: Found no fe000000.flash device at location zero
of-flash fe000000.flash: do_map_probe() failed
[...]
What's going wrong? Any hint?
Regards,
Juergen
--
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Vertretung Sued/Muenchen, Germany
Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
More information about the Linuxppc-dev
mailing list