ramips: replace pinctrl property names
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_tl-wa801nd-v5.dts
1 /dts-v1/;
2
3 #include "mt7628an_tplink_8m.dtsi"
4
5 / {
6         compatible = "tplink,tl-wa801nd-v5", "mediatek,mt7628an-soc";
7         model = "TP-Link TL-WA801ND v5";
8
9         aliases {
10                 led-boot = &led_power;
11                 led-failsafe = &led_power;
12                 led-running = &led_power;
13                 led-upgrade = &led_power;
14         };
15
16         keys {
17                 compatible = "gpio-keys";
18
19                 reset {
20                         label = "reset";
21                         gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22                         linux,code = <KEY_RESTART>;
23                 };
24
25                 wps {
26                         label = "wps";
27                         gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
28                         linux,code = <KEY_WPS_BUTTON>;
29                 };
30         };
31
32         leds {
33                 compatible = "gpio-leds";
34
35                 led_power: power {
36                         label = "tl-wa801nd-v5:green:power";
37                         gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
38                 };
39
40                 lan {
41                         label = "tl-wa801nd-v5:green:lan";
42                         gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
43                 };
44
45                 wlan {
46                         label = "tl-wa801nd-v5:green:wlan";
47                         gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
48                         linux,default-trigger = "phy0tpt";
49                 };
50
51                 wps_red {
52                         label = "tl-wa801nd-v5:red:wps";
53                         gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
54                 };
55
56                 wps_green {
57                         label = "tl-wa801nd-v5:green:wps";
58                         gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
59                 };
60         };
61 };
62
63 &state_default {
64         gpio {
65                 groups = "p0led_an", "p1led_an", "perst", "refclk",
66                                 "uart1", "wdt", "wled_an";
67                 function = "gpio";
68         };
69 };