Lines Matching +full:ns +full:- +full:cru
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pwm/pwm.h>
11 #include "rk3399-opp.dtsi"
25 stdout-path = "serial2:1500000n8";
28 clkin_gmac: external-gmac-clock {
29 compatible = "fixed-clock";
30 clock-frequency = <125000000>;
31 clock-output-names = "clkin_gmac";
32 #clock-cells = <0>;
35 sdio_pwrseq: sdio-pwrseq {
36 compatible = "mmc-pwrseq-simple";
38 clock-names = "ext_clock";
39 pinctrl-names = "default";
40 pinctrl-0 = <&wifi_reg_on_h>;
41 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
44 dc5v_adp: dc5v-adp {
45 compatible = "regulator-fixed";
46 regulator-name = "dc5v_adapter";
47 regulator-always-on;
48 regulator-boot-on;
49 regulator-min-microvolt = <5000000>;
50 regulator-max-microvolt = <5000000>;
53 vcc3v3_lan: vcc3v3-lan {
54 compatible = "regulator-fixed";
55 regulator-name = "vcc3v3_lan";
56 regulator-always-on;
57 regulator-boot-on;
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
60 vin-supply = <&vcc3v3_sys>;
63 vcc3v3_sys: vcc3v3-sys {
64 compatible = "regulator-fixed";
65 regulator-name = "vcc3v3_sys";
66 regulator-always-on;
67 regulator-boot-on;
68 regulator-min-microvolt = <3300000>;
69 regulator-max-microvolt = <3300000>;
70 vin-supply = <&vcc5v0_sys>;
73 vcc5v0_host0: vcc5v0_host1: vcc5v0-host {
74 compatible = "regulator-fixed";
75 regulator-name = "vcc5v0_host";
76 regulator-boot-on;
77 regulator-always-on;
78 regulator-min-microvolt = <5500000>;
79 regulator-max-microvolt = <5500000>;
80 vin-supply = <&vcc5v0_sys>;
83 vcc5v0_host3: vcc5v0-host3 {
84 compatible = "regulator-fixed";
85 regulator-name = "vcc5v0_host3";
86 enable-active-high;
88 pinctrl-names = "default";
89 pinctrl-0 = <&vcc5v0_host3_en>;
90 regulator-always-on;
91 vin-supply = <&vcc5v0_sys>;
94 vcc5v0_sys: vcc5v0-sys {
95 compatible = "regulator-fixed";
96 regulator-name = "vcc5v0_sys";
97 regulator-always-on;
98 regulator-boot-on;
99 regulator-min-microvolt = <5000000>;
100 regulator-max-microvolt = <5000000>;
101 vin-supply = <&dc5v_adp>;
104 vdd_log: vdd-log {
105 compatible = "pwm-regulator";
107 pwm-supply = <&vcc5v0_sys>;
108 regulator-name = "vdd_log";
109 regulator-always-on;
110 regulator-boot-on;
111 regulator-min-microvolt = <800000>;
112 regulator-max-microvolt = <1400000>;
117 cpu-supply = <&vdd_cpu_l>;
121 cpu-supply = <&vdd_cpu_l>;
125 cpu-supply = <&vdd_cpu_l>;
129 cpu-supply = <&vdd_cpu_l>;
133 cpu-supply = <&vdd_cpu_b>;
137 cpu-supply = <&vdd_cpu_b>;
145 assigned-clocks = <&cru SCLK_RMII_SRC>;
146 assigned-clock-parents = <&clkin_gmac>;
148 phy-supply = <&vcc3v3_lan>;
149 phy-mode = "rgmii";
150 pinctrl-names = "default";
151 pinctrl-0 = <&rgmii_pins>;
152 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
153 snps,reset-active-low;
154 snps,reset-delays-us = <0 10000 50000>;
161 mali-supply = <&vdd_gpu>;
166 ddc-i2c-bus = <&i2c7>;
167 pinctrl-names = "default";
168 pinctrl-0 = <&hdmi_cec>;
177 clock-frequency = <400000>;
178 i2c-scl-rising-time-ns = <168>;
179 i2c-scl-falling-time-ns = <4>;
185 interrupt-parent = <&gpio1>;
187 #clock-cells = <1>;
188 clock-output-names = "xin32k", "rk808-clkout2";
189 pinctrl-names = "default";
190 pinctrl-0 = <&pmic_int_l>;
191 rockchip,system-power-controller;
192 wakeup-source;
194 vcc1-supply = <&vcc5v0_sys>;
195 vcc2-supply = <&vcc5v0_sys>;
196 vcc3-supply = <&vcc5v0_sys>;
197 vcc4-supply = <&vcc5v0_sys>;
198 vcc6-supply = <&vcc5v0_sys>;
199 vcc7-supply = <&vcc5v0_sys>;
200 vcc8-supply = <&vcc3v3_sys>;
201 vcc9-supply = <&vcc5v0_sys>;
202 vcc10-supply = <&vcc5v0_sys>;
203 vcc11-supply = <&vcc5v0_sys>;
204 vcc12-supply = <&vcc3v3_sys>;
205 vddio-supply = <&vcc_1v8>;
209 regulator-name = "vdd_center";
210 regulator-always-on;
211 regulator-boot-on;
212 regulator-min-microvolt = <750000>;
213 regulator-max-microvolt = <1350000>;
214 regulator-ramp-delay = <6001>;
215 regulator-state-mem {
216 regulator-off-in-suspend;
221 regulator-name = "vdd_cpu_l";
222 regulator-always-on;
223 regulator-boot-on;
224 regulator-min-microvolt = <750000>;
225 regulator-max-microvolt = <1350000>;
226 regulator-ramp-delay = <6001>;
227 regulator-state-mem {
228 regulator-off-in-suspend;
233 regulator-name = "vcc_ddr";
234 regulator-always-on;
235 regulator-boot-on;
236 regulator-state-mem {
237 regulator-on-in-suspend;
242 regulator-name = "vcc_1v8";
243 regulator-always-on;
244 regulator-boot-on;
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <1800000>;
247 regulator-state-mem {
248 regulator-on-in-suspend;
249 regulator-suspend-microvolt = <1800000>;
254 regulator-name = "vcc1v8_dvp";
255 regulator-always-on;
256 regulator-boot-on;
257 regulator-min-microvolt = <1800000>;
258 regulator-max-microvolt = <1800000>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
265 regulator-name = "vcc1v8_hdmi";
266 regulator-always-on;
267 regulator-boot-on;
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
270 regulator-state-mem {
271 regulator-off-in-suspend;
276 regulator-name = "vcca_1v8";
277 regulator-always-on;
278 regulator-boot-on;
279 regulator-min-microvolt = <1800000>;
280 regulator-max-microvolt = <1800000>;
281 regulator-state-mem {
282 regulator-on-in-suspend;
283 regulator-suspend-microvolt = <1800000>;
288 regulator-name = "vccio_sd";
289 regulator-always-on;
290 regulator-boot-on;
291 regulator-min-microvolt = <3000000>;
292 regulator-max-microvolt = <3000000>;
293 regulator-state-mem {
294 regulator-on-in-suspend;
295 regulator-suspend-microvolt = <3000000>;
300 regulator-name = "vcca3v0_codec";
301 regulator-always-on;
302 regulator-boot-on;
303 regulator-min-microvolt = <3000000>;
304 regulator-max-microvolt = <3000000>;
305 regulator-state-mem {
306 regulator-off-in-suspend;
311 regulator-name = "vcc_1v5";
312 regulator-always-on;
313 regulator-boot-on;
314 regulator-min-microvolt = <1500000>;
315 regulator-max-microvolt = <1500000>;
316 regulator-state-mem {
317 regulator-on-in-suspend;
318 regulator-suspend-microvolt = <1500000>;
323 regulator-name = "vcc0v9_hdmi";
324 regulator-always-on;
325 regulator-boot-on;
326 regulator-min-microvolt = <900000>;
327 regulator-max-microvolt = <900000>;
328 regulator-state-mem {
329 regulator-off-in-suspend;
334 regulator-name = "vcc_3v0";
335 regulator-always-on;
336 regulator-boot-on;
337 regulator-min-microvolt = <3000000>;
338 regulator-max-microvolt = <3000000>;
339 regulator-state-mem {
340 regulator-on-in-suspend;
341 regulator-suspend-microvolt = <3000000>;
350 fcs,suspend-voltage-selector = <1>;
351 pinctrl-names = "default";
352 pinctrl-0 = <&vsel1_pin>;
353 regulator-name = "vdd_cpu_b";
354 regulator-min-microvolt = <712500>;
355 regulator-max-microvolt = <1500000>;
356 regulator-ramp-delay = <1000>;
357 regulator-always-on;
358 regulator-boot-on;
359 vin-supply = <&vcc5v0_sys>;
361 regulator-state-mem {
362 regulator-off-in-suspend;
369 fcs,suspend-voltage-selector = <1>;
370 pinctrl-names = "default";
371 pinctrl-0 = <&vsel2_pin>;
372 regulator-name = "vdd_gpu";
373 regulator-min-microvolt = <712500>;
374 regulator-max-microvolt = <1500000>;
375 regulator-ramp-delay = <1000>;
376 regulator-always-on;
377 regulator-boot-on;
378 vin-supply = <&vcc5v0_sys>;
380 regulator-state-mem {
381 regulator-off-in-suspend;
387 i2c-scl-rising-time-ns = <300>;
388 i2c-scl-falling-time-ns = <15>;
393 i2c-scl-rising-time-ns = <450>;
394 i2c-scl-falling-time-ns = <15>;
399 i2c-scl-rising-time-ns = <600>;
400 i2c-scl-falling-time-ns = <20>;
409 rockchip,playback-channels = <8>;
410 rockchip,capture-channels = <8>;
415 rockchip,playback-channels = <2>;
416 rockchip,capture-channels = <2>;
427 bt656-supply = <&vcc1v8_dvp>;
428 audio-supply = <&vcc_1v8>;
429 sdmmc-supply = <&vccio_sd>;
430 gpio1830-supply = <&vcc_3v0>;
435 pmu1830-supply = <&vcc_3v0>;
440 bt_reg_on_h: bt-reg-on-h {
444 bt_host_wake_l: bt-host-wake-l {
448 bt_wake_l: bt-wake-l {
454 pmic_int_l: pmic-int-l {
458 vsel1_pin: vsel1-pin {
462 vsel2_pin: vsel2-pin {
468 vcc5v0_host3_en: vcc5v0-host3-en {
474 wifi_reg_on_h: wifi-reg-on-h {
479 wifi_host_wake_l: wifi-host-wake-l {
492 vref-supply = <&vcc_1v8>;
496 #address-cells = <1>;
497 #size-cells = <0>;
498 bus-width = <4>;
499 clock-frequency = <50000000>;
500 cap-sdio-irq;
501 cap-sd-highspeed;
502 keep-power-in-suspend;
503 mmc-pwrseq = <&sdio_pwrseq>;
504 non-removable;
505 pinctrl-names = "default";
506 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
507 sd-uhs-sdr104;
511 compatible = "brcm,bcm4329-fmac";
513 interrupt-parent = <&gpio0>;
515 interrupt-names = "host-wake";
516 pinctrl-names = "default";
517 pinctrl-0 = <&wifi_host_wake_l>;
522 bus-width = <8>;
523 mmc-hs400-1_8v;
524 mmc-hs400-enhanced-strobe;
525 non-removable;
530 bus-width = <4>;
531 cap-mmc-highspeed;
532 cap-sd-highspeed;
533 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
534 disable-wp;
535 max-frequency = <150000000>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&sdmmc_clk &sdmmc_cd &sdmmc_cmd &sdmmc_bus4>;
552 /* tshut mode 0:CRU 1:GPIO */
553 rockchip,hw-tshut-mode = <1>;
555 rockchip,hw-tshut-polarity = <1>;
561 u2phy0_otg: otg-port {
565 u2phy0_host: host-port {
566 phy-supply = <&vcc5v0_host0>;
574 u2phy1_otg: otg-port {
578 u2phy1_host: host-port {
579 phy-supply = <&vcc5v0_host1>;
585 pinctrl-names = "default";
586 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
590 compatible = "brcm,bcm43438-bt";
592 clock-names = "ext_clock";
593 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
594 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
595 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
596 pinctrl-names = "default";
597 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_reg_on_h>;