ramips: remove useless resets properties from SoC dtsi
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wr840n-v4.dts
1 #include "mt7628an_tplink_8m.dtsi"
2
3 / {
4 compatible = "tplink,tl-wr840n-v4", "mediatek,mt7628an-soc";
5 model = "TP-Link TL-WR840N v4";
6
7 aliases {
8 led-boot = &led_power;
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
12 };
13
14 keys {
15 compatible = "gpio-keys";
16
17 reset {
18 label = "reset";
19 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
20 linux,code = <KEY_RESTART>;
21 };
22 };
23
24 leds {
25 compatible = "gpio-leds";
26
27 lan {
28 label = "green:lan";
29 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
30 };
31
32 led_power: power {
33 label = "green:power";
34 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
35 };
36
37 wan {
38 label = "green:wan";
39 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
40 };
41
42 wlan {
43 label = "green:wlan";
44 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
45 };
46
47 wps {
48 label = "green:wps";
49 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
50 };
51 };
52 };
53
54 &ehci {
55 status = "disabled";
56 };
57
58 &ohci {
59 status = "disabled";
60 };
61
62 &state_default {
63 gpio {
64 groups = "p0led_an", "p2led_an", "perst", "refclk", "wdt", "wled_an";
65 function = "gpio";
66 };
67 };
68
69 &wmac {
70 status = "okay";
71
72 nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
73 nvmem-cell-names = "eeprom", "mac-address";
74 };
75
76 &esw {
77 mediatek,portmap = <0x3e>;
78 };