diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2017-12-12 18:55:57 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-05 09:31:00 +0100 |
commit | bd61482cba36abd315d14e4335eb8cf70fe99970 (patch) | |
tree | 71012b4ad8303a66dc6642f22d937ea556033e29 /arch/mips/dts | |
parent | 6d82245b00d35de260d3473283480e451d8a198e (diff) | |
download | barebox-bd61482cba36abd315d14e4335eb8cf70fe99970.tar.gz barebox-bd61482cba36abd315d14e4335eb8cf70fe99970.tar.xz |
MIPS: add support for DPTechnics DPT-Module v1
This product can be found here:
https://dptechnics.com/en/products/dpt-module-v1.html
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/dts')
-rw-r--r-- | arch/mips/dts/ar9331-dptechnics-dpt-module.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts new file mode 100644 index 0000000000..39eb36600d --- /dev/null +++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts @@ -0,0 +1,31 @@ +#include <mips/qca/ar9331_dpt_module.dts> +#include "ar9331.dtsi" + +/ { + aliases { + spiflash = &spiflash; + }; + + chosen { + environment@0 { + compatible = "barebox,environment"; + device-path = &spiflash, "partname:barebox-environment"; + }; + }; +}; + +&spiflash { + partition@0 { + label = "barebox"; + reg = <0 0x80000>; + }; + + partition@80000 { + label = "barebox-environment"; + reg = <0x80000 0x10000>; + }; +}; + +&mac0 { + status = "okay"; +}; |