ramips: add support for XiaoYu XY-C5
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_edimax_ew-7478ac.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 /dts-v1/;
4
5 #include "mt7620a_edimax_ew-747x.dtsi"
6
7 / {
8         compatible = "edimax,ew-7478ac", "ralink,mt7620a-soc";
9         model = "Edimax EW-7478AC";
10
11         leds {
12                 compatible = "gpio-leds";
13
14                 led_power: power {
15                         label = "ew-7478ac:green:power";
16                         gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
17                 };
18
19                 lan {
20                         label = "ew-7478ac:green:lan";
21                         gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
22                 };
23
24                 wlan2g {
25                         label = "ew-7478ac:blue:wlan2g";
26                         gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
27                         linux,default-trigger = "phy1radio";
28                 };
29
30                 wlan5g {
31                         label = "ew-7478ac:blue:wlan5g";
32                         gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
33                         linux,default-trigger = "phy0radio";
34                 };
35
36                 wps {
37                         label = "ew-7478ac:green:wps";
38                         gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
39                 };
40
41                 crossband {
42                         label = "ew-7478ac:green:crossband";
43                         gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
44                 };
45         };
46 };