summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/versatile-pb.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/versatile-pb.dts')
-rw-r--r--arch/arm/dts/versatile-pb.dts32
1 files changed, 29 insertions, 3 deletions
diff --git a/arch/arm/dts/versatile-pb.dts b/arch/arm/dts/versatile-pb.dts
index 8c80f8c293..d81b7d2715 100644
--- a/arch/arm/dts/versatile-pb.dts
+++ b/arch/arm/dts/versatile-pb.dts
@@ -1,10 +1,36 @@
-#include <arm/versatile-ab.dts>
+#include <arm/arm/versatile-ab.dts>
/ {
model = "ARM Versatile PB";
compatible = "arm,versatile-pb";
- memory {
- reg = <0x0 0x04000000>;
+ chosen {
+ environment-nor {
+ compatible = "barebox,environment";
+ device-path = &env_nor;
+ };
+ };
+};
+
+&{/memory} {
+ reg = <0x0 0x04000000>;
+};
+
+&{/flash@34000000} {
+ partitions {
+ compatible = "fixed-partitions";
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0x400000>;
+ };
+
+ env_nor: partition@400000 {
+ label = "bareboxenv";
+ reg = <0x400000 0x400000>;
+ };
};
};