1 // SPDX-License-Identifier: GPL-2.0-or-later 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>
10 led-boot = &led_status_white;
11 led-failsafe = &led_status_red;
12 led-running = &led_status_green;
13 led-upgrade = &led_status_blue;
24 pinctrl-0 = <&mdio_pins>;
25 pinctrl-names = "default";
33 compatible = "qcom,qca-gcnt";
38 compatible = "qcom,tcsr";
39 reg = <0x1949000 0x100>;
40 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
46 compatible = "qcom,tcsr";
47 reg = <0x194b000 0x100>;
48 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
52 compatible = "qcom,tcsr";
53 reg = <0x1953000 0x1000>;
54 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
58 compatible = "qcom,tcsr";
59 reg = <0x1957000 0x100>;
60 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
74 switch_lan_bmp = <0x1c>;
75 switch_wan_bmp = <0x02>;
84 compatible = "gpio-keys";
88 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_RESTART>;
94 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_WPS_BUTTON>;
100 compatible = "gpio-leds";
103 label = "green:power";
104 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
105 default-state = "on";
110 gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
114 led_status_green: led-2 {
115 label = "green:status";
116 gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
119 led_status_red: led-3 {
120 label = "red:status";
121 gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
124 led_status_blue: led-4 {
125 label = "blue:status";
126 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
129 led_status_white: led-5 {
130 label = "white:status";
131 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
143 pinctrl-0 = <&sd_pins>;
144 pinctrl-names = "default";
145 cd-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
146 vqmmc-supply = <&vqmmc>;
154 mdio_pins: mdio_pinmux {
168 serial_pins: serial_pinmux {
170 pins = "gpio16", "gpio17";
171 function = "blsp_uart0";
176 i2c_0_pins: i2c_0_pinmux {
178 function = "blsp_i2c0";
179 pins = "gpio58", "gpio59";
187 pins = "gpio23", "gpio24", "gpio25", "gpio26",
188 "gpio28", "gpio29", "gpio30", "gpio31";
189 drive-strength = <10>;
195 drive-strength = <16>;
201 drive-strength = <10>;
212 pinctrl-0 = <&i2c_0_pins>;
213 pinctrl-names = "default";
218 #address-cells = <1>;
220 compatible = "ti,tlc59108"; /* really is tlc59208f */
226 linux,default-trigger = "default-on";
232 linux,default-trigger = "default-on";
238 linux,default-trigger = "default-on";
244 linux,default-trigger = "default-on";
250 linux,default-trigger = "default-on";
256 linux,default-trigger = "default-on";
262 linux,default-trigger = "default-on";
268 linux,default-trigger = "default-on";
276 pinctrl-0 = <&serial_pins>;
277 pinctrl-names = "default";
289 qcom,phy_mdio_addr = <0>;
296 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
297 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
300 reg = <0x00000000 0 0 0 0>;
301 #address-cells = <3>;
306 compatible = "qcom,ath10k";
308 reg = <0x00010000 0 0 0 0>;
309 ieee80211-freq-limit = <5470000 5875000>;
310 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
318 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
324 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";