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 */
29 pinctrl-0 = <&mdio_pins>;
30 pinctrl-names = "default";
38 compatible = "qcom,tcsr";
39 reg = <0x1949000 0x100>;
40 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
45 compatible = "qcom,tcsr";
46 reg = <0x194b000 0x100>;
47 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>;
72 #trigger-source-cells = <0>;
78 pinctrl-0 = <&serial_0_pins>;
79 pinctrl-names = "default";
84 pinctrl-0 = <&serial_1_pins>;
85 pinctrl-names = "default";
89 i2c@78b7000 { /* BLSP1 QUP2 */
90 pinctrl-0 = <&i2c_0_pins>;
91 pinctrl-names = "default";
100 #address-cells = <1>;
105 #trigger-source-cells = <0>;
110 #trigger-source-cells = <0>;
132 compatible = "gpio-leds";
135 label = "e2600ac:green:wlan0";
136 gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
140 label = "e2600ac:green:wlan1";
141 gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
145 label = "e2600ac:green:usb";
146 gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
147 trigger-sources = <&usb2_port1>, <&usb3_port1>, <&usb3_port2>;
148 linux,default-trigger = "usbport";
152 label = "e2600ac:green:ctrl1";
153 gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
157 label = "e2600ac:green:ctrl2";
158 gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
162 label = "e2600ac:green:ctrl3";
163 gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
168 compatible = "gpio-keys";
172 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
173 linux,code = <KEY_RESTART>;
192 i2c_0_pins: i2c-0-pinmux {
194 pins = "gpio20", "gpio21";
195 function = "blsp_i2c0";
200 mdio_pins: mdio_pinmux {
213 serial_0_pins: serial0-pinmux {
215 pins = "gpio16", "gpio17";
216 function = "blsp_uart0";
221 serial_1_pins: serial1_pinmux {
223 pins = "gpio8", "gpio9";
224 function = "blsp_uart1";
229 spi_0_pins: spi_0_pinmux {
231 function = "blsp_spi0";
232 pins = "gpio13", "gpio14", "gpio15";
233 drive-strength = <12>;
239 drive-strength = <2>;
260 qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";
265 qcom,ath10k-calibration-variant = "Qxwlan-E2600AC";