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";
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
42 compatible = "qcom,tcsr";
43 reg = <0x194b000 0x100>;
44 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
49 compatible = "qcom,tcsr";
50 reg = <0x1953000 0x1000>;
51 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
55 compatible = "qcom,tcsr";
56 reg = <0x1957000 0x100>;
57 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
66 compatible = "gpio-keys";
70 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
71 linux,code = <KEY_WPS_BUTTON>;
72 linux,input-type = <1>;
77 gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
78 linux,code = <KEY_RESTART>;
79 linux,input-type = <1>;
84 compatible = "gpio-leds";
88 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
92 label = "blue:internet";
93 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
96 label = "white:power";
97 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
100 label = "white:internet";
101 gpios = <&tlmm 66 GPIO_ACTIVE_LOW>;
112 pinctrl-0 = <&sd_pins>;
113 pinctrl-names = "default";
114 cd-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
115 vqmmc-supply = <&vqmmc>;
127 pinctrl-0 = <&spi_0_pins>;
128 pinctrl-names = "default";
130 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
133 compatible = "jedec,spi-nor";
135 spi-max-frequency = <24000000>;
138 compatible = "fixed-partitions";
139 #address-cells = <1>;
150 reg = <0x40000 0x20000>;
156 reg = <0x60000 0x60000>;
162 reg = <0xc0000 0x10000>;
168 reg = <0xd0000 0x10000>;
174 reg = <0xe0000 0x10000>;
180 reg = <0xf0000 0x80000>;
186 reg = <0x170000 0x10000>;
190 compatible = "fixed-layout";
191 #address-cells = <1>;
194 precal_art_1000: precal@1000 {
195 reg = <0x1000 0x2f20>;
198 precal_art_5000: precal@5000 {
199 reg = <0x5000 0x2f20>;
202 precal_art_9000: precal@9000 {
203 reg = <0x9000 0x2f20>;
212 pinctrl-0 = <&spi_1_pins>;
213 pinctrl-names = "default";
217 compatible = "silabs,si3210";
219 spi-max-frequency = <24000000>;
224 pinctrl-0 = <&serial_pins>;
225 pinctrl-names = "default";
230 pinctrl-0 = <&serial_1_pins>;
231 pinctrl-names = "default";
236 serial_pins: serial_pinmux {
238 pins = "gpio16", "gpio17";
239 function = "blsp_uart0";
244 serial_1_pins: serial1_pinmux {
246 pins = "gpio8", "gpio9",
248 function = "blsp_uart1";
253 spi_0_pins: spi_0_pinmux {
255 function = "blsp_spi0";
256 pins = "gpio13", "gpio14", "gpio15";
263 pins = "gpio13", "gpio14", "gpio15";
264 drive-strength = <12>;
269 drive-strength = <2>;
275 spi_1_pins: spi_1_pinmux {
277 pins = "gpio44", "gpio46", "gpio47";
278 function = "blsp_spi1";
311 pins = "gpio23", "gpio24", "gpio25", "gpio26",
312 "gpio29", "gpio30", "gpio31", "gpio32";
313 drive-strength = <10>;
319 drive-strength = <16>;
325 drive-strength = <10>;
334 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
335 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
338 reg = <0x00000000 0 0 0 0>;
339 #address-cells = <3>;
345 /* Bootlog shows this is a 168c:0056 - QCA 9888v2 */
346 compatible = "qcom,ath10k";
347 reg = <0x00010000 0 0 0 0>;
348 nvmem-cell-names = "pre-calibration";
349 nvmem-cells = <&precal_art_9000>;
350 qcom,ath10k-calibration-variant = "GL-B2200";
351 ieee80211-freq-limit = <5450000 5900000>;
378 nvmem-cell-names = "pre-calibration";
379 nvmem-cells = <&precal_art_1000>;
380 qcom,ath10k-calibration-variant = "GL-B2200";
385 nvmem-cell-names = "pre-calibration";
386 nvmem-cells = <&precal_art_5000>;
387 qcom,ath10k-calibration-variant = "GL-B2200";
388 ieee80211-freq-limit = <5100000 5400000>;