[PATCH 01/10] dts:imx6:pfla02: Add nand partitions
Christian Hemp
c.hemp at phytec.de
Fri Sep 12 06:33:38 PDT 2014
Signed-off-by: Christian Hemp <c.hemp at phytec.de>
---
arch/arm/dts/imx6qdl-phytec-pfla02.dtsi | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
index a981fd4..b8988ed 100644
--- a/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
+++ b/arch/arm/dts/imx6qdl-phytec-pfla02.dtsi
@@ -36,6 +36,33 @@
pinctrl-0 = <&pinctrl_gpmi_nand>;
nand-on-flash-bbt;
status = "okay";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition at 0 {
+ label = "barebox";
+ reg = <0x0 0x400000>;
+ };
+
+ partition at 1 {
+ label = "barebox-environment";
+ reg = <0x400000 0x20000>;
+ };
+
+ partition at 2 {
+ label = "oftree";
+ reg = <0x420000 0x20000>;
+ };
+
+ partition at 3 {
+ label = "kernel";
+ reg = <0x440000 0x800000>;
+ };
+
+ partition at 4 {
+ label = "root";
+ reg = <0xC40000 0x0>;
+ };
};
&iomuxc {
--
1.7.0.4
More information about the barebox
mailing list