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>
9 model = "ASUS Lyra MAP-AC2200";
10 compatible = "asus,map-ac2200";
13 led-boot = &led_blue0;
14 led-failsafe = &led_red0;
15 led-running = &led_blue0;
16 led-upgrade = &led_red0;
33 compatible = "qcom,tcsr";
34 reg = <0x1949000 0x100>;
35 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
72 compatible = "gpio-keys";
76 gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_RESTART>;
82 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
89 pinctrl-0 = <&nand_pins>;
90 pinctrl-names = "default";
95 compatible = "fixed-partitions";
107 reg = <0x80000 0x80000>;
113 reg = <0x100000 0x100000>;
119 reg = <0x200000 0x80000>;
125 reg = <0x280000 0x140000>;
131 reg = <0x3c0000 0x40000>;
137 reg = <0x400000 0x7c00000>;
144 i2c_0_pins: i2c_0_pinmux {
146 function = "blsp_i2c0";
147 pins = "gpio20", "gpio21";
148 drive-strength = <16>;
153 serial_pins: serial_pinmux {
155 pins = "gpio16", "gpio17";
156 function = "blsp_uart0";
161 nand_pins: nand_pins {
163 pins = "gpio52", "gpio53", "gpio58",
170 pins = "gpio54", "gpio55", "gpio56",
171 "gpio57", "gpio60", "gpio61",
172 "gpio62", "gpio63", "gpio64",
173 "gpio65", "gpio66", "gpio67",
195 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
200 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
201 ieee80211-freq-limit = <5470000 5875000>;
206 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
207 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
210 reg = <0x00000000 0 0 0 0>;
211 #address-cells = <3>;
216 compatible = "qcom,ath10k";
218 reg = <0x00010000 0 0 0 0>;
219 qcom,ath10k-calibration-variant = "ASUS-MAP-AC2200";
220 ieee80211-freq-limit = <5170000 5350000>;
226 /* Bluetooth module attached via USB */
231 pinctrl-0 = <&i2c_0_pins>;
232 pinctrl-names = "default";
236 /* 9-channel RGB LED controller */
237 compatible = "national,lp5523";
243 label = "map-ac2200:blue:chan0";
250 label = "map-ac2200:blue:chan1";
257 label = "map-ac2200:blue:chan2";
263 chan-name = "green0";
264 label = "map-ac2200:green:chan0";
270 chan-name = "green1";
271 label = "map-ac2200:green:chan1";
277 chan-name = "green2";
278 label = "map-ac2200:green:chan2";
285 label = "map-ac2200:red:chan0";
292 label = "map-ac2200:red:chan1";
299 label = "map-ac2200:red:chan2";
307 pinctrl-0 = <&serial_pins>;
308 pinctrl-names = "default";