diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-16 15:45:01 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-23 06:57:32 +0200 |
commit | 6a37488917b22fcf24d99c695ed1755198a9393b (patch) | |
tree | 84ae4b08d610fc6613b29f2e589a8a35ae982104 /arch/arm/dts/imx51-genesi-efika-sb.dts | |
parent | 58cb7b4ab504e26afcd8c1621147bba3a5389e87 (diff) | |
download | barebox-6a37488917b22fcf24d99c695ed1755198a9393b.tar.gz barebox-6a37488917b22fcf24d99c695ed1755198a9393b.tar.xz |
ARM: i.MX51 efikasb: configure environment from devicetree
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/imx51-genesi-efika-sb.dts')
-rw-r--r-- | arch/arm/dts/imx51-genesi-efika-sb.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/dts/imx51-genesi-efika-sb.dts b/arch/arm/dts/imx51-genesi-efika-sb.dts index dc92b2a11f..21b7c7e495 100644 --- a/arch/arm/dts/imx51-genesi-efika-sb.dts +++ b/arch/arm/dts/imx51-genesi-efika-sb.dts @@ -18,6 +18,18 @@ chosen { linux,stdout-path = "/soc/aips@70000000/serial@73fbc000"; + + environment-sd { + compatible = "barebox,environment"; + device-path = &esdhc2, "partname:barebox-environment"; + status = "disabled"; + }; + + environment-spi { + compatible = "barebox,environment"; + device-path = &flash, "partname:barebox-environment"; + status = "disabled"; + }; }; memory { @@ -178,6 +190,13 @@ cd-gpios = <&gpio1 8 0>; wp-gpios = <&gpio1 7 0>; status = "okay"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "barebox-environment"; + reg = <0x80000 0x80000>; + }; }; &ecspi1 { @@ -290,6 +309,13 @@ compatible = "sst,sst25vf032b", "m25p80"; spi-max-frequency = <15000000>; reg = <1>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "barebox-environment"; + reg = <0x80000 0x80000>; + }; }; }; |