1 // SPDX-License-Identifier: GPL-2.0-only 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 = "GL.iNet GL-B2200";
10 compatible = "glinet,gl-b2200", "qcom,ipq4019";
13 device_type = "memory";
14 reg = <0x80000000 0x10000000>;
18 bootargs-append = " root=/dev/mmcblk0p2 rw rootwait clk_ignore_unused";
31 compatible = "qcom,tcsr";
32 reg = <0x1949000 0x100>;
33 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
38 compatible = "qcom,tcsr";
39 reg = <0x194b000 0x100>;
40 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
45 compatible = "qcom,tcsr";
46 reg = <0x1953000 0x1000>;
47 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
51 compatible = "qcom,tcsr";
52 reg = <0x1957000 0x100>;
53 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
62 compatible = "gpio-keys";
66 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_WPS_BUTTON>;
68 linux,input-type = <1>;
73 gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
74 linux,code = <KEY_RESTART>;
75 linux,input-type = <1>;
80 compatible = "gpio-leds";
84 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
88 label = "blue:internet";
89 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
92 label = "white:power";
93 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
96 label = "white:internet";
97 gpios = <&tlmm 66 GPIO_ACTIVE_LOW>;
108 pinctrl-0 = <&sd_pins>;
109 pinctrl-names = "default";
110 cd-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
111 vqmmc-supply = <&vqmmc>;
123 pinctrl-0 = <&spi_0_pins>;
124 pinctrl-names = "default";
126 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
129 compatible = "jedec,spi-nor";
131 spi-max-frequency = <24000000>;
134 compatible = "fixed-partitions";
135 #address-cells = <1>;
146 reg = <0x40000 0x20000>;
152 reg = <0x60000 0x60000>;
158 reg = <0xc0000 0x10000>;
164 reg = <0xd0000 0x10000>;
170 reg = <0xe0000 0x10000>;
176 reg = <0xf0000 0x80000>;
182 reg = <0x170000 0x10000>;
184 compatible = "nvmem-cells";
185 #address-cells = <1>;
188 precal_art_1000: precal@1000 {
189 reg = <0x1000 0x2f20>;
192 precal_art_5000: precal@5000 {
193 reg = <0x5000 0x2f20>;
196 precal_art_9000: precal@9000 {
197 reg = <0x9000 0x2f20>;
205 pinctrl-0 = <&spi_1_pins>;
206 pinctrl-names = "default";
210 compatible = "siliconlabs,si3210";
212 spi-max-frequency = <24000000>;
217 pinctrl-0 = <&serial_pins>;
218 pinctrl-names = "default";
223 pinctrl-0 = <&serial_1_pins>;
224 pinctrl-names = "default";
229 serial_pins: serial_pinmux {
231 pins = "gpio16", "gpio17";
232 function = "blsp_uart0";
237 serial_1_pins: serial1_pinmux {
239 pins = "gpio8", "gpio9",
241 function = "blsp_uart1";
246 spi_0_pins: spi_0_pinmux {
248 function = "blsp_spi0";
249 pins = "gpio13", "gpio14", "gpio15";
256 pins = "gpio13", "gpio14", "gpio15";
257 drive-strength = <12>;
262 drive-strength = <2>;
268 spi_1_pins: spi_1_pinmux {
270 pins = "gpio44", "gpio46", "gpio47";
271 function = "blsp_spi1";
304 pins = "gpio23", "gpio24", "gpio25", "gpio26",
305 "gpio29", "gpio30", "gpio31", "gpio32";
306 drive-strength = <10>;
312 drive-strength = <16>;
318 drive-strength = <10>;
327 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
328 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
331 reg = <0x00000000 0 0 0 0>;
332 #address-cells = <3>;
338 /* Bootlog shows this is a 168c:0056 - QCA 9888v2 */
339 compatible = "qcom,ath10k";
340 reg = <0x00010000 0 0 0 0>;
341 nvmem-cell-names = "pre-calibration";
342 nvmem-cells = <&precal_art_9000>;
343 qcom,ath10k-calibration-variant = "GL-B2200";
344 ieee80211-freq-limit = <5450000 5900000>;
351 nvmem-cell-names = "pre-calibration";
352 nvmem-cells = <&precal_art_1000>;
353 qcom,ath10k-calibration-variant = "GL-B2200";
358 nvmem-cell-names = "pre-calibration";
359 nvmem-cells = <&precal_art_5000>;
360 qcom,ath10k-calibration-variant = "GL-B2200";
361 ieee80211-freq-limit = <5100000 5400000>;