[PATCH 19/22] ARM: dts: phycard-i.MX27: Add environment and NAND partitioning
Sascha Hauer
s.hauer at pengutronix.de
Fri Jan 17 10:03:29 EST 2014
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/dts/imx27-phytec-phycard-s-som.dts | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/dts/imx27-phytec-phycard-s-som.dts b/arch/arm/dts/imx27-phytec-phycard-s-som.dts
index c0341da..eba6240 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 at 0 {
+ compatible = "barebox,environment";
+ device-path = &nfc, "partname:barebox-environment";
+ };
};
memory {
@@ -74,4 +79,24 @@
nand-ecc-mode = "hw";
nand-on-flash-bbt;
status = "okay";
+
+ partition at 0 {
+ label = "barebox";
+ reg = <0x0 0x80000>;
+ };
+
+ partition at 1 {
+ label = "barebox-environment";
+ reg = <0x80000 0x80000>;
+ };
+
+ partition at 2 {
+ label = "kernel";
+ reg = <0x100000 0x400000>;
+ };
+
+ partition at 3 {
+ label = "root";
+ reg = <0x500000 0x7b00000>;
+ };
};
--
1.8.5.2
More information about the barebox
mailing list