diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-10-12 12:26:52 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-10-17 08:46:06 +0200 |
commit | 51bf6848bc309f4e1111a756f8800a9586c3e3dd (patch) | |
tree | 163f079116c32b31ddb7b300b335c84d2231306b /arch/arm/dts/vexpress-v2p-ca15.dts | |
parent | 22c64af6863b97556b9dc08b04a45350d1794f29 (diff) | |
download | barebox-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-ca15.dts')
-rw-r--r-- | arch/arm/dts/vexpress-v2p-ca15.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/dts/vexpress-v2p-ca15.dts b/arch/arm/dts/vexpress-v2p-ca15.dts new file mode 100644 index 0000000000..211eaccb62 --- /dev/null +++ b/arch/arm/dts/vexpress-v2p-ca15.dts @@ -0,0 +1,27 @@ +#include <arm/vexpress-v2p-ca15_a7.dts> + +/ { + barebox_environment { + compatible = "barebox,environment"; + device-path = &barebox_env; + }; + + smb@8000000 { + 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>; + }; + }; + }; + }; +}; |