blob: 07694b196fdbedcfb9f0171ebb52fd598589f5cc [file] [log] [blame]
Jagan Teki167efc22020-04-28 15:30:17 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +02002/*
Jagan Teki167efc22020-04-28 15:30:17 +05303 * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +02004 */
5
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +02006#include <dt-bindings/pwm/pwm.h>
7#include "rk3399.dtsi"
Jagan Teki167efc22020-04-28 15:30:17 +05308#include "rk3399-opp.dtsi"
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +02009
10/ {
Philipp Tomsichf592edd2017-06-06 15:42:32 +020011 leds {
12 compatible = "gpio-leds";
13 pinctrl-names = "default";
Jagan Teki167efc22020-04-28 15:30:17 +053014 pinctrl-0 = <&led_pin_module>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +020015
Jagan Teki167efc22020-04-28 15:30:17 +053016 module-led {
Philipp Tomsichf592edd2017-06-06 15:42:32 +020017 label = "module_led";
Klaus Goger366812f2017-11-06 23:02:54 +010018 gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +020019 linux,default-trigger = "heartbeat";
Jagan Teki167efc22020-04-28 15:30:17 +053020 panic-indicator;
Philipp Tomsichf592edd2017-06-06 15:42:32 +020021 };
Jagan Teki167efc22020-04-28 15:30:17 +053022 };
Philipp Tomsichf592edd2017-06-06 15:42:32 +020023
Jagan Teki167efc22020-04-28 15:30:17 +053024 /*
25 * Overwrite the opp-table for CPUB as this board uses a different
26 * regulator (FAN53555) that only allows 10mV steps and therefore
27 * can't reach the operation point target voltages from rk3399-opp.dtsi
28 */
29 /delete-node/ opp-table1;
30 cluster1_opp: opp-table1 {
31 compatible = "operating-points-v2";
32 opp-shared;
33
34 opp00 {
35 opp-hz = /bits/ 64 <408000000>;
36 opp-microvolt = <800000>;
37 clock-latency-ns = <40000>;
38 };
39 opp01 {
40 opp-hz = /bits/ 64 <600000000>;
41 opp-microvolt = <800000>;
42 };
43 opp02 {
44 opp-hz = /bits/ 64 <816000000>;
45 opp-microvolt = <830000>;
46 opp-suspend;
47 };
48 opp03 {
49 opp-hz = /bits/ 64 <1008000000>;
50 opp-microvolt = <880000>;
51 };
52 opp04 {
53 opp-hz = /bits/ 64 <1200000000>;
54 opp-microvolt = <950000>;
55 };
56 opp05 {
57 opp-hz = /bits/ 64 <1416000000>;
58 opp-microvolt = <1030000>;
59 };
60 opp06 {
61 opp-hz = /bits/ 64 <1608000000>;
62 opp-microvolt = <1100000>;
63 };
64 opp07 {
65 opp-hz = /bits/ 64 <1800000000>;
66 opp-microvolt = <1200000>;
67 };
68 opp08 {
69 opp-hz = /bits/ 64 <1992000000>;
70 opp-microvolt = <1230000>;
71 turbo-mode;
Philipp Tomsichf592edd2017-06-06 15:42:32 +020072 };
73 };
74
75 clkin_gmac: external-gmac-clock {
76 compatible = "fixed-clock";
77 clock-frequency = <125000000>;
78 clock-output-names = "clkin_gmac";
79 #clock-cells = <0>;
80 };
81
Jagan Teki167efc22020-04-28 15:30:17 +053082 vcc1v2_phy: vcc1v2-phy {
Philipp Tomsich46c89c82017-09-12 17:30:57 +020083 compatible = "regulator-fixed";
Jagan Teki167efc22020-04-28 15:30:17 +053084 regulator-name = "vcc1v2_phy";
Philipp Tomsich482cf222017-09-29 19:28:01 +020085 regulator-always-on;
86 regulator-boot-on;
Jagan Teki167efc22020-04-28 15:30:17 +053087 regulator-min-microvolt = <1200000>;
88 regulator-max-microvolt = <1200000>;
89 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +020090 };
91
92 vcc3v3_sys: vcc3v3-sys {
93 compatible = "regulator-fixed";
94 regulator-name = "vcc3v3_sys";
95 regulator-always-on;
96 regulator-boot-on;
97 regulator-min-microvolt = <3300000>;
98 regulator-max-microvolt = <3300000>;
Jagan Teki167efc22020-04-28 15:30:17 +053099 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200100 };
101
Jagan Teki167efc22020-04-28 15:30:17 +0530102 vcc5v0_host: vcc5v0-host-regulator {
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200103 compatible = "regulator-fixed";
Jagan Teki167efc22020-04-28 15:30:17 +0530104 gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
105 enable-active-low;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200106 pinctrl-names = "default";
Jagan Teki167efc22020-04-28 15:30:17 +0530107 pinctrl-0 = <&vcc5v0_host_en>;
108 regulator-name = "vcc5v0_host";
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200109 regulator-always-on;
Jagan Teki167efc22020-04-28 15:30:17 +0530110 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200111 };
112
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200113 vcc5v0_sys: vcc5v0-sys {
114 compatible = "regulator-fixed";
115 regulator-name = "vcc5v0_sys";
116 regulator-always-on;
117 regulator-boot-on;
118 regulator-min-microvolt = <5000000>;
119 regulator-max-microvolt = <5000000>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200120 };
Jagan Teki167efc22020-04-28 15:30:17 +0530121};
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200122
Jagan Teki167efc22020-04-28 15:30:17 +0530123&cpu_b0 {
124 cpu-supply = <&vdd_cpu_b>;
125};
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200126
Jagan Teki167efc22020-04-28 15:30:17 +0530127&cpu_b1 {
128 cpu-supply = <&vdd_cpu_b>;
129};
130
131&cpu_l0 {
132 cpu-supply = <&vdd_cpu_l>;
133};
134
135&cpu_l1 {
136 cpu-supply = <&vdd_cpu_l>;
137};
138
139&cpu_l2 {
140 cpu-supply = <&vdd_cpu_l>;
141};
142
143&cpu_l3 {
144 cpu-supply = <&vdd_cpu_l>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200145};
146
147&emmc_phy {
148 status = "okay";
Jagan Teki167efc22020-04-28 15:30:17 +0530149 drive-impedance-ohm = <33>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200150};
151
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200152&gmac {
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200153 assigned-clocks = <&cru SCLK_RMII_SRC>;
154 assigned-clock-parents = <&clkin_gmac>;
Jagan Teki167efc22020-04-28 15:30:17 +0530155 clock_in_out = "input";
156 phy-supply = <&vcc1v2_phy>;
157 phy-mode = "rgmii";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200158 pinctrl-names = "default";
159 pinctrl-0 = <&rgmii_pins>;
Jagan Teki167efc22020-04-28 15:30:17 +0530160 snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
161 snps,reset-active-low;
162 snps,reset-delays-us = <0 10000 50000>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200163 tx_delay = <0x10>;
164 rx_delay = <0x10>;
165 status = "okay";
166};
167
Jagan Teki167efc22020-04-28 15:30:17 +0530168&gpu {
169 mali-supply = <&vdd_gpu>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200170 status = "okay";
171};
172
173&i2c0 {
174 status = "okay";
175 i2c-scl-rising-time-ns = <168>;
176 i2c-scl-falling-time-ns = <4>;
177 clock-frequency = <400000>;
178
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200179 rk808: pmic@1b {
180 compatible = "rockchip,rk808";
181 reg = <0x1b>;
182 interrupt-parent = <&gpio1>;
Jagan Teki167efc22020-04-28 15:30:17 +0530183 interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
184 #clock-cells = <1>;
185 clock-output-names = "xin32k", "rk808-clkout2";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200186 pinctrl-names = "default";
187 pinctrl-0 = <&pmic_int_l>;
188 rockchip,system-power-controller;
189 wakeup-source;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200190
191 vcc1-supply = <&vcc5v0_sys>;
192 vcc2-supply = <&vcc5v0_sys>;
193 vcc3-supply = <&vcc5v0_sys>;
194 vcc4-supply = <&vcc5v0_sys>;
195 vcc6-supply = <&vcc5v0_sys>;
196 vcc7-supply = <&vcc5v0_sys>;
197 vcc8-supply = <&vcc3v3_sys>;
198 vcc9-supply = <&vcc5v0_sys>;
199 vcc10-supply = <&vcc5v0_sys>;
200 vcc11-supply = <&vcc5v0_sys>;
201 vcc12-supply = <&vcc3v3_sys>;
202 vddio-supply = <&vcc1v8_pmu>;
203
204 regulators {
205 vdd_center: DCDC_REG1 {
Jagan Teki167efc22020-04-28 15:30:17 +0530206 regulator-name = "vdd_center";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200207 regulator-min-microvolt = <750000>;
208 regulator-max-microvolt = <1350000>;
209 regulator-ramp-delay = <6001>;
Jagan Teki167efc22020-04-28 15:30:17 +0530210 regulator-always-on;
211 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200212 regulator-state-mem {
213 regulator-off-in-suspend;
214 };
215 };
216
217 vdd_cpu_l: DCDC_REG2 {
Jagan Teki167efc22020-04-28 15:30:17 +0530218 regulator-name = "vdd_cpu_l";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200219 regulator-min-microvolt = <750000>;
220 regulator-max-microvolt = <1350000>;
221 regulator-ramp-delay = <6001>;
Jagan Teki167efc22020-04-28 15:30:17 +0530222 regulator-always-on;
223 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200224 regulator-state-mem {
225 regulator-off-in-suspend;
226 };
227 };
228
229 vcc_ddr: DCDC_REG3 {
Jagan Teki167efc22020-04-28 15:30:17 +0530230 regulator-name = "vcc_ddr";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200231 regulator-always-on;
232 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200233 regulator-state-mem {
234 regulator-on-in-suspend;
235 };
236 };
237
238 vcc_1v8: DCDC_REG4 {
Jagan Teki167efc22020-04-28 15:30:17 +0530239 regulator-name = "vcc_1v8";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <1800000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530242 regulator-always-on;
243 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200244 regulator-state-mem {
245 regulator-on-in-suspend;
246 regulator-suspend-microvolt = <1800000>;
247 };
248 };
249
250 vcc_ldo1: LDO_REG1 {
Jagan Teki167efc22020-04-28 15:30:17 +0530251 regulator-name = "vcc_ldo1";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200252 regulator-min-microvolt = <1800000>;
253 regulator-max-microvolt = <1800000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530254 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200255 regulator-state-mem {
256 regulator-off-in-suspend;
257 };
258 };
259
260 vcc1v8_hdmi: LDO_REG2 {
Jagan Teki167efc22020-04-28 15:30:17 +0530261 regulator-name = "vcc1v8_hdmi";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530264 regulator-always-on;
265 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200266 regulator-state-mem {
267 regulator-off-in-suspend;
268 };
269 };
270
271 vcc1v8_pmu: LDO_REG3 {
Jagan Teki167efc22020-04-28 15:30:17 +0530272 regulator-name = "vcc1v8_pmu";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <1800000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530275 regulator-always-on;
276 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200277 regulator-state-mem {
278 regulator-on-in-suspend;
279 regulator-suspend-microvolt = <1800000>;
280 };
281 };
282
283 vcc_sd: LDO_REG4 {
Jagan Teki167efc22020-04-28 15:30:17 +0530284 regulator-name = "vcc_sd";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200285 regulator-min-microvolt = <1800000>;
Klaus Goger4f700392017-11-06 23:02:55 +0100286 regulator-max-microvolt = <3000000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530287 regulator-always-on;
288 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200289 regulator-state-mem {
290 regulator-on-in-suspend;
Klaus Goger4f700392017-11-06 23:02:55 +0100291 regulator-suspend-microvolt = <3000000>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200292 };
293 };
294
295 vcc_ldo5: LDO_REG5 {
Jagan Teki167efc22020-04-28 15:30:17 +0530296 regulator-name = "vcc_ldo5";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200297 regulator-min-microvolt = <3000000>;
298 regulator-max-microvolt = <3000000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530299 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200300 regulator-state-mem {
301 regulator-off-in-suspend;
302 };
303 };
304
305 vcc_ldo6: LDO_REG6 {
Jagan Teki167efc22020-04-28 15:30:17 +0530306 regulator-name = "vcc_ldo6";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200307 regulator-min-microvolt = <1500000>;
308 regulator-max-microvolt = <1500000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530309 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200310 regulator-state-mem {
311 regulator-off-in-suspend;
312 };
313 };
314
315 vcc0v9_hdmi: LDO_REG7 {
Jagan Teki167efc22020-04-28 15:30:17 +0530316 regulator-name = "vcc0v9_hdmi";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200317 regulator-min-microvolt = <900000>;
318 regulator-max-microvolt = <900000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530319 regulator-always-on;
320 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200321 regulator-state-mem {
322 regulator-off-in-suspend;
323 };
324 };
325
326 vcc_efuse: LDO_REG8 {
Jagan Teki167efc22020-04-28 15:30:17 +0530327 regulator-name = "vcc_efuse";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200328 regulator-min-microvolt = <1800000>;
329 regulator-max-microvolt = <1800000>;
Jagan Teki167efc22020-04-28 15:30:17 +0530330 regulator-always-on;
331 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200332 regulator-state-mem {
333 regulator-off-in-suspend;
334 };
335 };
336
337 vcc3v3_s3: SWITCH_REG1 {
Jagan Teki167efc22020-04-28 15:30:17 +0530338 regulator-name = "vcc3v3_s3";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200339 regulator-always-on;
340 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200341 regulator-state-mem {
342 regulator-off-in-suspend;
343 };
344 };
345
346 vcc3v3_s0: SWITCH_REG2 {
Jagan Teki167efc22020-04-28 15:30:17 +0530347 regulator-name = "vcc3v3_s0";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200348 regulator-always-on;
349 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200350 regulator-state-mem {
351 regulator-off-in-suspend;
352 };
353 };
354 };
355 };
Jagan Teki167efc22020-04-28 15:30:17 +0530356
357 vdd_gpu: regulator@60 {
358 compatible = "fcs,fan53555";
359 reg = <0x60>;
360 fcs,suspend-voltage-selector = <1>;
361 regulator-name = "vdd_gpu";
362 regulator-min-microvolt = <600000>;
363 regulator-max-microvolt = <1230000>;
364 regulator-ramp-delay = <1000>;
365 regulator-always-on;
366 regulator-boot-on;
367 vin-supply = <&vcc5v0_sys>;
368 };
369};
370
371&i2c7 {
372 status = "okay";
373 clock-frequency = <400000>;
374
375 fan: fan@18 {
376 compatible = "ti,amc6821";
377 reg = <0x18>;
378 #cooling-cells = <2>;
379 };
380
381 rtc_twi: rtc@6f {
382 compatible = "isil,isl1208";
383 reg = <0x6f>;
384 };
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200385};
386
387&i2c8 {
388 status = "okay";
389 clock-frequency = <400000>;
390
Jagan Teki167efc22020-04-28 15:30:17 +0530391 vdd_cpu_b: regulator@60 {
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200392 compatible = "fcs,fan53555";
393 reg = <0x60>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200394 vin-supply = <&vcc5v0_sys>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200395 regulator-name = "vdd_cpu_b";
396 regulator-min-microvolt = <600000>;
397 regulator-max-microvolt = <1230000>;
398 regulator-ramp-delay = <1000>;
399 fcs,suspend-voltage-selector = <1>;
400 regulator-always-on;
401 regulator-boot-on;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200402 };
403};
404
405&i2s0 {
Jagan Teki167efc22020-04-28 15:30:17 +0530406 pinctrl-0 = <&i2s0_2ch_bus>;
407 rockchip,playback-channels = <2>;
408 rockchip,capture-channels = <2>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200409 status = "okay";
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200410};
411
Jagan Teki167efc22020-04-28 15:30:17 +0530412/*
413 * As Q7 does not specify neither a global nor a RX clock for I2S these
414 * signals are not used. Furthermore I2S0_LRCK_RX is used as GPIO.
415 * Therefore we have to redefine the i2s0_2ch_bus definition to prevent
416 * conflicts.
417 */
418&i2s0_2ch_bus {
419 rockchip,pins =
420 <3 RK_PD0 1 &pcfg_pull_none>,
421 <3 RK_PD2 1 &pcfg_pull_none>,
422 <3 RK_PD3 1 &pcfg_pull_none>,
423 <3 RK_PD7 1 &pcfg_pull_none>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200424};
425
426&io_domains {
427 status = "okay";
Jagan Teki167efc22020-04-28 15:30:17 +0530428 bt656-supply = <&vcc_1v8>;
429 audio-supply = <&vcc_1v8>;
430 sdmmc-supply = <&vcc_sd>;
431 gpio1830-supply = <&vcc_1v8>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200432};
433
434&pmu_io_domains {
435 status = "okay";
436 pmu1830-supply = <&vcc_1v8>;
437};
438
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200439&pwm2 {
440 status = "okay";
441};
442
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200443&pinctrl {
Jagan Teki167efc22020-04-28 15:30:17 +0530444 i2c8 {
445 i2c8_xfer_a: i2c8-xfer {
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200446 rockchip,pins =
Jagan Teki167efc22020-04-28 15:30:17 +0530447 <1 RK_PC4 1 &pcfg_pull_up>,
448 <1 RK_PC5 1 &pcfg_pull_up>;
449 };
450 };
451
452 leds {
453 led_pin_module: led-module-gpio {
454 rockchip,pins =
455 <2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200456 };
457 };
458
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200459 pmic {
460 pmic_int_l: pmic-int-l {
461 rockchip,pins =
Jagan Teki167efc22020-04-28 15:30:17 +0530462 <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200463 };
464 };
465
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200466 usb2 {
Jagan Teki167efc22020-04-28 15:30:17 +0530467 vcc5v0_host_en: vcc5v0-host-en {
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200468 rockchip,pins =
Jagan Teki167efc22020-04-28 15:30:17 +0530469 <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200470 };
471 };
472};
473
Jagan Teki167efc22020-04-28 15:30:17 +0530474&sdhci {
475 bus-width = <8>;
476 mmc-hs400-1_8v;
477 mmc-hs400-enhanced-strobe;
478 non-removable;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200479 status = "okay";
480};
481
Jagan Teki167efc22020-04-28 15:30:17 +0530482&sdmmc {
483 vqmmc-supply = <&vcc_sd>;
484};
Philipp Tomsichf592edd2017-06-06 15:42:32 +0200485
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200486&spi1 {
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200487 status = "okay";
488
Jagan Teki167efc22020-04-28 15:30:17 +0530489 norflash: flash@0 {
Neil Armstrongffd4c7c2019-02-10 10:16:20 +0000490 compatible = "jedec,spi-nor";
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200491 reg = <0>;
Jagan Teki167efc22020-04-28 15:30:17 +0530492 spi-max-frequency = <50000000>;
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200493 };
494};
495
Jagan Teki167efc22020-04-28 15:30:17 +0530496&tcphy1 {
497 status = "okay";
498};
499
500&tsadc {
501 rockchip,hw-tshut-mode = <1>;
502 rockchip,hw-tshut-polarity = <1>;
503 status = "okay";
504};
505
506&u2phy1 {
507 status = "okay";
508
509 u2phy1_otg: otg-port {
510 status = "okay";
511 };
512
513 u2phy1_host: host-port {
514 phy-supply = <&vcc5v0_host>;
515 status = "okay";
516 };
517};
518
519&usbdrd3_1 {
520 status = "okay";
521};
522
523&usbdrd_dwc3_1 {
524 status = "okay";
525 dr_mode = "host";
526};
527
528&usb_host1_ehci {
529 status = "okay";
530};
531
532&usb_host1_ohci {
Philipp Tomsich3c2bbd52017-03-28 18:48:51 +0200533 status = "okay";
534};