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