summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-09-13 14:56:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-09-13 14:56:05 +0200
commitebe2e918c2f8d9afb309f941f516eee3d41e6c3d (patch)
treebe9e65784b0d5fce8da4fbf42f711bba4e831cd1
parent6b8ae8f2e1eea2fa7bc82ffaaa747617de926013 (diff)
parent6d54da2d0d68d3651ccad2493302bc4557d91dc7 (diff)
downloadbarebox-ebe2e918c2f8d9afb309f941f516eee3d41e6c3d.tar.gz
barebox-ebe2e918c2f8d9afb309f941f516eee3d41e6c3d.tar.xz
Merge branch 'for-next/mips'
-rw-r--r--arch/mips/dts/tplink-mr3020.dts68
1 files changed, 1 insertions, 67 deletions
diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
index 831fab8108..1e843ee003 100644
--- a/arch/mips/dts/tplink-mr3020.dts
+++ b/arch/mips/dts/tplink-mr3020.dts
@@ -1,73 +1,7 @@
-/dts-v1/;
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include <mips/qca/ar9331.dtsi>
+#include <mips/qca/ar9331_tl_mr3020.dts>
/ {
- model = "TP-Link TL-MR3020";
- compatible = "tplink,tl-mr3020";
-
aliases {
spiflash = &spiflash;
};
-
- memory@0 {
- device_type = "memory";
- reg = <0x00000000 0x2000000>;
- };
-
- leds {
- compatible = "gpio-leds";
-
- wlan {
- label = "tp-link:green:wlan";
- gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
- default-state = "off";
- };
-
- lan {
- label = "tp-link:green:lan";
- gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- wps {
- label = "tp-link:green:wps";
- gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
-
- led3g {
- label = "tp-link:green:3g";
- gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
- default-state = "off";
- };
- };
-};
-
-&ref {
- clock-frequency = <25000000>;
-};
-
-&uart {
- status = "okay";
-};
-
-&gpio {
- status = "okay";
-};
-
-&spi {
- num-chipselects = <1>;
- status = "okay";
-
- /* Spansion S25FL032PIF SPI flash */
- spiflash: s25sl032p@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "spansion,s25sl032p", "jedec,spi-nor";
- spi-max-frequency = <104000000>;
- reg = <0>;
- };
};