From 2cca917c4813403c55a7bfd057c2eca7d7a362a2 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 27 Jan 2014 15:10:44 +0100 Subject: [PATCH] ARM: dts: Karo TX25: add barebox specifics Signed-off-by: Sascha Hauer --- 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 182704e31..d66146328 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@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@0 { + label = "boot"; + reg = <0x0 0x80000>; + }; + + partition@1 { + label = "environment"; + reg = <0x80000 0x80000>; + }; + + partition@2 { + label = "kernel"; + reg = <0x100000 0x400000>; + }; + + partition@3 { + label = "root"; + reg = <0x500000 0x7b00000>; + }; };