Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be4ccfce authored by Shawn Guo's avatar Shawn Guo
Browse files

ARM: dts: imx: use nodes label in board dts



Following omap3-evm.dts way, it changes all imx dts files to use label
in board dts to refer to nodes defined by soc dtsi.  Thus, the board
dts files become easier to read and edit with the least indentation
levels.

Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 8ba47235
Loading
Loading
Loading
Loading
+11 −19
Original line number Diff line number Diff line
@@ -19,26 +19,18 @@
	memory {
		reg = <0x80000000 0x02000000 0x90000000 0x02000000>;
	};
};

	soc {
		aips@43f00000 {
			uart1: serial@43f90000 {
&uart1 {
	status = "okay";
};
		};

		spba@50000000 {
			fec: ethernet@50038000 {
&fec {
	status = "okay";
	phy-mode = "rmii";
};
		};

		emi@80000000 {
			nand@bb000000 {
&nfc {
	nand-on-flash-bbt;
	status = "okay";
};
		};
	};
};
+1 −1
Original line number Diff line number Diff line
@@ -499,7 +499,7 @@
			reg = <0x80000000 0x3b002000>;
			ranges;

			nand@bb000000 {
			nfc: nand@bb000000 {
				#address-cells = <1>;
				#size-cells = <1>;

+39 −43
Original line number Diff line number Diff line
@@ -32,19 +32,17 @@
			clock-frequency = <0>;
		};
	};
};

	soc {
		aipi@10000000 {
			serial@1000a000 {
&uart1 {
	status = "okay";
};

			ethernet@1002b000 {
&fec {
	status = "okay";
};
		};

		nand@d8000000 {
&nfc {
	status = "okay";
	nand-bus-width = <16>;
	nand-ecc-mode = "hw";
@@ -85,5 +83,3 @@
		reg = <0x800000 0xf800000>;
	};
};
	};
};
+7 −13
Original line number Diff line number Diff line
@@ -19,19 +19,13 @@
	memory {
		reg = <0x0 0x0>;
	};
};

	soc {
		aipi@10000000 { /* aipi1 */
			uart1: serial@1000a000 {
&uart1 {
	fsl,uart-has-rtscts;
	status = "okay";
};
		};

		aipi@10020000 { /* aipi2 */
			ethernet@1002b000 {
&fec {
	status = "okay";
};
		};
	};
};
+4 −8
Original line number Diff line number Diff line
@@ -19,13 +19,9 @@
	memory {
		reg = <0x80000000 0x8000000>; /* 128M */
	};
};

	soc {
		aips@43f00000 { /* AIPS1 */
			uart5: serial@43fb4000 {
&uart5 {
	fsl,uart-has-rtscts;
	status = "okay";
};
		};
	};
};
Loading