Commit 72fa28e2 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy
Browse files

ARM: dts: lpc32xx: ea3250: 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: default avatarSylvain Lemieux <slemieux.tyco@gmail.com>
Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
parent 1a096afc
Loading
Loading
Loading
Loading
+23 −19
Original line number Diff line number Diff line
@@ -213,8 +213,6 @@

/* 128MB Flash via SLC NAND controller */
&slc {
	#address-cells = <1>;
	#size-cells = <1>;
	status = "okay";

	nxp,wdr-clks = <14>;
@@ -228,6 +226,11 @@
	nand-on-flash-bbt;
	gpios = <&gpio 5 19 1>; /* GPO_P3 19, active low */

	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		mtd0@00000000 {
			label = "ea3250-boot";
			reg = <0x00000000 0x00080000>;
@@ -250,6 +253,7 @@
			reg = <0x00540000 0x07ac0000>;
		};
	};
};

&uart1 {
	status = "okay";