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>;
188 compatible = "nvmem-cells";
189 #address-cells = <1>;
192 precal_art_1000: precal@1000 {
193 reg = <0x1000 0x2f20>;
196 precal_art_5000: precal@5000 {
197 reg = <0x5000 0x2f20>;
200 precal_art_9000: precal@9000 {
201 reg = <0x9000 0x2f20>;
209 pinctrl-0 = <&spi_1_pins>;
210 pinctrl-names = "default";
214 compatible = "silabs,si3210";
216 spi-max-frequency = <24000000>;
221 pinctrl-0 = <&serial_pins>;
222 pinctrl-names = "default";
227 pinctrl-0 = <&serial_1_pins>;
228 pinctrl-names = "default";
233 serial_pins: serial_pinmux {
235 pins = "gpio16", "gpio17";
236 function = "blsp_uart0";
241 serial_1_pins: serial1_pinmux {
243 pins = "gpio8", "gpio9",
245 function = "blsp_uart1";
250 spi_0_pins: spi_0_pinmux {
252 function = "blsp_spi0";
253 pins = "gpio13", "gpio14", "gpio15";
260 pins = "gpio13", "gpio14", "gpio15";
261 drive-strength = <12>;
266 drive-strength = <2>;
272 spi_1_pins: spi_1_pinmux {
274 pins = "gpio44", "gpio46", "gpio47";
275 function = "blsp_spi1";
308 pins = "gpio23", "gpio24", "gpio25", "gpio26",
309 "gpio29", "gpio30", "gpio31", "gpio32";
310 drive-strength = <10>;
316 drive-strength = <16>;
322 drive-strength = <10>;
331 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
332 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
335 reg = <0x00000000 0 0 0 0>;
336 #address-cells = <3>;
342 /* Bootlog shows this is a 168c:0056 - QCA 9888v2 */
343 compatible = "qcom,ath10k";
344 reg = <0x00010000 0 0 0 0>;
345 nvmem-cell-names = "pre-calibration";
346 nvmem-cells = <&precal_art_9000>;
347 qcom,ath10k-calibration-variant = "GL-B2200";
348 ieee80211-freq-limit = <5450000 5900000>;
375 nvmem-cell-names = "pre-calibration";
376 nvmem-cells = <&precal_art_1000>;
377 qcom,ath10k-calibration-variant = "GL-B2200";
382 nvmem-cell-names = "pre-calibration";
383 nvmem-cells = <&precal_art_5000>;
384 qcom,ath10k-calibration-variant = "GL-B2200";
385 ieee80211-freq-limit = <5100000 5400000>;