1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq8064-ad7200-c2600.dtsi"
6 model = "TP-Link Talon AD7200";
7 compatible = "tplink,ad7200", "qcom,ipq8064";
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
17 compatible = "gpio-keys";
18 pinctrl-0 = <&button_pins>;
19 pinctrl-names = "default";
23 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RFKILL>;
25 debounce-interval = <60>;
31 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
33 debounce-interval = <60>;
39 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
41 debounce-interval = <60>;
47 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_LIGHTS_TOGGLE>;
49 debounce-interval = <60>;
55 compatible = "gpio-leds";
56 pinctrl-0 = <&led_pins>;
57 pinctrl-names = "default";
61 gpios = <&qcom_pinmux 2 GPIO_ACTIVE_HIGH>;
66 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
70 label = "blue:wlan5g";
71 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
76 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>;
80 label = "blue:wlan2g";
81 gpios = <&qcom_pinmux 17 GPIO_ACTIVE_HIGH>;
86 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
91 gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
96 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
100 label = "blue:wlan60g";
101 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
105 label = "blue:status";
106 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
112 button_pins: button_pins {
114 pins = "gpio53", "gpio54", "gpio67";
116 drive-strength = <2>;
123 pins = "gpio2", "gpio8", "gpio15", "gpio16", "gpio17", "gpio26",
124 "gpio33", "gpio55", "gpio56", "gpio66";
126 drive-strength = <2>;
134 max-link-speed = <1>;