summaryrefslogtreecommitdiffstats
path: root/arch/mips/dts/ar9331-dptechnics-dpt-module.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/dts/ar9331-dptechnics-dpt-module.dts')
-rw-r--r--arch/mips/dts/ar9331-dptechnics-dpt-module.dts31
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";
+};