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;
30 compatible = "qcom,tcsr";
31 reg = <0x1949000 0x100>;
32 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
36 compatible = "qcom,tcsr";
37 reg = <0x1953000 0x1000>;
38 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
42 compatible = "qcom,tcsr";
43 reg = <0x1957000 0x100>;
44 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
61 compatible = "gpio-keys";
65 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_RESTART>;
71 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
72 linux,code = <KEY_WPS_BUTTON>;
78 pinctrl-0 = <&nand_pins>;
79 pinctrl-names = "default";
84 compatible = "fixed-partitions";
96 reg = <0x80000 0x80000>;
102 reg = <0x100000 0x100000>;
108 reg = <0x200000 0x80000>;
114 reg = <0x280000 0x140000>;
120 reg = <0x3c0000 0x40000>;
126 reg = <0x400000 0x7c00000>;
133 i2c_0_pins: i2c_0_pinmux {
135 function = "blsp_i2c0";
136 pins = "gpio20", "gpio21";
137 drive-strength = <16>;
142 serial_pins: serial_pinmux {
144 pins = "gpio16", "gpio17";
145 function = "blsp_uart0";
150 nand_pins: nand_pins {
152 pins = "gpio52", "gpio53", "gpio58",
159 pins = "gpio54", "gpio55", "gpio56",
160 "gpio57", "gpio60", "gpio61",
161 "gpio62", "gpio63", "gpio64",
162 "gpio65", "gpio66", "gpio67",
170 gpios = <44 GPIO_ACTIVE_HIGH>,
171 <46 GPIO_ACTIVE_HIGH>;
174 line-name = "enable external PA output-high";
178 gpios = <45 GPIO_ACTIVE_HIGH>,
179 <47 GPIO_ACTIVE_HIGH>;
182 line-name = "enable external PA output-low";
200 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
205 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
206 ieee80211-freq-limit = <5470000 5875000>;
211 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
212 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
215 reg = <0x00000000 0 0 0 0>;
216 #address-cells = <3>;
221 compatible = "qcom,ath10k";
223 reg = <0x00010000 0 0 0 0>;
224 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
225 ieee80211-freq-limit = <5170000 5350000>;
231 /* Bluetooth module attached via USB */
236 pinctrl-0 = <&i2c_0_pins>;
237 pinctrl-names = "default";
241 /* 9-channel RGB LED controller */
242 compatible = "national,lp5523";
244 clock-mode = /bits/ 8 <1>;
245 #address-cells = <1>;
249 * There is only one single extremely bright RGB-LED.
250 * The RGB-color channels are running in parallel to
251 * increase the current delivery capabilities beyond
252 * what a single PWM-output of the controller can do.
256 chan-name = "blue-0";
257 led-cur = /bits/ 8 <0xfa>;
258 max-cur = /bits/ 8 <0xff>;
260 color = <LED_COLOR_ID_BLUE>;
261 function-enumerator = <0>;
265 chan-name = "blue-1";
266 led-cur = /bits/ 8 <0xfa>;
267 max-cur = /bits/ 8 <0xff>;
269 color = <LED_COLOR_ID_BLUE>;
270 function-enumerator = <1>;
274 chan-name = "blue-2";
275 led-cur = /bits/ 8 <0xfa>;
276 max-cur = /bits/ 8 <0xff>;
278 color = <LED_COLOR_ID_BLUE>;
279 function-enumerator = <2>;
283 chan-name = "green-0";
284 led-cur = /bits/ 8 <0xfa>;
285 max-cur = /bits/ 8 <0xff>;
287 color = <LED_COLOR_ID_GREEN>;
288 function-enumerator = <0>;
292 chan-name = "green-1";
293 led-cur = /bits/ 8 <0xfa>;
294 max-cur = /bits/ 8 <0xff>;
296 color = <LED_COLOR_ID_GREEN>;
297 function-enumerator = <1>;
301 chan-name = "green-2";
302 led-cur = /bits/ 8 <0xfa>;
303 max-cur = /bits/ 8 <0xff>;
305 color = <LED_COLOR_ID_GREEN>;
306 function-enumerator = <2>;
311 led-cur = /bits/ 8 <0xfa>;
312 max-cur = /bits/ 8 <0xff>;
314 color = <LED_COLOR_ID_RED>;
315 function-enumerator = <0>;
320 led-cur = /bits/ 8 <0xfa>;
321 max-cur = /bits/ 8 <0xff>;
323 color = <LED_COLOR_ID_RED>;
324 function-enumerator = <1>;
329 led-cur = /bits/ 8 <0xfa>;
330 max-cur = /bits/ 8 <0xff>;
332 color = <LED_COLOR_ID_RED>;
333 function-enumerator = <2>;
339 pinctrl-0 = <&serial_pins>;
340 pinctrl-names = "default";