blob: fb67db4619ea07087d55bef9d711bc8c34aa292b [file] [log] [blame]
Jagan Teki5cc21182020-04-28 15:30:17 +05301// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Philipp Tomsich3093d202017-03-28 18:48:51 +02002/*
Jagan Teki5cc21182020-04-28 15:30:17 +05303 * Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH
Philipp Tomsich3093d202017-03-28 18:48:51 +02004 */
5
Philipp Tomsich3093d202017-03-28 18:48:51 +02006#include <dt-bindings/pwm/pwm.h>
7#include "rk3399.dtsi"
Jagan Teki5cc21182020-04-28 15:30:17 +05308#include "rk3399-opp.dtsi"
Philipp Tomsich3093d202017-03-28 18:48:51 +02009
10/ {
Peter Robinson7c79b872021-07-22 16:20:42 +010011 aliases {
12 mmc0 = &sdhci;
13 };
14
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020015 leds {
16 compatible = "gpio-leds";
17 pinctrl-names = "default";
Peter Robinson7c79b872021-07-22 16:20:42 +010018 pinctrl-0 = <&module_led_pin>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020019
Peter Robinson7c79b872021-07-22 16:20:42 +010020 module_led: led-0 {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020021 label = "module_led";
Klaus Gogerde02bc62017-11-06 23:02:54 +010022 gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020023 linux,default-trigger = "heartbeat";
Jagan Teki5cc21182020-04-28 15:30:17 +053024 panic-indicator;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020025 };
26 };
27
Jagan Teki5cc21182020-04-28 15:30:17 +053028 clkin_gmac: external-gmac-clock {
29 compatible = "fixed-clock";
30 clock-frequency = <125000000>;
31 clock-output-names = "clkin_gmac";
32 #clock-cells = <0>;
Philipp Tomsich75fc2082017-09-29 19:28:01 +020033 };
34
Jagan Teki5cc21182020-04-28 15:30:17 +053035 vcc1v2_phy: vcc1v2-phy {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020036 compatible = "regulator-fixed";
Jagan Teki5cc21182020-04-28 15:30:17 +053037 regulator-name = "vcc1v2_phy";
Philipp Tomsich3093d202017-03-28 18:48:51 +020038 regulator-always-on;
39 regulator-boot-on;
Jagan Teki5cc21182020-04-28 15:30:17 +053040 regulator-min-microvolt = <1200000>;
41 regulator-max-microvolt = <1200000>;
42 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3093d202017-03-28 18:48:51 +020043 };
44
45 vcc3v3_sys: vcc3v3-sys {
46 compatible = "regulator-fixed";
47 regulator-name = "vcc3v3_sys";
48 regulator-always-on;
49 regulator-boot-on;
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
Jagan Teki5cc21182020-04-28 15:30:17 +053052 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3093d202017-03-28 18:48:51 +020053 };
54
Jagan Teki5cc21182020-04-28 15:30:17 +053055 vcc5v0_host: vcc5v0-host-regulator {
Philipp Tomsich3093d202017-03-28 18:48:51 +020056 compatible = "regulator-fixed";
Heiko Stuebneredfd0362020-06-05 12:06:37 +020057 gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
Jagan Teki5cc21182020-04-28 15:30:17 +053058 enable-active-low;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020059 pinctrl-names = "default";
Jagan Teki5cc21182020-04-28 15:30:17 +053060 pinctrl-0 = <&vcc5v0_host_en>;
61 regulator-name = "vcc5v0_host";
Philipp Tomsich3093d202017-03-28 18:48:51 +020062 regulator-always-on;
Jagan Teki5cc21182020-04-28 15:30:17 +053063 vin-supply = <&vcc5v0_sys>;
Philipp Tomsich3093d202017-03-28 18:48:51 +020064 };
65
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020066 vcc5v0_sys: vcc5v0-sys {
67 compatible = "regulator-fixed";
68 regulator-name = "vcc5v0_sys";
69 regulator-always-on;
70 regulator-boot-on;
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
Philipp Tomsich3093d202017-03-28 18:48:51 +020073 };
Jagan Teki5cc21182020-04-28 15:30:17 +053074};
Philipp Tomsich3093d202017-03-28 18:48:51 +020075
Jagan Teki5cc21182020-04-28 15:30:17 +053076&cpu_b0 {
77 cpu-supply = <&vdd_cpu_b>;
78};
Philipp Tomsichc687e1d2017-06-06 15:42:32 +020079
Jagan Teki5cc21182020-04-28 15:30:17 +053080&cpu_b1 {
81 cpu-supply = <&vdd_cpu_b>;
82};
83
84&cpu_l0 {
85 cpu-supply = <&vdd_cpu_l>;
Philipp Tomsich3093d202017-03-28 18:48:51 +020086};
87
Jagan Teki5cc21182020-04-28 15:30:17 +053088&cpu_l1 {
89 cpu-supply = <&vdd_cpu_l>;
90};
91
92&cpu_l2 {
93 cpu-supply = <&vdd_cpu_l>;
94};
95
96&cpu_l3 {
97 cpu-supply = <&vdd_cpu_l>;
98};
99
Philipp Tomsich3093d202017-03-28 18:48:51 +0200100&emmc_phy {
101 status = "okay";
Jagan Teki5cc21182020-04-28 15:30:17 +0530102 drive-impedance-ohm = <33>;
Philipp Tomsich3093d202017-03-28 18:48:51 +0200103};
104
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200105&gmac {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200106 assigned-clocks = <&cru SCLK_RMII_SRC>;
107 assigned-clock-parents = <&clkin_gmac>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530108 clock_in_out = "input";
109 phy-supply = <&vcc1v2_phy>;
110 phy-mode = "rgmii";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200111 pinctrl-names = "default";
112 pinctrl-0 = <&rgmii_pins>;
Heiko Stuebner3febd56e2020-06-05 12:06:36 +0200113 snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530114 snps,reset-active-low;
115 snps,reset-delays-us = <0 10000 50000>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200116 tx_delay = <0x10>;
117 rx_delay = <0x10>;
Philipp Tomsich3093d202017-03-28 18:48:51 +0200118 status = "okay";
119};
120
Jagan Teki5cc21182020-04-28 15:30:17 +0530121&gpu {
122 mali-supply = <&vdd_gpu>;
Philipp Tomsich3093d202017-03-28 18:48:51 +0200123 status = "okay";
124};
125
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200126&i2c0 {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200127 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200128 i2c-scl-rising-time-ns = <168>;
129 i2c-scl-falling-time-ns = <4>;
130 clock-frequency = <400000>;
131
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200132 rk808: pmic@1b {
133 compatible = "rockchip,rk808";
134 reg = <0x1b>;
135 interrupt-parent = <&gpio1>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530136 interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
137 #clock-cells = <1>;
138 clock-output-names = "xin32k", "rk808-clkout2";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200139 pinctrl-names = "default";
140 pinctrl-0 = <&pmic_int_l>;
141 rockchip,system-power-controller;
142 wakeup-source;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200143
144 vcc1-supply = <&vcc5v0_sys>;
145 vcc2-supply = <&vcc5v0_sys>;
146 vcc3-supply = <&vcc5v0_sys>;
147 vcc4-supply = <&vcc5v0_sys>;
148 vcc6-supply = <&vcc5v0_sys>;
149 vcc7-supply = <&vcc5v0_sys>;
150 vcc8-supply = <&vcc3v3_sys>;
151 vcc9-supply = <&vcc5v0_sys>;
152 vcc10-supply = <&vcc5v0_sys>;
153 vcc11-supply = <&vcc5v0_sys>;
154 vcc12-supply = <&vcc3v3_sys>;
155 vddio-supply = <&vcc1v8_pmu>;
156
157 regulators {
158 vdd_center: DCDC_REG1 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530159 regulator-name = "vdd_center";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200160 regulator-min-microvolt = <750000>;
161 regulator-max-microvolt = <1350000>;
162 regulator-ramp-delay = <6001>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530163 regulator-always-on;
164 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200165 regulator-state-mem {
166 regulator-off-in-suspend;
167 };
168 };
169
170 vdd_cpu_l: DCDC_REG2 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530171 regulator-name = "vdd_cpu_l";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200172 regulator-min-microvolt = <750000>;
173 regulator-max-microvolt = <1350000>;
174 regulator-ramp-delay = <6001>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530175 regulator-always-on;
176 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200177 regulator-state-mem {
178 regulator-off-in-suspend;
179 };
180 };
181
182 vcc_ddr: DCDC_REG3 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530183 regulator-name = "vcc_ddr";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200184 regulator-always-on;
185 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200186 regulator-state-mem {
187 regulator-on-in-suspend;
188 };
189 };
190
191 vcc_1v8: DCDC_REG4 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530192 regulator-name = "vcc_1v8";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530195 regulator-always-on;
196 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200197 regulator-state-mem {
198 regulator-on-in-suspend;
199 regulator-suspend-microvolt = <1800000>;
200 };
201 };
202
203 vcc_ldo1: LDO_REG1 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530204 regulator-name = "vcc_ldo1";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <1800000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530207 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200208 regulator-state-mem {
209 regulator-off-in-suspend;
210 };
211 };
212
213 vcc1v8_hdmi: LDO_REG2 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530214 regulator-name = "vcc1v8_hdmi";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <1800000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530217 regulator-always-on;
218 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200219 regulator-state-mem {
220 regulator-off-in-suspend;
221 };
222 };
223
224 vcc1v8_pmu: LDO_REG3 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530225 regulator-name = "vcc1v8_pmu";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530228 regulator-always-on;
229 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200230 regulator-state-mem {
231 regulator-on-in-suspend;
232 regulator-suspend-microvolt = <1800000>;
233 };
234 };
235
236 vcc_sd: LDO_REG4 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530237 regulator-name = "vcc_sd";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200238 regulator-min-microvolt = <1800000>;
Klaus Gogere7b89402017-11-06 23:02:55 +0100239 regulator-max-microvolt = <3000000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530240 regulator-always-on;
241 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200242 regulator-state-mem {
243 regulator-on-in-suspend;
Klaus Gogere7b89402017-11-06 23:02:55 +0100244 regulator-suspend-microvolt = <3000000>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200245 };
246 };
247
248 vcc_ldo5: LDO_REG5 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530249 regulator-name = "vcc_ldo5";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200250 regulator-min-microvolt = <3000000>;
251 regulator-max-microvolt = <3000000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530252 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200253 regulator-state-mem {
254 regulator-off-in-suspend;
255 };
256 };
257
258 vcc_ldo6: LDO_REG6 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530259 regulator-name = "vcc_ldo6";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200260 regulator-min-microvolt = <1500000>;
261 regulator-max-microvolt = <1500000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530262 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200263 regulator-state-mem {
264 regulator-off-in-suspend;
265 };
266 };
267
268 vcc0v9_hdmi: LDO_REG7 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530269 regulator-name = "vcc0v9_hdmi";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200270 regulator-min-microvolt = <900000>;
271 regulator-max-microvolt = <900000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530272 regulator-always-on;
273 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200274 regulator-state-mem {
275 regulator-off-in-suspend;
276 };
277 };
278
279 vcc_efuse: LDO_REG8 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530280 regulator-name = "vcc_efuse";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
Jagan Teki5cc21182020-04-28 15:30:17 +0530283 regulator-always-on;
284 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200285 regulator-state-mem {
286 regulator-off-in-suspend;
287 };
288 };
289
290 vcc3v3_s3: SWITCH_REG1 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530291 regulator-name = "vcc3v3_s3";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200292 regulator-always-on;
293 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200294 regulator-state-mem {
295 regulator-off-in-suspend;
296 };
297 };
298
299 vcc3v3_s0: SWITCH_REG2 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530300 regulator-name = "vcc3v3_s0";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200301 regulator-always-on;
302 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200303 regulator-state-mem {
304 regulator-off-in-suspend;
305 };
306 };
307 };
308 };
Jagan Teki5cc21182020-04-28 15:30:17 +0530309
310 vdd_gpu: regulator@60 {
311 compatible = "fcs,fan53555";
312 reg = <0x60>;
313 fcs,suspend-voltage-selector = <1>;
314 regulator-name = "vdd_gpu";
315 regulator-min-microvolt = <600000>;
316 regulator-max-microvolt = <1230000>;
317 regulator-ramp-delay = <1000>;
318 regulator-always-on;
319 regulator-boot-on;
320 vin-supply = <&vcc5v0_sys>;
321 };
322};
323
324&i2c7 {
325 status = "okay";
326 clock-frequency = <400000>;
327
328 fan: fan@18 {
329 compatible = "ti,amc6821";
330 reg = <0x18>;
331 #cooling-cells = <2>;
332 };
333
334 rtc_twi: rtc@6f {
335 compatible = "isil,isl1208";
336 reg = <0x6f>;
337 };
Philipp Tomsich3093d202017-03-28 18:48:51 +0200338};
339
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200340&i2c8 {
341 status = "okay";
342 clock-frequency = <400000>;
343
Jagan Teki5cc21182020-04-28 15:30:17 +0530344 vdd_cpu_b: regulator@60 {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200345 compatible = "fcs,fan53555";
346 reg = <0x60>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200347 vin-supply = <&vcc5v0_sys>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200348 regulator-name = "vdd_cpu_b";
349 regulator-min-microvolt = <600000>;
350 regulator-max-microvolt = <1230000>;
351 regulator-ramp-delay = <1000>;
352 fcs,suspend-voltage-selector = <1>;
353 regulator-always-on;
354 regulator-boot-on;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200355 };
356};
357
358&i2s0 {
Jagan Teki5cc21182020-04-28 15:30:17 +0530359 pinctrl-0 = <&i2s0_2ch_bus>;
360 rockchip,playback-channels = <2>;
361 rockchip,capture-channels = <2>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200362 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200363};
364
Jagan Teki5cc21182020-04-28 15:30:17 +0530365/*
366 * As Q7 does not specify neither a global nor a RX clock for I2S these
367 * signals are not used. Furthermore I2S0_LRCK_RX is used as GPIO.
368 * Therefore we have to redefine the i2s0_2ch_bus definition to prevent
369 * conflicts.
370 */
371&i2s0_2ch_bus {
372 rockchip,pins =
373 <3 RK_PD0 1 &pcfg_pull_none>,
374 <3 RK_PD2 1 &pcfg_pull_none>,
375 <3 RK_PD3 1 &pcfg_pull_none>,
376 <3 RK_PD7 1 &pcfg_pull_none>;
Philipp Tomsich3093d202017-03-28 18:48:51 +0200377};
378
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200379&io_domains {
380 status = "okay";
Jagan Teki5cc21182020-04-28 15:30:17 +0530381 bt656-supply = <&vcc_1v8>;
382 audio-supply = <&vcc_1v8>;
383 sdmmc-supply = <&vcc_sd>;
384 gpio1830-supply = <&vcc_1v8>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200385};
386
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200387&pmu_io_domains {
388 status = "okay";
389 pmu1830-supply = <&vcc_1v8>;
390};
391
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200392&pwm2 {
393 status = "okay";
394};
395
Philipp Tomsich3093d202017-03-28 18:48:51 +0200396&pinctrl {
Jagan Teki5cc21182020-04-28 15:30:17 +0530397 i2c8 {
398 i2c8_xfer_a: i2c8-xfer {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200399 rockchip,pins =
Jagan Teki5cc21182020-04-28 15:30:17 +0530400 <1 RK_PC4 1 &pcfg_pull_up>,
401 <1 RK_PC5 1 &pcfg_pull_up>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200402 };
403 };
404
Jagan Teki5cc21182020-04-28 15:30:17 +0530405 leds {
Peter Robinson7c79b872021-07-22 16:20:42 +0100406 module_led_pin: module-led-pin {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200407 rockchip,pins =
Jagan Teki5cc21182020-04-28 15:30:17 +0530408 <2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200409 };
410 };
411
Jagan Teki5cc21182020-04-28 15:30:17 +0530412 pmic {
413 pmic_int_l: pmic-int-l {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200414 rockchip,pins =
Jagan Teki5cc21182020-04-28 15:30:17 +0530415 <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
Philipp Tomsich3093d202017-03-28 18:48:51 +0200416 };
417 };
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200418
Jagan Teki5cc21182020-04-28 15:30:17 +0530419 usb2 {
420 vcc5v0_host_en: vcc5v0-host-en {
Klaus Gogerde02bc62017-11-06 23:02:54 +0100421 rockchip,pins =
Jagan Teki5cc21182020-04-28 15:30:17 +0530422 <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200423 };
424 };
Philipp Tomsich3093d202017-03-28 18:48:51 +0200425};
426
Jagan Teki5cc21182020-04-28 15:30:17 +0530427&sdhci {
428 bus-width = <8>;
429 mmc-hs400-1_8v;
430 mmc-hs400-enhanced-strobe;
431 non-removable;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200432 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200433};
Jagan Teki5cc21182020-04-28 15:30:17 +0530434
435&sdmmc {
436 vqmmc-supply = <&vcc_sd>;
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200437};
Jagan Teki5cc21182020-04-28 15:30:17 +0530438
439&spi1 {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200440 status = "okay";
Jagan Teki5cc21182020-04-28 15:30:17 +0530441
442 norflash: flash@0 {
443 compatible = "jedec,spi-nor";
444 reg = <0>;
445 spi-max-frequency = <50000000>;
446 };
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200447};
Jagan Teki5cc21182020-04-28 15:30:17 +0530448
449&tcphy1 {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200450 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200451};
452
Jagan Teki5cc21182020-04-28 15:30:17 +0530453&tsadc {
454 rockchip,hw-tshut-mode = <1>;
455 rockchip,hw-tshut-polarity = <1>;
456 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200457};
458
Jagan Teki5cc21182020-04-28 15:30:17 +0530459&u2phy1 {
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200460 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200461
Jagan Teki5cc21182020-04-28 15:30:17 +0530462 u2phy1_otg: otg-port {
463 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200464 };
Jagan Teki5cc21182020-04-28 15:30:17 +0530465
466 u2phy1_host: host-port {
467 phy-supply = <&vcc5v0_host>;
468 status = "okay";
Philipp Tomsichc687e1d2017-06-06 15:42:32 +0200469 };
470};
471
Jagan Teki5cc21182020-04-28 15:30:17 +0530472&usbdrd3_1 {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200473 status = "okay";
474};
475
Jagan Teki5cc21182020-04-28 15:30:17 +0530476&usbdrd_dwc3_1 {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200477 status = "okay";
Jagan Teki5cc21182020-04-28 15:30:17 +0530478 dr_mode = "host";
479};
Philipp Tomsich3093d202017-03-28 18:48:51 +0200480
Jagan Teki5cc21182020-04-28 15:30:17 +0530481&usb_host1_ehci {
482 status = "okay";
Philipp Tomsich3093d202017-03-28 18:48:51 +0200483};
484
Jagan Teki5cc21182020-04-28 15:30:17 +0530485&usb_host1_ohci {
Philipp Tomsich3093d202017-03-28 18:48:51 +0200486 status = "okay";
487};