ARM: dts: lpc32xx: phy3250: add NAND partitions device node
To declare MTD OF partitions NAND controller device node should have a special 'partitions' subnode, the change removes a debug message from mtd/ofpart on boot: nxp_lpc3220_slc: 'partitions' subnode not found on /ahb/flash@20020000. Trying to parse direct subnodes as partitions. Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
This commit is contained in:
parent
6101f4bcb3
commit
9cfde0a1fe
|
@ -136,8 +136,6 @@ &sd {
|
||||||
|
|
||||||
/* 64MB Flash via SLC NAND controller */
|
/* 64MB Flash via SLC NAND controller */
|
||||||
&slc {
|
&slc {
|
||||||
#address-cells = <1>;
|
|
||||||
#size-cells = <1>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
nxp,wdr-clks = <14>;
|
nxp,wdr-clks = <14>;
|
||||||
|
@ -151,31 +149,37 @@ &slc {
|
||||||
nand-on-flash-bbt;
|
nand-on-flash-bbt;
|
||||||
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
|
gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */
|
||||||
|
|
||||||
mtd0@00000000 {
|
partitions {
|
||||||
label = "phy3250-boot";
|
compatible = "fixed-partitions";
|
||||||
reg = <0x00000000 0x00064000>;
|
#address-cells = <1>;
|
||||||
read-only;
|
#size-cells = <1>;
|
||||||
};
|
|
||||||
|
|
||||||
mtd1@00064000 {
|
mtd0@00000000 {
|
||||||
label = "phy3250-uboot";
|
label = "phy3250-boot";
|
||||||
reg = <0x00064000 0x00190000>;
|
reg = <0x00000000 0x00064000>;
|
||||||
read-only;
|
read-only;
|
||||||
};
|
};
|
||||||
|
|
||||||
mtd2@001f4000 {
|
mtd1@00064000 {
|
||||||
label = "phy3250-ubt-prms";
|
label = "phy3250-uboot";
|
||||||
reg = <0x001f4000 0x00010000>;
|
reg = <0x00064000 0x00190000>;
|
||||||
};
|
read-only;
|
||||||
|
};
|
||||||
|
|
||||||
mtd3@00204000 {
|
mtd2@001f4000 {
|
||||||
label = "phy3250-kernel";
|
label = "phy3250-ubt-prms";
|
||||||
reg = <0x00204000 0x00400000>;
|
reg = <0x001f4000 0x00010000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
mtd4@00604000 {
|
mtd3@00204000 {
|
||||||
label = "phy3250-rootfs";
|
label = "phy3250-kernel";
|
||||||
reg = <0x00604000 0x039fc000>;
|
reg = <0x00204000 0x00400000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
mtd4@00604000 {
|
||||||
|
label = "phy3250-rootfs";
|
||||||
|
reg = <0x00604000 0x039fc000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue