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;
34 compatible = "qcom,tcsr";
35 reg = <0x1949000 0x100>;
36 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
40 compatible = "qcom,tcsr";
41 reg = <0x1953000 0x1000>;
42 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
46 compatible = "qcom,tcsr";
47 reg = <0x1957000 0x100>;
48 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
73 compatible = "gpio-keys";
77 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
83 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_WPS_BUTTON>;
90 pinctrl-0 = <&nand_pins>;
91 pinctrl-names = "default";
96 compatible = "fixed-partitions";
108 reg = <0x80000 0x80000>;
114 reg = <0x100000 0x100000>;
120 reg = <0x200000 0x80000>;
126 reg = <0x280000 0x140000>;
132 reg = <0x3c0000 0x40000>;
138 reg = <0x400000 0x7c00000>;
145 i2c_0_pins: i2c_0_pinmux {
147 function = "blsp_i2c0";
148 pins = "gpio20", "gpio21";
149 drive-strength = <16>;
154 serial_pins: serial_pinmux {
156 pins = "gpio16", "gpio17";
157 function = "blsp_uart0";
162 nand_pins: nand_pins {
164 pins = "gpio52", "gpio53", "gpio58",
171 pins = "gpio54", "gpio55", "gpio56",
172 "gpio57", "gpio60", "gpio61",
173 "gpio62", "gpio63", "gpio64",
174 "gpio65", "gpio66", "gpio67",
182 gpios = <44 GPIO_ACTIVE_HIGH>,
183 <46 GPIO_ACTIVE_HIGH>;
186 line-name = "enable external PA output-high";
190 gpios = <45 GPIO_ACTIVE_HIGH>,
191 <47 GPIO_ACTIVE_HIGH>;
194 line-name = "enable external PA output-low";
212 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
217 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
218 ieee80211-freq-limit = <5470000 5875000>;
223 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
224 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
227 reg = <0x00000000 0 0 0 0>;
228 #address-cells = <3>;
233 compatible = "qcom,ath10k";
235 reg = <0x00010000 0 0 0 0>;
236 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
237 ieee80211-freq-limit = <5170000 5350000>;
243 /* Bluetooth module attached via USB */
248 pinctrl-0 = <&i2c_0_pins>;
249 pinctrl-names = "default";
253 /* 9-channel RGB LED controller */
254 compatible = "national,lp5523";
256 clock-mode = /bits/ 8 <1>;
257 #address-cells = <1>;
261 * There is only one single extremely bright RGB-LED.
262 * The RGB-color channels are running in parallel to
263 * increase the current delivery capabilities beyond
264 * what a single PWM-output of the controller can do.
268 chan-name = "blue-0";
269 led-cur = /bits/ 8 <0xfa>;
270 max-cur = /bits/ 8 <0xff>;
272 color = <LED_COLOR_ID_BLUE>;
273 function-enumerator = <0>;
277 chan-name = "blue-1";
278 led-cur = /bits/ 8 <0xfa>;
279 max-cur = /bits/ 8 <0xff>;
281 color = <LED_COLOR_ID_BLUE>;
282 function-enumerator = <1>;
286 chan-name = "blue-2";
287 led-cur = /bits/ 8 <0xfa>;
288 max-cur = /bits/ 8 <0xff>;
290 color = <LED_COLOR_ID_BLUE>;
291 function-enumerator = <2>;
295 chan-name = "green-0";
296 led-cur = /bits/ 8 <0xfa>;
297 max-cur = /bits/ 8 <0xff>;
299 color = <LED_COLOR_ID_GREEN>;
300 function-enumerator = <0>;
304 chan-name = "green-1";
305 led-cur = /bits/ 8 <0xfa>;
306 max-cur = /bits/ 8 <0xff>;
308 color = <LED_COLOR_ID_GREEN>;
309 function-enumerator = <1>;
313 chan-name = "green-2";
314 led-cur = /bits/ 8 <0xfa>;
315 max-cur = /bits/ 8 <0xff>;
317 color = <LED_COLOR_ID_GREEN>;
318 function-enumerator = <2>;
323 led-cur = /bits/ 8 <0xfa>;
324 max-cur = /bits/ 8 <0xff>;
326 color = <LED_COLOR_ID_RED>;
327 function-enumerator = <0>;
332 led-cur = /bits/ 8 <0xfa>;
333 max-cur = /bits/ 8 <0xff>;
335 color = <LED_COLOR_ID_RED>;
336 function-enumerator = <1>;
341 led-cur = /bits/ 8 <0xfa>;
342 max-cur = /bits/ 8 <0xff>;
344 color = <LED_COLOR_ID_RED>;
345 function-enumerator = <2>;
351 pinctrl-0 = <&serial_pins>;
352 pinctrl-names = "default";