summaryrefslogtreecommitdiffstats
path: root/arch/mips/dts/ar9331_tl_mr3020.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/dts/ar9331_tl_mr3020.dts')
-rw-r--r--arch/mips/dts/ar9331_tl_mr3020.dts33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/mips/dts/ar9331_tl_mr3020.dts b/arch/mips/dts/ar9331_tl_mr3020.dts
new file mode 100644
index 0000000000..66587912c4
--- /dev/null
+++ b/arch/mips/dts/ar9331_tl_mr3020.dts
@@ -0,0 +1,33 @@
+#include <mips/qca/ar9331_tl_mr3020.dts>
+#include "ar9331.dtsi"
+
+/ {
+ aliases {
+ spiflash = &spiflash;
+ };
+
+ chosen {
+ stdout-path = &uart;
+
+ environment {
+ compatible = "barebox,environment";
+ device-path = &env_nor;
+ };
+ };
+};
+
+&spiflash {
+ partition@0 {
+ label = "barebox";
+ reg = <0 0x80000>;
+ };
+
+ env_nor: partition@80000 {
+ label = "barebox-environment";
+ reg = <0x80000 0x10000>;
+ };
+};
+
+&eth0 {
+ status = "okay";
+};