[PATCH 1/5] ARM: socfpga: socrates: add qspi partitions

Steffen Trumtrar s.trumtrar at pengutronix.de
Tue Jul 14 09:16:35 PDT 2015


Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/dts/socfpga_cyclone5_socrates.dts | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 125ad1b8502d..ccb940584b5b 100644
--- a/arch/arm/dts/socfpga_cyclone5_socrates.dts
+++ b/arch/arm/dts/socfpga_cyclone5_socrates.dts
@@ -80,5 +80,20 @@
 		cdns,tsd2d-ns = <50>;
 		cdns,tchsh-ns = <4>;
 		cdns,tslch-ns = <4>;
+
+		partition at 0 {
+			label = "prebootloader0";
+			reg = <0x00000 0x10000>;
+		};
+
+		partition at 1 {
+			label = "barebox0";
+			reg = <0x40000 0x80000>;
+		};
+
+		partition at 2 {
+			label = "data";
+			reg = <0xc0000 0x1f40000>;
+		};
 	};
 };
-- 
2.1.4




More information about the barebox mailing list