1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcom-ipq4019.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/soc/qcom,tcsr.h>
7 #include <dt-bindings/leds/common.h>
10 model = "ASUS Lyra MAP-AC2200";
11 compatible = "asus,map-ac2200";
14 led-boot = &led_blue0;
15 led-failsafe = &led_red0;
16 led-running = &led_blue0;
17 led-upgrade = &led_red0;
31 compatible = "qcom,tcsr";
32 reg = <0x1949000 0x100>;
33 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
37 compatible = "qcom,tcsr";
38 reg = <0x1953000 0x1000>;
39 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
43 compatible = "qcom,tcsr";
44 reg = <0x1957000 0x100>;
45 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
62 compatible = "gpio-keys";
66 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RESTART>;
72 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_WPS_BUTTON>;
79 pinctrl-0 = <&nand_pins>;
80 pinctrl-names = "default";
85 compatible = "fixed-partitions";
97 reg = <0x80000 0x80000>;
103 reg = <0x100000 0x100000>;
109 reg = <0x200000 0x80000>;
115 reg = <0x280000 0x140000>;
121 reg = <0x3c0000 0x40000>;
127 reg = <0x400000 0x7c00000>;
134 i2c_0_pins: i2c_0_pinmux {
136 function = "blsp_i2c0";
137 pins = "gpio20", "gpio21";
138 drive-strength = <16>;
143 serial_pins: serial_pinmux {
145 pins = "gpio16", "gpio17";
146 function = "blsp_uart0";
151 nand_pins: nand_pins {
153 pins = "gpio52", "gpio53", "gpio58",
160 pins = "gpio54", "gpio55", "gpio56",
161 "gpio57", "gpio60", "gpio61",
162 "gpio62", "gpio63", "gpio64",
163 "gpio65", "gpio66", "gpio67",
171 gpios = <44 GPIO_ACTIVE_HIGH>,
172 <46 GPIO_ACTIVE_HIGH>;
175 line-name = "enable external PA output-high";
179 gpios = <45 GPIO_ACTIVE_HIGH>,
180 <47 GPIO_ACTIVE_HIGH>;
183 line-name = "enable external PA output-low";
201 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
206 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
207 ieee80211-freq-limit = <5470000 5875000>;
212 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
213 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
216 reg = <0x00000000 0 0 0 0>;
217 #address-cells = <3>;
222 compatible = "qcom,ath10k";
224 reg = <0x00010000 0 0 0 0>;
225 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
226 ieee80211-freq-limit = <5170000 5350000>;
232 /* Bluetooth module attached via USB */
237 pinctrl-0 = <&i2c_0_pins>;
238 pinctrl-names = "default";
242 /* 9-channel RGB LED controller */
243 compatible = "national,lp5523";
245 clock-mode = /bits/ 8 <1>;
246 #address-cells = <1>;
250 * There is only one single extremely bright RGB-LED.
251 * The RGB-color channels are running in parallel to
252 * increase the current delivery capabilities beyond
253 * what a single PWM-output of the controller can do.
257 chan-name = "blue-0";
258 led-cur = /bits/ 8 <0xfa>;
259 max-cur = /bits/ 8 <0xff>;
261 color = <LED_COLOR_ID_BLUE>;
262 function-enumerator = <0>;
266 chan-name = "blue-1";
267 led-cur = /bits/ 8 <0xfa>;
268 max-cur = /bits/ 8 <0xff>;
270 color = <LED_COLOR_ID_BLUE>;
271 function-enumerator = <1>;
275 chan-name = "blue-2";
276 led-cur = /bits/ 8 <0xfa>;
277 max-cur = /bits/ 8 <0xff>;
279 color = <LED_COLOR_ID_BLUE>;
280 function-enumerator = <2>;
284 chan-name = "green-0";
285 led-cur = /bits/ 8 <0xfa>;
286 max-cur = /bits/ 8 <0xff>;
288 color = <LED_COLOR_ID_GREEN>;
289 function-enumerator = <0>;
293 chan-name = "green-1";
294 led-cur = /bits/ 8 <0xfa>;
295 max-cur = /bits/ 8 <0xff>;
297 color = <LED_COLOR_ID_GREEN>;
298 function-enumerator = <1>;
302 chan-name = "green-2";
303 led-cur = /bits/ 8 <0xfa>;
304 max-cur = /bits/ 8 <0xff>;
306 color = <LED_COLOR_ID_GREEN>;
307 function-enumerator = <2>;
312 led-cur = /bits/ 8 <0xfa>;
313 max-cur = /bits/ 8 <0xff>;
315 color = <LED_COLOR_ID_RED>;
316 function-enumerator = <0>;
321 led-cur = /bits/ 8 <0xfa>;
322 max-cur = /bits/ 8 <0xff>;
324 color = <LED_COLOR_ID_RED>;
325 function-enumerator = <1>;
330 led-cur = /bits/ 8 <0xfa>;
331 max-cur = /bits/ 8 <0xff>;
333 color = <LED_COLOR_ID_RED>;
334 function-enumerator = <2>;
340 pinctrl-0 = <&serial_pins>;
341 pinctrl-names = "default";