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;
23 compatible = "qcom,tcsr";
24 reg = <0x1949000 0x100>;
25 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
29 compatible = "qcom,tcsr";
30 reg = <0x1953000 0x1000>;
31 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
35 compatible = "qcom,tcsr";
36 reg = <0x1957000 0x100>;
37 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
42 compatible = "gpio-keys";
46 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
71 pinctrl-0 = <&nand_pins>;
72 pinctrl-names = "default";
77 compatible = "fixed-partitions";
89 reg = <0x80000 0x80000>;
95 reg = <0x100000 0x100000>;
101 reg = <0x200000 0x80000>;
107 reg = <0x280000 0x140000>;
113 reg = <0x3c0000 0x40000>;
119 reg = <0x400000 0x7c00000>;
126 i2c_0_pins: i2c_0_pinmux {
128 function = "blsp_i2c0";
129 pins = "gpio20", "gpio21";
130 drive-strength = <16>;
135 serial_pins: serial_pinmux {
137 pins = "gpio16", "gpio17";
138 function = "blsp_uart0";
143 nand_pins: nand_pins {
145 pins = "gpio52", "gpio53", "gpio58",
152 pins = "gpio54", "gpio55", "gpio56",
153 "gpio57", "gpio60", "gpio61",
154 "gpio62", "gpio63", "gpio64",
155 "gpio65", "gpio66", "gpio67",
163 gpios = <44 GPIO_ACTIVE_HIGH>,
164 <46 GPIO_ACTIVE_HIGH>;
167 line-name = "enable external PA output-high";
171 gpios = <45 GPIO_ACTIVE_HIGH>,
172 <47 GPIO_ACTIVE_HIGH>;
175 line-name = "enable external PA output-low";
193 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
198 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
199 ieee80211-freq-limit = <5470000 5875000>;
204 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
205 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
208 reg = <0x00000000 0 0 0 0>;
209 #address-cells = <3>;
214 compatible = "qcom,ath10k";
216 reg = <0x00010000 0 0 0 0>;
217 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
218 ieee80211-freq-limit = <5170000 5350000>;
224 /* Bluetooth module attached via USB */
233 pinctrl-0 = <&i2c_0_pins>;
234 pinctrl-names = "default";
238 /* 9-channel RGB LED controller */
239 compatible = "national,lp5523";
241 clock-mode = /bits/ 8 <1>;
242 #address-cells = <1>;
246 * There is only one single extremely bright RGB-LED.
247 * The RGB-color channels are running in parallel to
248 * increase the current delivery capabilities beyond
249 * what a single PWM-output of the controller can do.
253 chan-name = "blue-0";
254 led-cur = /bits/ 8 <0xfa>;
255 max-cur = /bits/ 8 <0xff>;
257 color = <LED_COLOR_ID_BLUE>;
258 function-enumerator = <0>;
262 chan-name = "blue-1";
263 led-cur = /bits/ 8 <0xfa>;
264 max-cur = /bits/ 8 <0xff>;
266 color = <LED_COLOR_ID_BLUE>;
267 function-enumerator = <1>;
271 chan-name = "blue-2";
272 led-cur = /bits/ 8 <0xfa>;
273 max-cur = /bits/ 8 <0xff>;
275 color = <LED_COLOR_ID_BLUE>;
276 function-enumerator = <2>;
280 chan-name = "green-0";
281 led-cur = /bits/ 8 <0xfa>;
282 max-cur = /bits/ 8 <0xff>;
284 color = <LED_COLOR_ID_GREEN>;
285 function-enumerator = <0>;
289 chan-name = "green-1";
290 led-cur = /bits/ 8 <0xfa>;
291 max-cur = /bits/ 8 <0xff>;
293 color = <LED_COLOR_ID_GREEN>;
294 function-enumerator = <1>;
298 chan-name = "green-2";
299 led-cur = /bits/ 8 <0xfa>;
300 max-cur = /bits/ 8 <0xff>;
302 color = <LED_COLOR_ID_GREEN>;
303 function-enumerator = <2>;
308 led-cur = /bits/ 8 <0xfa>;
309 max-cur = /bits/ 8 <0xff>;
311 color = <LED_COLOR_ID_RED>;
312 function-enumerator = <0>;
317 led-cur = /bits/ 8 <0xfa>;
318 max-cur = /bits/ 8 <0xff>;
320 color = <LED_COLOR_ID_RED>;
321 function-enumerator = <1>;
326 led-cur = /bits/ 8 <0xfa>;
327 max-cur = /bits/ 8 <0xff>;
329 color = <LED_COLOR_ID_RED>;
330 function-enumerator = <2>;
336 pinctrl-0 = <&serial_pins>;
337 pinctrl-names = "default";