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;
26 pinctrl-0 = <&mdio_pins>;
27 pinctrl-names = "default";
31 compatible = "qcom,qca-gcnt";
36 compatible = "qcom,tcsr";
37 reg = <0x1949000 0x100>;
38 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
44 compatible = "qcom,tcsr";
45 reg = <0x194b000 0x100>;
46 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
50 compatible = "qcom,tcsr";
51 reg = <0x1953000 0x1000>;
52 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
56 compatible = "qcom,tcsr";
57 reg = <0x1957000 0x100>;
58 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
71 compatible = "gpio-keys";
75 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_RESTART>;
81 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_WPS_BUTTON>;
87 compatible = "gpio-leds";
90 function = LED_FUNCTION_POWER;
91 color = <LED_COLOR_ID_GREEN>;
92 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
97 function = LED_FUNCTION_POWER;
98 color = <LED_COLOR_ID_RED>;
99 gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
103 led_status_green: led-2 {
104 function = LED_FUNCTION_STATUS;
105 color = <LED_COLOR_ID_GREEN>;
106 gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
109 led_status_red: led-3 {
110 function = LED_FUNCTION_STATUS;
111 color = <LED_COLOR_ID_RED>;
112 gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
115 led_status_blue: led-4 {
116 function = LED_FUNCTION_STATUS;
117 color = <LED_COLOR_ID_BLUE>;
118 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
121 led_status_white: led-5 {
122 function = LED_FUNCTION_STATUS;
123 color = <LED_COLOR_ID_WHITE>;
124 gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
136 pinctrl-0 = <&sd_pins>;
137 pinctrl-names = "default";
138 cd-gpios = <&tlmm 22 GPIO_ACTIVE_LOW>;
139 vqmmc-supply = <&vqmmc>;
147 mdio_pins: mdio_pinmux {
161 serial_pins: serial_pinmux {
163 pins = "gpio16", "gpio17";
164 function = "blsp_uart0";
169 i2c_0_pins: i2c_0_pinmux {
171 function = "blsp_i2c0";
172 pins = "gpio58", "gpio59";
180 pins = "gpio23", "gpio24", "gpio25", "gpio26",
181 "gpio28", "gpio29", "gpio30", "gpio31";
182 drive-strength = <10>;
188 drive-strength = <16>;
194 drive-strength = <10>;
205 pinctrl-0 = <&i2c_0_pins>;
206 pinctrl-names = "default";
211 #address-cells = <1>;
213 compatible = "ti,tlc59108"; /* really is tlc59208f */
219 linux,default-trigger = "default-on";
225 linux,default-trigger = "default-on";
231 linux,default-trigger = "default-on";
237 linux,default-trigger = "default-on";
243 linux,default-trigger = "default-on";
249 linux,default-trigger = "default-on";
255 linux,default-trigger = "default-on";
261 linux,default-trigger = "default-on";
269 pinctrl-0 = <&serial_pins>;
270 pinctrl-names = "default";
316 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
317 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
320 reg = <0x00000000 0 0 0 0>;
321 #address-cells = <3>;
326 compatible = "qcom,ath10k";
328 reg = <0x00010000 0 0 0 0>;
329 ieee80211-freq-limit = <5470000 5875000>;
330 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
338 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
344 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";