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";
197 ieee80211-freq-limit = <5470000 5875000>;
202 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
203 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
206 reg = <0x00000000 0 0 0 0>;
207 #address-cells = <3>;
212 compatible = "qcom,ath10k";
214 reg = <0x00010000 0 0 0 0>;
215 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
216 ieee80211-freq-limit = <5170000 5350000>;
222 /* Bluetooth module attached via USB */
227 pinctrl-0 = <&i2c_0_pins>;
228 pinctrl-names = "default";
232 /* 9-channel RGB LED controller */
233 compatible = "national,lp5523";
239 label = "map-ac2200:blue:chan0";
246 label = "map-ac2200:blue:chan1";
253 label = "map-ac2200:blue:chan2";
259 chan-name = "green0";
260 label = "map-ac2200:green:chan0";
266 chan-name = "green1";
267 label = "map-ac2200:green:chan1";
273 chan-name = "green2";
274 label = "map-ac2200:green:chan2";
281 label = "map-ac2200:red:chan0";
288 label = "map-ac2200:red:chan1";
295 label = "map-ac2200:red:chan2";
303 pinctrl-0 = <&serial_pins>;
304 pinctrl-names = "default";