Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
65 lines
969 B
Plaintext
65 lines
969 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "mt7628an_kroks.dtsi"
|
|
|
|
/ {
|
|
compatible = "kroks,kndrt31r16", "mediatek,mt7628an-soc";
|
|
model = "Kroks KNdRt31R16";
|
|
|
|
leds {
|
|
status {
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
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";
|
|
};
|
|
};
|