1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
4 #include "qcom-ipq4019.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/soc/qcom,tcsr.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>;
69 compatible = "gpio-keys";
72 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
78 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_WPS_BUTTON>;
85 pinctrl-0 = <&nand_pins>;
86 pinctrl-names = "default";
91 compatible = "fixed-partitions";
103 reg = <0x80000 0x80000>;
109 reg = <0x100000 0x100000>;
115 reg = <0x200000 0x80000>;
121 reg = <0x280000 0x140000>;
127 reg = <0x3c0000 0x40000>;
133 reg = <0x400000 0x7c00000>;
140 i2c_0_pins: i2c_0_pinmux {
142 function = "blsp_i2c0";
143 pins = "gpio20", "gpio21";
144 drive-strength = <16>;
149 serial_pins: serial_pinmux {
151 pins = "gpio16", "gpio17";
152 function = "blsp_uart0";
157 nand_pins: nand_pins {
159 pins = "gpio52", "gpio53", "gpio58",
166 pins = "gpio54", "gpio55", "gpio56",
167 "gpio57", "gpio60", "gpio61",
168 "gpio62", "gpio63", "gpio64",
169 "gpio65", "gpio66", "gpio67",
191 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
196 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
201 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
202 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
205 reg = <0x00000000 0 0 0 0>;
206 #address-cells = <3>;
211 compatible = "qcom,ath10k";
213 reg = <0x00010000 0 0 0 0>;
214 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
220 /* Bluetooth module attached via USB */
225 pinctrl-0 = <&i2c_0_pins>;
226 pinctrl-names = "default";
230 /* 9-channel RGB LED controller */
231 compatible = "national,lp5523";
237 label = "map-ac2200:blue:chan0";
244 label = "map-ac2200:blue:chan1";
251 label = "map-ac2200:blue:chan2";
257 chan-name = "green0";
258 label = "map-ac2200:green:chan0";
264 chan-name = "green1";
265 label = "map-ac2200:green:chan1";
271 chan-name = "green2";
272 label = "map-ac2200:green:chan2";
279 label = "map-ac2200:red:chan0";
286 label = "map-ac2200:red:chan1";
293 label = "map-ac2200:red:chan2";
301 pinctrl-0 = <&serial_pins>;
302 pinctrl-names = "default";