ramips: fix switch setup for Xiaomi MiWiFi Nano
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_zbtlink_zbt-we1026-h.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7620a_zbtlink_zbt-we1026.dtsi"
4
5 / {
6         compatible = "zbtlink,zbt-we1026-h", "zbtlink,zbt-we1026",
7                 "ralink,mt7620a-soc";
8
9         leds {
10                 compatible = "gpio-leds";
11
12                 usb {
13                         label = "we1026-h:green:usb";
14                         gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
15                 };
16
17                 lan {
18                         label = "we1026-h:green:lan";
19                         gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
20                 };
21
22                 wan {
23                         label = "we1026-h:green:wan";
24                         gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
25                 };
26
27                 wifi {
28                         label = "we1026-h:green:wifi";
29                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30                 };
31         };
32 };