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 switch_lan_bmp = <0x2e>;
67 switch_wan_bmp = <0x10>;
76 compatible = "gpio-keys";
80 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_WPS_BUTTON>;
82 linux,input-type = <1>;
87 gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
88 linux,code = <KEY_RESTART>;
89 linux,input-type = <1>;
94 compatible = "gpio-leds";
98 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
102 label = "blue:internet";
103 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
106 label = "white:power";
107 gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
110 label = "white:internet";
111 gpios = <&tlmm 66 GPIO_ACTIVE_LOW>;
117 qcom,phy_mdio_addr = <3>;
118 qcom,poll_required = <1>;
119 qcom,forced_speed = <1000>;
120 qcom,forced_duplex = <1>;
134 pinctrl-0 = <&sd_pins>;
135 pinctrl-names = "default";
136 cd-gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
137 vqmmc-supply = <&vqmmc>;
149 pinctrl-0 = <&spi_0_pins>;
150 pinctrl-names = "default";
152 cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
155 compatible = "jedec,spi-nor";
157 spi-max-frequency = <24000000>;
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
172 reg = <0x40000 0x20000>;
178 reg = <0x60000 0x60000>;
184 reg = <0xc0000 0x10000>;
190 reg = <0xd0000 0x10000>;
196 reg = <0xe0000 0x10000>;
202 reg = <0xf0000 0x80000>;
208 reg = <0x170000 0x10000>;
216 pinctrl-0 = <&spi_1_pins>;
217 pinctrl-names = "default";
221 compatible = "siliconlabs,si3210";
223 spi-max-frequency = <24000000>;
228 pinctrl-0 = <&serial_pins>;
229 pinctrl-names = "default";
234 pinctrl-0 = <&serial_1_pins>;
235 pinctrl-names = "default";
240 serial_pins: serial_pinmux {
242 pins = "gpio16", "gpio17";
243 function = "blsp_uart0";
248 serial_1_pins: serial1_pinmux {
250 pins = "gpio8", "gpio9",
252 function = "blsp_uart1";
257 spi_0_pins: spi_0_pinmux {
259 function = "blsp_spi0";
260 pins = "gpio13", "gpio14", "gpio15";
267 pins = "gpio13", "gpio14", "gpio15";
268 drive-strength = <12>;
273 drive-strength = <2>;
279 spi_1_pins: spi_1_pinmux {
281 pins = "gpio44", "gpio46", "gpio47";
282 function = "blsp_spi1";
315 pins = "gpio23", "gpio24", "gpio25", "gpio26",
316 "gpio29", "gpio30", "gpio31", "gpio32";
317 drive-strength = <10>;
323 drive-strength = <16>;
329 drive-strength = <10>;
338 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
339 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
342 reg = <0x00000000 0 0 0 0>;
343 #address-cells = <3>;
349 compatible = "qcom,ath10k";
350 reg = <0x00010000 0 0 0 0>;
351 qcom,ath10k-calibration-variant = "GL-B2200";
358 qcom,ath10k-calibration-variant = "GL-B2200";
363 qcom,ath10k-calibration-variant = "GL-B2200";