diff options
Diffstat (limited to 'arch/arm/dts/versatile-pb.dts')
-rw-r--r-- | arch/arm/dts/versatile-pb.dts | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/arch/arm/dts/versatile-pb.dts b/arch/arm/dts/versatile-pb.dts index d374f54291..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"; + + 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>; + }; + }; +}; |