summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/vexpress-v2p-ca9.dts
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-10-12 12:26:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-10-17 08:46:06 +0200
commit51bf6848bc309f4e1111a756f8800a9586c3e3dd (patch)
tree163f079116c32b31ddb7b300b335c84d2231306b /arch/arm/dts/vexpress-v2p-ca9.dts
parent22c64af6863b97556b9dc08b04a45350d1794f29 (diff)
downloadbarebox-51bf6848bc309f4e1111a756f8800a9586c3e3dd.tar.gz
barebox-51bf6848bc309f4e1111a756f8800a9586c3e3dd.tar.xz
ARM: vexpress: switch to DT probe and multi-image build
This switches the VExpress support to use an internal DT, instead of probing the peripherals from a board file. It also switches to a multi-iamge build with both CA9 and CA15 variants of the VExpress board being supported. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts/vexpress-v2p-ca9.dts')
-rw-r--r--arch/arm/dts/vexpress-v2p-ca9.dts27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/dts/vexpress-v2p-ca9.dts b/arch/arm/dts/vexpress-v2p-ca9.dts
new file mode 100644
index 0000000000..541840ae22
--- /dev/null
+++ b/arch/arm/dts/vexpress-v2p-ca9.dts
@@ -0,0 +1,27 @@
+#include <arm/vexpress-v2p-ca9.dts>
+
+/ {
+ barebox_environment {
+ compatible = "barebox,environment";
+ device-path = &barebox_env;
+ };
+
+ smb@4000000 {
+ motherboard {
+ flash@0,00000000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0x80000>;
+ };
+
+ barebox_env: partition@80000 {
+ label = "barebox-environment";
+ reg = <0x80000 0x80000>;
+ };
+ };
+ };
+ };
+};