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;
14 label-mac-device = &gmac;
25 pinctrl-0 = <&mdio_pins>;
26 pinctrl-names = "default";
30 compatible = "qcom,qca-gcnt";
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
43 compatible = "qcom,tcsr";
44 reg = <0x194b000 0x100>;
45 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>;
70 compatible = "gpio-keys";
74 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
75 linux,code = <KEY_RESTART>;
80 gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_WPS_BUTTON>;
86 compatible = "gpio-leds";
89 label = "green:power";
90 gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
96 gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
100 led_status_green: led-2 {
101 label = "green:status";
102 gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
105 led_status_red: led-3 {
106 label = "red:status";
107 gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
110 led_status_blue: led-4 {
111 label = "blue:status";
112 gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
115 led_status_white: led-5 {
116 label = "white:status";
117 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";
309 perst-gpio = <&tlmm 38 GPIO_ACTIVE_LOW>;
310 wake-gpio = <&tlmm 50 GPIO_ACTIVE_LOW>;
313 reg = <0x00000000 0 0 0 0>;
314 #address-cells = <3>;
319 compatible = "qcom,ath10k";
321 reg = <0x00010000 0 0 0 0>;
322 ieee80211-freq-limit = <5470000 5875000>;
323 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
331 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";
337 qcom,ath10k-calibration-variant = "Netgear-Orbi-Pro-SRK60";