3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "tplink,tl-mr3020-v3", "mediatek,mt7628an-soc";
10 model = "TP-Link TL-MR3020 v3";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-leds";
49 label = "tl-mr3020-v3:green:power";
50 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
55 label = "tl-mr3020-v3:green:3g";
56 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
57 trigger-sources = <&ehci_port1>, <&ohci_port1>;
58 linux,default-trigger = "usbport";
62 label = "tl-mr3020-v3:green:wlan";
63 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy0tpt";
68 label = "tl-mr3020-v3:green:wps";
69 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
73 label = "tl-mr3020-v3:green:lan";
74 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
83 compatible = "jedec,spi-nor";
85 spi-max-frequency = <10000000>;
88 compatible = "fixed-partitions";
99 compatible = "tplink,firmware";
101 reg = <0x20000 0x7a0000>;
106 reg = <0x7c0000 0x10000>;
110 factory: partition@7d0000 {
112 reg = <0x7d0000 0x30000>;
129 groups = "i2s", "refclk", "wdt", "p2led_an", "p1led_an", "p0led_an", "wled_an";
136 mtd-mac-address = <&factory 0xf100>;
137 mediatek,mtd-eeprom = <&factory 0x20000>;
141 mtd-mac-address = <&factory 0xf100>;