ramips: replace pinctrl property names
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c20i.dts
1 /dts-v1/;
2
3 #include "mt7620a_tplink_archer.dtsi"
4
5 / {
6         compatible = "tplink,archer-c20i", "ralink,mt7620a-soc";
7         model = "TP-Link Archer C20i";
8
9         aliases {
10                 led-boot = &led_wps;
11                 led-failsafe = &led_wps;
12                 led-running = &led_wps;
13                 led-upgrade = &led_wps;
14                 label-mac-device = &ethernet;
15         };
16
17         leds {
18                 compatible = "gpio-leds";
19
20                 lan {
21                         label = "archer-c20i:blue:lan";
22                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
23                 };
24
25                 usb {
26                         label = "archer-c20i:blue:usb";
27                         gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
28                         trigger-sources = <&ohci_port1>, <&ehci_port1>;
29                         linux,default-trigger = "usbport";
30                 };
31
32                 led_wps: wps {
33                         label = "archer-c20i:blue:wps";
34                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
35                 };
36
37                 wan {
38                         label = "archer-c20i:blue:wan";
39                         gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
40                 };
41
42                 wlan {
43                         label = "archer-c20i:blue:wlan";
44                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
45                         linux,default-trigger = "phy1tpt";
46                 };
47         };
48 };
49
50 &state_default {
51         gpio {
52                 groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
53                 function = "gpio";
54         };
55 };
56
57 &wmac {
58         mtd-mac-address = <&rom 0xf100>;
59 };
60
61 &wifi {
62         mtd-mac-address = <&rom 0xf100>;
63         mtd-mac-address-increment = <(-1)>;
64 };