openwrt/target/linux/ath79/dts/qca9563_zte_mf286.dtsi
Andreas Böhler 8bc4aaf45c ath79: refactor ZTE MF28x dts files
Move common dts entries of ZTE MF281 and ZTE MF286 to a common .dtsi file
to reduce redundancies.

Signed-off-by: Andreas Böhler <dev@aboehler.at>
2023-05-06 20:59:46 +02:00

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>;
};
};