blob: b0b41f0420d91a4245a2f066d287a09a543f032d (
plain)
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
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7628an_kroks.dtsi"
/ {
compatible = "kroks,kndrt31r16", "mediatek,mt7628an-soc";
model = "Kroks KNdRt31R16";
leds {
status {
label = "green:status";
gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
};
wifi {
label = "blue:wifi";
};
};
gpio_export {
compatible = "gpio-export";
#size-cells = <0>;
usb1power {
gpio-export,name = "usb1power";
gpio-export,output = <1>;
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
};
};
};
&esw {
mediatek,portmap = <0x3e>;
};
&state_default {
gpio {
groups = "i2s", "wled_an";
function = "gpio";
};
p1led_an {
groups = "p1led_an";
function = "p1led_an";
};
p2led_an {
groups = "p2led_an";
function = "p2led_an";
};
p3led_an {
groups = "p3led_an";
function = "p3led_an";
};
p4led_an {
groups = "p4led_an";
function = "p4led_an";
};
};
|