[PATCH 2/3] ARM: dts: i.MX53: tqma53: Add barebox specifics

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 20 08:23:55 EST 2014


- add chosen node with
  - environment
  - linux,stdout-path
- add dsr value to eMMC
- add provide-mac-address property to iim node

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/dts/imx53-mba53.dts   | 17 +++++++++++++++++
 arch/arm/dts/imx53-tqma53.dtsi | 15 ++++++++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/imx53-mba53.dts b/arch/arm/dts/imx53-mba53.dts
index a630902..43bb12c 100644
--- a/arch/arm/dts/imx53-mba53.dts
+++ b/arch/arm/dts/imx53-mba53.dts
@@ -17,6 +17,16 @@
 	model = "TQ MBa53 starter kit";
 	compatible = "tq,mba53", "tq,tqma53", "fsl,imx53";
 
+	chosen {
+		linux,stdout-path = &uart2;
+
+		environment-sd {
+			compatible = "barebox,environment";
+			device-path = &esdhc2, "partname:environment";
+			status = "disabled";
+		};
+	};
+
 	reg_backlight: fixed at 0 {
 		compatible = "regulator-fixed";
 		regulator-name = "lcd-supply";
@@ -181,6 +191,13 @@
 
 &esdhc2 {
 	status = "okay";
+	#address-cells = <1>;
+	#size-cells = <1>;
+
+	partition at 0 {
+		label = "environment";
+		reg = <0x80000 0x80000>;
+	};
 };
 
 &uart3 {
diff --git a/arch/arm/dts/imx53-tqma53.dtsi b/arch/arm/dts/imx53-tqma53.dtsi
index abd72af..b6c86cd 100644
--- a/arch/arm/dts/imx53-tqma53.dtsi
+++ b/arch/arm/dts/imx53-tqma53.dtsi
@@ -16,8 +16,16 @@
 	model = "TQ TQMa53";
 	compatible = "tq,tqma53", "fsl,imx53";
 
+	chosen {
+		environment-emmc {
+			compatible = "barebox,environment";
+			device-path = &esdhc3, "partname:boot1";
+			status = "disabled";
+		};
+	};
+
 	memory {
-		reg = <0x70000000 0x40000000>; /* Up to 1GiB */
+		reg = <0x70000000 0x0>; /* Up to 1GiB */
 	};
 
 	regulators {
@@ -64,9 +72,14 @@
 	vmmc-supply = <&reg_3p3v>;
 	non-removable;
 	bus-width = <8>;
+	dsr = <0x100>;
 	status = "okay";
 };
 
+&iim {
+	barebox,provide-mac-address = <&fec 1 9>;
+};
+
 &iomuxc {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_hog>;
-- 
1.8.5.2




More information about the barebox mailing list