ath79: add support for TP-Link TL-WDR6500 v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_zte_mf286.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 // Copyright (c) 2021 Cezary Jackiewicz
3 // Copyright (c) 2021, 2022 Lech Perczak
4 #include "qca9563_zte_mf28x.dtsi"
5
6 / {
7 leds {
8 pinctrl-names = "default";
9 pinctrl-0 = <&enable_wlan_led_gpio>;
10
11 led-1 {
12 function = LED_FUNCTION_WLAN;
13 color = <LED_COLOR_ID_BLUE>;
14 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
15 linux,default-trigger = "phy1tpt";
16 };
17 };
18
19 keys {
20 wifi {
21 label = "wifi";
22 linux,code = <KEY_RFKILL>;
23 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26 };
27 };
28
29 &pinmux {
30 enable_wlan_led_gpio: pinmux_wlan_led_gpio {
31 pinctrl-single,bits = <0x10 0x0 0xff000000>;
32 };
33 };