mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
8bc4aaf45c
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>
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>;
|
|
};
|
|
};
|