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>;
58 compatible = "gpio-keys";
62 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_WPS_BUTTON>;
75 pinctrl-0 = <&nand_pins>;
76 pinctrl-names = "default";
81 compatible = "fixed-partitions";
93 reg = <0x80000 0x80000>;
99 reg = <0x100000 0x100000>;
105 reg = <0x200000 0x80000>;
111 reg = <0x280000 0x140000>;
117 reg = <0x3c0000 0x40000>;
123 reg = <0x400000 0x7c00000>;
130 i2c_0_pins: i2c_0_pinmux {
132 function = "blsp_i2c0";
133 pins = "gpio20", "gpio21";
134 drive-strength = <16>;
139 serial_pins: serial_pinmux {
141 pins = "gpio16", "gpio17";
142 function = "blsp_uart0";
147 nand_pins: nand_pins {
149 pins = "gpio52", "gpio53", "gpio58",
156 pins = "gpio54", "gpio55", "gpio56",
157 "gpio57", "gpio60", "gpio61",
158 "gpio62", "gpio63", "gpio64",
159 "gpio65", "gpio66", "gpio67",
167 gpios = <44 GPIO_ACTIVE_HIGH>,
168 <46 GPIO_ACTIVE_HIGH>;
171 line-name = "enable external PA output-high";
175 gpios = <45 GPIO_ACTIVE_HIGH>,
176 <47 GPIO_ACTIVE_HIGH>;
179 line-name = "enable external PA output-low";
197 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
202 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
203 ieee80211-freq-limit = <5470000 5875000>;
208 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
209 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
212 reg = <0x00000000 0 0 0 0>;
213 #address-cells = <3>;
218 compatible = "qcom,ath10k";
220 reg = <0x00010000 0 0 0 0>;
221 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
222 ieee80211-freq-limit = <5170000 5350000>;
228 /* 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";