summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-01-17 15:09:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-29 11:31:31 +0100
commitab0ee012a1e3c1545cf8c5eee3e546001ef54a2f (patch)
tree6952791f5651ce596aad3d75f2bbc16aa39cd49c /arch
parentc812fd20feef401e8776a13be7f70545c53eb4fa (diff)
downloadbarebox-ab0ee012a1e3c1545cf8c5eee3e546001ef54a2f.tar.gz
barebox-ab0ee012a1e3c1545cf8c5eee3e546001ef54a2f.tar.xz
ARM: dts: phycard-i.MX27: Add environment and NAND partitioning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/imx27-phytec-phycard-s-som.dts25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/imx27-phytec-phycard-s-som.dts b/arch/arm/dts/imx27-phytec-phycard-s-som.dts
index c0341da71f..a48d4e178d 100644
--- a/arch/arm/dts/imx27-phytec-phycard-s-som.dts
+++ b/arch/arm/dts/imx27-phytec-phycard-s-som.dts
@@ -19,6 +19,11 @@
chosen {
linux,stdout-path = &uart1;
+
+ environment@0 {
+ compatible = "barebox,environment";
+ device-path = &nfc, "partname:environment";
+ };
};
memory {
@@ -74,4 +79,24 @@
nand-ecc-mode = "hw";
nand-on-flash-bbt;
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>;
+ };
};