ipq806x: add space before SPDX identifier (again)
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8064-ad7200.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcom-ipq8064-ad7200-c2600.dtsi"
4
5 / {
6 model = "TP-Link Talon AD7200";
7 compatible = "tplink,ad7200", "qcom,ipq8064";
8
9 aliases {
10 led-boot = &led_status;
11 led-failsafe = &led_status;
12 led-running = &led_status;
13 led-upgrade = &led_status;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18 pinctrl-0 = <&button_pins>;
19 pinctrl-names = "default";
20
21 wifi {
22 label = "wifi";
23 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RFKILL>;
25 };
26
27 reset {
28 label = "reset";
29 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
31 };
32
33 wps {
34 label = "wps";
35 gpios = <&qcom_pinmux 67 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_WPS_BUTTON>;
37 };
38
39 led_enable {
40 label = "led-enable";
41 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_LIGHTS_TOGGLE>;
43 };
44 };
45
46 leds {
47 compatible = "gpio-leds";
48 pinctrl-0 = <&led_pins>;
49 pinctrl-names = "default";
50
51 lan {
52 label = "blue:lan";
53 gpios = <&qcom_pinmux 2 GPIO_ACTIVE_HIGH>;
54 };
55
56 usb1 {
57 label = "blue:usb1";
58 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
59 };
60
61 wlan5g {
62 label = "blue:wlan5g";
63 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
64 };
65
66 usb3 {
67 label = "blue:usb3";
68 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_HIGH>;
69 };
70
71 wlan2g {
72 label = "blue:wlan2g";
73 gpios = <&qcom_pinmux 17 GPIO_ACTIVE_HIGH>;
74 };
75
76 wan_orange {
77 label = "orange:wan";
78 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>;
79 };
80
81 wan_blue {
82 label = "blue:wan";
83 gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
84 };
85
86 wps {
87 label = "blue:wps";
88 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
89 };
90
91 wlan60g {
92 label = "blue:wlan60g";
93 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
94 };
95
96 led_status: status {
97 label = "blue:status";
98 gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
99 };
100 };
101 };
102
103 &qcom_pinmux {
104 button_pins: button_pins {
105 mux {
106 pins = "gpio53", "gpio54", "gpio67";
107 function = "gpio";
108 drive-strength = <2>;
109 bias-pull-up;
110 };
111 };
112
113 led_pins: led_pins {
114 mux {
115 pins = "gpio2", "gpio8", "gpio15", "gpio16", "gpio17", "gpio26",
116 "gpio33", "gpio55", "gpio56", "gpio66";
117 function = "gpio";
118 drive-strength = <2>;
119 bias-pull-up;
120 };
121 };
122 };
123
124 &pcie2 {
125 status = "okay";
126 max-link-speed = <1>;
127 };