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
34 lines
667 B
Plaintext
34 lines
667 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
// Copyright (c) 2021 Cezary Jackiewicz
|
|
// Copyright (c) 2021, 2022 Lech Perczak
|
|
#include "qca9563_zte_mf28x.dtsi"
|
|
|
|
/ {
|
|
leds {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&enable_wlan_led_gpio>;
|
|
|
|
led-1 {
|
|
function = LED_FUNCTION_WLAN;
|
|
color = <LED_COLOR_ID_BLUE>;
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "phy1tpt";
|
|
};
|
|
};
|
|
|
|
keys {
|
|
wifi {
|
|
label = "wifi";
|
|
linux,code = <KEY_RFKILL>;
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&pinmux {
|
|
enable_wlan_led_gpio: pinmux_wlan_led_gpio {
|
|
pinctrl-single,bits = <0x10 0x0 0xff000000>;
|
|
};
|
|
};
|