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;
34 compatible = "qcom,tcsr";
35 reg = <0x1949000 0x100>;
36 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
40 compatible = "qcom,tcsr";
41 reg = <0x1953000 0x1000>;
42 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
46 compatible = "qcom,tcsr";
47 reg = <0x1957000 0x100>;
48 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
73 compatible = "gpio-keys";
77 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
83 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
84 linux,code = <KEY_WPS_BUTTON>;
90 pinctrl-0 = <&nand_pins>;
91 pinctrl-names = "default";
96 compatible = "fixed-partitions";
108 reg = <0x80000 0x80000>;
114 reg = <0x100000 0x100000>;
120 reg = <0x200000 0x80000>;
126 reg = <0x280000 0x140000>;
132 reg = <0x3c0000 0x40000>;
138 reg = <0x400000 0x7c00000>;
145 i2c_0_pins: i2c_0_pinmux {
147 function = "blsp_i2c0";
148 pins = "gpio20", "gpio21";
149 drive-strength = <16>;
154 serial_pins: serial_pinmux {
156 pins = "gpio16", "gpio17";
157 function = "blsp_uart0";
162 nand_pins: nand_pins {
164 pins = "gpio52", "gpio53", "gpio58",
171 pins = "gpio54", "gpio55", "gpio56",
172 "gpio57", "gpio60", "gpio61",
173 "gpio62", "gpio63", "gpio64",
174 "gpio65", "gpio66", "gpio67",
196 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
201 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
202 ieee80211-freq-limit = <5470000 5875000>;
207 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
208 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
211 reg = <0x00000000 0 0 0 0>;
212 #address-cells = <3>;
217 compatible = "qcom,ath10k";
219 reg = <0x00010000 0 0 0 0>;
220 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
221 ieee80211-freq-limit = <5170000 5350000>;
227 /* Bluetooth module attached via USB */
232 pinctrl-0 = <&i2c_0_pins>;
233 pinctrl-names = "default";
237 /* 9-channel RGB LED controller */
238 compatible = "national,lp5523";
244 label = "map-ac2200:blue:chan0";
251 label = "map-ac2200:blue:chan1";
258 label = "map-ac2200:blue:chan2";
264 chan-name = "green0";
265 label = "map-ac2200:green:chan0";
271 chan-name = "green1";
272 label = "map-ac2200:green:chan1";
278 chan-name = "green2";
279 label = "map-ac2200:green:chan2";
286 label = "map-ac2200:red:chan0";
293 label = "map-ac2200:red:chan1";
300 label = "map-ac2200:red:chan2";
308 pinctrl-0 = <&serial_pins>;
309 pinctrl-names = "default";