1 /* SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright (c) 2018 Peng Zhang <sd20@qxwlan.com>
7 #include "qcom-ipq4019.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/soc/qcom,tcsr.h>
14 model = "Qxwlan E2600AC";
15 compatible = "qcom,ipq4019";
18 device_type = "memory";
19 reg = <0x80000000 0x10000000>; /* 256MB */
25 pinctrl-0 = <&mdio_pins>;
26 pinctrl-names = "default";
34 compatible = "qcom,tcsr";
35 reg = <0x1949000 0x100>;
36 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
41 compatible = "qcom,tcsr";
42 reg = <0x194b000 0x100>;
43 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
48 compatible = "qcom,tcsr";
49 reg = <0x1953000 0x1000>;
50 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
54 compatible = "qcom,tcsr";
55 reg = <0x1957000 0x100>;
56 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
68 #trigger-source-cells = <0>;
74 pinctrl-0 = <&serial_0_pins>;
75 pinctrl-names = "default";
80 pinctrl-0 = <&serial_1_pins>;
81 pinctrl-names = "default";
85 i2c@78b7000 { /* BLSP1 QUP2 */
86 pinctrl-0 = <&i2c_0_pins>;
87 pinctrl-names = "default";
101 #trigger-source-cells = <0>;
106 #trigger-source-cells = <0>;
128 compatible = "gpio-leds";
131 label = "e2600ac:green:wlan0";
132 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
136 label = "e2600ac:green:wlan1";
137 gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
141 label = "e2600ac:green:usb";
142 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
143 trigger-sources = <&usb2_port1>, <&usb3_port1>, <&usb3_port2>;
144 linux,default-trigger = "usbport";
148 label = "e2600ac:green:ctrl1";
149 gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
153 label = "e2600ac:green:ctrl2";
154 gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
158 label = "e2600ac:green:ctrl3";
159 gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
164 compatible = "gpio-keys";
168 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
169 linux,code = <KEY_RESTART>;
188 i2c_0_pins: i2c-0-pinmux {
190 pins = "gpio20", "gpio21";
191 function = "blsp_i2c0";
196 mdio_pins: mdio_pinmux {
209 serial_0_pins: serial0-pinmux {
211 pins = "gpio16", "gpio17";
212 function = "blsp_uart0";
217 serial_1_pins: serial1_pinmux {
219 pins = "gpio8", "gpio9";
220 function = "blsp_uart1";
225 spi_0_pins: spi_0_pinmux {
227 function = "blsp_spi0";
228 pins = "gpio13", "gpio14", "gpio15";
229 drive-strength = <12>;
235 drive-strength = <2>;
256 qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";
261 qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";