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