ipq4019: fix even more wrong reference to USB node
[openwrt/openwrt.git] / target / linux / ipq40xx / files-6.6 / arch / arm / boot / dts / qcom / qcom-ipq4019-x1pro.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
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>
8
9 / {
10 compatible = "tel,x1pro","qcom,ipq4019";
11 aliases {
12 led-boot = &led_status;
13 led-failsafe = &led_status;
14 led-running = &led_status;
15 led-upgrade = &led_status;
16 serial0 = &blsp1_uart1;
17 serial1 = &blsp1_uart2;
18 };
19
20 soc {
21
22 rng@22000 {
23 status = "okay";
24 };
25
26 mdio@90000 {
27 status = "okay";
28 pinctrl-0 = <&mdio_pins>;
29 pinctrl-names = "default";
30 reset-gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
31 reset-delay-us = <2000>;
32 };
33
34 tcsr@1949000 {
35 compatible = "qcom,tcsr";
36 reg = <0x1949000 0x100>;
37 qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
38 };
39
40 tcsr@194b000 {
41 compatible = "qcom,tcsr";
42 reg = <0x194b000 0x100>;
43 qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
44 status = "okay";
45 };
46
47 ess_tcsr@1953000 {
48 compatible = "qcom,tcsr";
49 reg = <0x1953000 0x1000>;
50 qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
51 };
52
53 tcsr@1957000 {
54 compatible = "qcom,tcsr";
55 reg = <0x1957000 0x100>;
56 qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
57 };
58
59 watchdog@b017000 {
60 status = "okay";
61 };
62
63 leds {
64 compatible = "gpio-leds";
65 pinctrl-0 = <&led_pins>;
66 pinctrl-names = "default";
67
68 led_status: status {
69 function = LED_FUNCTION_STATUS;
70 color = <LED_COLOR_ID_GREEN>;
71 gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
72 };
73 };
74
75 keys {
76 compatible = "gpio-keys";
77
78 reset {
79 label = "reset";
80 gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_RESTART>;
82 };
83 };
84 };
85 };
86
87 &blsp_dma {
88 status = "okay";
89 };
90
91 &blsp1_uart1 {
92 pinctrl-0 = <&serial_0_pins>;
93 pinctrl-names = "default";
94 status = "okay";
95 };
96
97 &blsp1_uart2 {
98 pinctrl-0 = <&serial_1_pins>;
99 pinctrl-names = "default";
100 status = "okay";
101 };
102
103 &qpic_bam {
104 status = "okay";
105 };
106
107 &tlmm {
108 mdio_pins: mdio_pinmux {
109 mux_1 {
110 pins = "gpio6";
111 function = "mdio";
112 bias-pull-up;
113 };
114 mux_2 {
115 pins = "gpio7";
116 function = "mdc";
117 bias-pull-up;
118 };
119 };
120
121 serial_0_pins: serial0-pinmux {
122 mux {
123 pins = "gpio16", "gpio17";
124 function = "blsp_uart0";
125 bias-disable;
126 };
127 };
128 serial_1_pins: serial1_pinmux {
129 mux {
130 pins = "gpio8", "gpio9";
131 function = "blsp_uart1";
132 bias-disable;
133 };
134 };
135
136 spi_0_pins: spi_0_pinmux {
137 pinmux {
138 function = "blsp_spi0";
139 pins = "gpio13", "gpio14", "gpio15";
140 drive-strength = <12>;
141 bias-disable;
142 };
143
144 pinmux_cs {
145 function = "gpio";
146 pins = "gpio12";
147 drive-strength = <2>;
148 bias-disable;
149 output-high;
150 };
151 };
152
153 led_pins: led_pinmux {
154 mux {
155 function = "gpio";
156 pins = "gpio68";
157 bias-disabled;
158 output-low;
159 };
160 };
161 };
162
163 &usb3_ss_phy {
164 status = "okay";
165 };
166
167 &usb3_hs_phy {
168 status = "okay";
169 };
170
171 &usb3 {
172 status = "okay";
173 };
174
175 &usb3_dwc {
176 #address-cells = <1>;
177 #size-cells = <0>;
178
179 port@1 {
180 reg = <1>;
181 #trigger-source-cells = <0>;
182 };
183
184 port@2 {
185 reg = <2>;
186 #trigger-source-cells = <0>;
187 };
188 };
189
190 &usb2_hs_phy {
191 status = "okay";
192 };
193
194 &usb2 {
195 status = "okay";
196
197 usb@6000000 {
198 #address-cells = <1>;
199 #size-cells = <0>;
200
201 port@1 {
202 reg = <1>;
203 #trigger-source-cells = <0>;
204 };
205 };
206 };
207
208 &wifi0 {
209 status = "okay";
210 nvmem-cell-names = "pre-calibration";
211 nvmem-cells = <&precal_art_1000>;
212 };
213
214 &wifi1 {
215 status = "okay";
216 nvmem-cell-names = "pre-calibration";
217 nvmem-cells = <&precal_art_5000>;
218 };