1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7628an_kroks.dtsi"
/ {
compatible = "kroks,kndrt31r19", "mediatek,mt7628an-soc";
model = "Kroks KNdRt31R19";
leds {
status {
label = "red:status";
};
wifi {
label = "yellow:wifi";
};
};
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
modem1power {
gpio-export,name = "modem1power";
gpio-export,output = <0>;
gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
modem1sim1 {
gpio-export,name = "modem1sim1";
gpio-export,output = <1>;
gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
};
modem1sim2 {
gpio-export,name = "modem1sim2";
gpio-export,output = <0>;
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
modem1rsim1 {
gpio-export,name = "modem1rsim1";
gpio-export,output = <0>;
gpios = <&gpio 39 GPIO_ACTIVE_HIGH>;
};
modem1rsim2 {
gpio-export,name = "modem1rsim2";
gpio-export,output = <0>;
gpios = <&gpio 40 GPIO_ACTIVE_HIGH>;
};
};
};
&esw {
mediatek,portmap = <0x2f>;
};
&state_default {
gpio {
groups = "i2s", "i2c", "p4led_an", "p3led_an", "wled_an";
function = "gpio";
};
};
|