ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7628an_kroks_kndrt31r16.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7628an_kroks.dtsi"
6
7 / {
8 compatible = "kroks,kndrt31r16", "mediatek,mt7628an-soc";
9 model = "Kroks KNdRt31R16";
10
11 leds {
12 status {
13 function = LED_FUNCTION_STATUS;
14 color = <LED_COLOR_ID_GREEN>;
15 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
16 };
17
18 wifi {
19 label = "blue:wifi";
20 };
21 };
22
23 gpio_export {
24 compatible = "gpio-export";
25 #size-cells = <0>;
26
27 usb1power {
28 gpio-export,name = "usb1power";
29 gpio-export,output = <1>;
30 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
31 };
32 };
33 };
34
35 &esw {
36 mediatek,portmap = <0x3e>;
37 };
38
39 &state_default {
40 gpio {
41 groups = "i2s", "wled_an";
42 function = "gpio";
43 };
44
45 p1led_an {
46 groups = "p1led_an";
47 function = "p1led_an";
48 };
49
50 p2led_an {
51 groups = "p2led_an";
52 function = "p2led_an";
53 };
54
55 p3led_an {
56 groups = "p3led_an";
57 function = "p3led_an";
58 };
59
60 p4led_an {
61 groups = "p4led_an";
62 function = "p4led_an";
63 };
64 };