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";
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";
225 /* Bluetooth module attached via USB */
230 pinctrl-0 = <&i2c_0_pins>;
231 pinctrl-names = "default";
235 /* 9-channel RGB LED controller */
236 compatible = "national,lp5523";
242 label = "map-ac2200:blue:chan0";
249 label = "map-ac2200:blue:chan1";
256 label = "map-ac2200:blue:chan2";
262 chan-name = "green0";
263 label = "map-ac2200:green:chan0";
269 chan-name = "green1";
270 label = "map-ac2200:green:chan1";
276 chan-name = "green2";
277 label = "map-ac2200:green:chan2";
284 label = "map-ac2200:red:chan0";
291 label = "map-ac2200:red:chan1";
298 label = "map-ac2200:red:chan2";
306 pinctrl-0 = <&serial_pins>;
307 pinctrl-names = "default";