[PATCH 12/15] ARM: dts: Karo TX25: add barebox specifics

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 31 09:23:21 EST 2014


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/imx25-karo-tx25.dts | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/arch/arm/dts/imx25-karo-tx25.dts b/arch/arm/dts/imx25-karo-tx25.dts
index 182704e..d661463 100644
--- a/arch/arm/dts/imx25-karo-tx25.dts
+++ b/arch/arm/dts/imx25-karo-tx25.dts
@@ -16,6 +16,15 @@
 	model = "Ka-Ro TX25";
 	compatible = "karo,imx25-tx25", "fsl,imx25";
 
+	chosen {
+		linux,stdout-path = &uart1;
+
+		environment at 0 {
+			compatible = "barebox,environment";
+			device-path = &nfc, "partname:environment";
+		};
+	};
+
 	regulators {
 		compatible = "simple-bus";
 		#address-cells = <1>;
@@ -98,11 +107,37 @@
 	status = "okay";
 };
 
+&iim {
+	barebox,provide-mac-address = <&fec 0 26>;
+};
+
 &nfc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_nfc>;
+	#address-cells = <1>;
+	#size-cells = <1>;
 	nand-on-flash-bbt;
 	nand-ecc-mode = "hw";
 	nand-bus-width = <8>;
 	status = "okay";
+
+	partition at 0 {
+		label = "boot";
+		reg = <0x0 0x80000>;
+	};
+
+	partition at 1 {
+		label = "environment";
+		reg = <0x80000 0x80000>;
+	};
+
+	partition at 2 {
+		label = "kernel";
+		reg = <0x100000 0x400000>;
+	};
+
+	partition at 3 {
+		label = "root";
+		reg = <0x500000 0x7b00000>;
+	};
 };
-- 
1.8.5.3




More information about the barebox mailing list