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/leds/common.h>
7 #include <dt-bindings/soc/qcom,tcsr.h>
11 led-boot = &led_status_white;
12 led-failsafe = &led_status_red;
13 led-running = &led_status_green;
14 led-upgrade = &led_status_blue;
15 label-mac-device = &gmac;
20 compatible = "qcom,qca-gcnt";
25 compatible = "qcom,tcsr";
26 reg = <0x1949000 0x100>;
27 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
33 compatible = "qcom,tcsr";
34 reg = <0x194b000 0x100>;
35 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
39 compatible = "qcom,tcsr";
40 reg = <0x1953000 0x1000>;
41 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
45 compatible = "qcom,tcsr";
46 reg = <0x1957000 0x100>;
47 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
52 compatible = "gpio-keys";
56 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
68 compatible = "gpio-leds";
71 function = LED_FUNCTION_POWER;
72 color = <LED_COLOR_ID_GREEN>;
73 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
78 function = LED_FUNCTION_POWER;
79 color = <LED_COLOR_ID_RED>;
80 gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
84 led_status_green: led-2 {
85 function = LED_FUNCTION_STATUS;
86 color = <LED_COLOR_ID_GREEN>;
87 gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
90 led_status_red: led-3 {
91 function = LED_FUNCTION_STATUS;
92 color = <LED_COLOR_ID_RED>;
93 gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
96 led_status_blue: led-4 {
97 function = LED_FUNCTION_STATUS;
98 color = <LED_COLOR_ID_BLUE>;
99 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
102 led_status_white: led-5 {
103 function = LED_FUNCTION_STATUS;
104 color = <LED_COLOR_ID_WHITE>;
105 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
129 pinctrl-0 = <&sd_pins>;
130 pinctrl-names = "default";
131 cd-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
132 vqmmc-supply = <&vqmmc>;
140 mdio_pins: mdio_pinmux {
154 serial_pins: serial_pinmux {
156 pins = "gpio16", "gpio17";
157 function = "blsp_uart0";
162 i2c_0_pins: i2c_0_pinmux {
164 function = "blsp_i2c0";
165 pins = "gpio58", "gpio59";
173 pins = "gpio23", "gpio24", "gpio25", "gpio26",
174 "gpio28", "gpio29", "gpio30", "gpio31";
175 drive-strength = <10>;
181 drive-strength = <16>;
187 drive-strength = <10>;
198 pinctrl-0 = <&i2c_0_pins>;
199 pinctrl-names = "default";
204 #address-cells = <1>;
206 compatible = "ti,tlc59108"; /* really is tlc59208f */
212 linux,default-trigger = "default-on";
218 linux,default-trigger = "default-on";
224 linux,default-trigger = "default-on";
230 linux,default-trigger = "default-on";
236 linux,default-trigger = "default-on";
242 linux,default-trigger = "default-on";
248 linux,default-trigger = "default-on";
254 linux,default-trigger = "default-on";
262 pinctrl-0 = <&serial_pins>;
263 pinctrl-names = "default";
272 pinctrl-0 = <&mdio_pins>;
273 pinctrl-names = "default";
315 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
316 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
319 reg = <0x00000000 0 0 0 0>;
320 #address-cells = <3>;
325 compatible = "qcom,ath10k";
327 reg = <0x00010000 0 0 0 0>;
328 ieee80211-freq-limit = <5470000 5875000>;
329 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
337 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
343 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";