Lines Matching +full:ns +full:- +full:cru

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * RK3399-based FriendlyElec boards device tree source
14 /dts-v1/;
15 #include <dt-bindings/input/linux-event-codes.h>
17 #include "rk3399-opp.dtsi"
28 stdout-path = "serial2:1500000n8";
31 clkin_gmac: external-gmac-clock {
32 compatible = "fixed-clock";
33 clock-frequency = <125000000>;
34 clock-output-names = "clkin_gmac";
35 #clock-cells = <0>;
38 vcc3v3_sys: vcc3v3-sys {
39 compatible = "regulator-fixed";
40 regulator-always-on;
41 regulator-boot-on;
42 regulator-min-microvolt = <3300000>;
43 regulator-max-microvolt = <3300000>;
44 regulator-name = "vcc3v3_sys";
47 vcc5v0_sys: vcc5v0-sys {
48 compatible = "regulator-fixed";
49 regulator-always-on;
50 regulator-boot-on;
51 regulator-min-microvolt = <5000000>;
52 regulator-max-microvolt = <5000000>;
53 regulator-name = "vcc5v0_sys";
54 vin-supply = <&vdd_5v>;
58 vcc1v8_s3: vcc1v8-s3 {
59 compatible = "regulator-fixed";
60 regulator-always-on;
61 regulator-boot-on;
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <1800000>;
64 regulator-name = "vcc1v8_s3";
65 vin-supply = <&vcc_1v8>;
68 vcc3v0_sd: vcc3v0-sd {
69 compatible = "regulator-fixed";
70 enable-active-high;
72 pinctrl-names = "default";
73 pinctrl-0 = <&sdmmc0_pwr_h>;
74 regulator-always-on;
75 regulator-min-microvolt = <3000000>;
76 regulator-max-microvolt = <3000000>;
77 regulator-name = "vcc3v0_sd";
78 vin-supply = <&vcc3v3_sys>;
85 vcca0v9_s3: vcca0v9-s3 {
86 compatible = "regulator-fixed";
87 regulator-min-microvolt = <900000>;
88 regulator-max-microvolt = <900000>;
89 regulator-name = "vcca0v9_s3";
90 vin-supply = <&vcc1v8_s3>;
94 vcca1v8_s3: vcca1v8-s3 {
95 compatible = "regulator-fixed";
96 regulator-min-microvolt = <1800000>;
97 regulator-max-microvolt = <1800000>;
98 regulator-name = "vcca1v8_s3";
99 vin-supply = <&vcc1v8_s3>;
102 vbus_typec: vbus-typec {
103 compatible = "regulator-fixed";
104 regulator-min-microvolt = <5000000>;
105 regulator-max-microvolt = <5000000>;
106 regulator-name = "vbus_typec";
109 gpio-keys {
110 compatible = "gpio-keys";
112 pinctrl-names = "default";
113 pinctrl-0 = <&power_key>;
115 key-power {
116 debounce-interval = <100>;
120 wakeup-source;
124 leds: gpio-leds {
125 compatible = "gpio-leds";
126 pinctrl-names = "default";
127 pinctrl-0 = <&status_led_pin>;
129 status_led: led-0 {
132 linux,default-trigger = "heartbeat";
136 sdio_pwrseq: sdio-pwrseq {
137 compatible = "mmc-pwrseq-simple";
139 clock-names = "ext_clock";
140 pinctrl-names = "default";
141 pinctrl-0 = <&wifi_reg_on_h>;
142 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
147 cpu-supply = <&vdd_cpu_b>;
151 cpu-supply = <&vdd_cpu_b>;
155 cpu-supply = <&vdd_cpu_l>;
159 cpu-supply = <&vdd_cpu_l>;
163 cpu-supply = <&vdd_cpu_l>;
167 cpu-supply = <&vdd_cpu_l>;
171 rockchip,enable-strobe-pulldown;
176 assigned-clock-parents = <&clkin_gmac>;
177 assigned-clocks = <&cru SCLK_RMII_SRC>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&rgmii_pins>, <&phy_intb>, <&phy_rstb>;
181 phy-handle = <&rtl8211e>;
182 phy-mode = "rgmii";
183 phy-supply = <&vcc3v3_s3>;
189 compatible = "snps,dwmac-mdio";
190 #address-cells = <1>;
191 #size-cells = <0>;
193 rtl8211e: ethernet-phy@1 {
195 interrupt-parent = <&gpio3>;
197 reset-assert-us = <10000>;
198 reset-deassert-us = <30000>;
199 reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
205 mali-supply = <&vdd_gpu>;
210 ddc-i2c-bus = <&i2c7>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&hdmi_cec>;
221 clock-frequency = <400000>;
222 i2c-scl-rising-time-ns = <160>;
223 i2c-scl-falling-time-ns = <30>;
229 fcs,suspend-voltage-selector = <1>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&cpu_b_sleep>;
232 regulator-always-on;
233 regulator-boot-on;
234 regulator-min-microvolt = <712500>;
235 regulator-max-microvolt = <1500000>;
236 regulator-name = "vdd_cpu_b";
237 regulator-ramp-delay = <1000>;
238 vin-supply = <&vcc3v3_sys>;
240 regulator-state-mem {
241 regulator-off-in-suspend;
248 fcs,suspend-voltage-selector = <1>;
249 pinctrl-names = "default";
250 pinctrl-0 = <&gpu_sleep>;
251 regulator-always-on;
252 regulator-boot-on;
253 regulator-min-microvolt = <712500>;
254 regulator-max-microvolt = <1500000>;
255 regulator-name = "vdd_gpu";
256 regulator-ramp-delay = <1000>;
257 vin-supply = <&vcc3v3_sys>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
267 clock-output-names = "xin32k", "rtc_clko_wifi";
268 #clock-cells = <1>;
269 interrupt-parent = <&gpio1>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&pmic_int_l>, <&ap_pwroff>, <&clk_32k>;
273 rockchip,system-power-controller;
274 wakeup-source;
276 vcc1-supply = <&vcc3v3_sys>;
277 vcc2-supply = <&vcc3v3_sys>;
278 vcc3-supply = <&vcc3v3_sys>;
279 vcc4-supply = <&vcc3v3_sys>;
280 vcc6-supply = <&vcc3v3_sys>;
281 vcc7-supply = <&vcc3v3_sys>;
282 vcc8-supply = <&vcc3v3_sys>;
283 vcc9-supply = <&vcc3v3_sys>;
284 vcc10-supply = <&vcc3v3_sys>;
285 vcc11-supply = <&vcc3v3_sys>;
286 vcc12-supply = <&vcc3v3_sys>;
287 vddio-supply = <&vcc_3v0>;
291 regulator-always-on;
292 regulator-boot-on;
293 regulator-min-microvolt = <750000>;
294 regulator-max-microvolt = <1350000>;
295 regulator-name = "vdd_center";
296 regulator-ramp-delay = <6001>;
298 regulator-state-mem {
299 regulator-off-in-suspend;
304 regulator-always-on;
305 regulator-boot-on;
306 regulator-min-microvolt = <750000>;
307 regulator-max-microvolt = <1350000>;
308 regulator-name = "vdd_cpu_l";
309 regulator-ramp-delay = <6001>;
311 regulator-state-mem {
312 regulator-off-in-suspend;
317 regulator-always-on;
318 regulator-boot-on;
319 regulator-name = "vcc_ddr";
321 regulator-state-mem {
322 regulator-on-in-suspend;
327 regulator-always-on;
328 regulator-boot-on;
329 regulator-min-microvolt = <1800000>;
330 regulator-max-microvolt = <1800000>;
331 regulator-name = "vcc_1v8";
333 regulator-state-mem {
334 regulator-on-in-suspend;
335 regulator-suspend-microvolt = <1800000>;
340 regulator-always-on;
341 regulator-boot-on;
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
344 regulator-name = "vcc1v8_cam";
346 regulator-state-mem {
347 regulator-off-in-suspend;
352 regulator-always-on;
353 regulator-boot-on;
354 regulator-min-microvolt = <3000000>;
355 regulator-max-microvolt = <3000000>;
356 regulator-name = "vcc3v0_touch";
358 regulator-state-mem {
359 regulator-off-in-suspend;
364 regulator-always-on;
365 regulator-boot-on;
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
368 regulator-name = "vcc1v8_pmupll";
370 regulator-state-mem {
371 regulator-on-in-suspend;
372 regulator-suspend-microvolt = <1800000>;
377 regulator-always-on;
378 regulator-boot-on;
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <3300000>;
381 regulator-name = "vcc_sdio";
383 regulator-state-mem {
384 regulator-on-in-suspend;
385 regulator-suspend-microvolt = <3000000>;
390 regulator-always-on;
391 regulator-boot-on;
392 regulator-min-microvolt = <3000000>;
393 regulator-max-microvolt = <3000000>;
394 regulator-name = "vcca3v0_codec";
396 regulator-state-mem {
397 regulator-off-in-suspend;
402 regulator-always-on;
403 regulator-boot-on;
404 regulator-min-microvolt = <1500000>;
405 regulator-max-microvolt = <1500000>;
406 regulator-name = "vcc_1v5";
408 regulator-state-mem {
409 regulator-on-in-suspend;
410 regulator-suspend-microvolt = <1500000>;
415 regulator-always-on;
416 regulator-boot-on;
417 regulator-min-microvolt = <1800000>;
418 regulator-max-microvolt = <1800000>;
419 regulator-name = "vcca1v8_codec";
421 regulator-state-mem {
422 regulator-off-in-suspend;
427 regulator-always-on;
428 regulator-boot-on;
429 regulator-min-microvolt = <3000000>;
430 regulator-max-microvolt = <3000000>;
431 regulator-name = "vcc_3v0";
433 regulator-state-mem {
434 regulator-on-in-suspend;
435 regulator-suspend-microvolt = <3000000>;
440 regulator-always-on;
441 regulator-boot-on;
442 regulator-name = "vcc3v3_s3";
444 regulator-state-mem {
445 regulator-off-in-suspend;
450 regulator-always-on;
451 regulator-boot-on;
452 regulator-name = "vcc3v3_s0";
454 regulator-state-mem {
455 regulator-off-in-suspend;
463 clock-frequency = <200000>;
464 i2c-scl-rising-time-ns = <150>;
465 i2c-scl-falling-time-ns = <30>;
474 clock-frequency = <400000>;
475 i2c-scl-rising-time-ns = <160>;
476 i2c-scl-falling-time-ns = <30>;
479 fusb0: typec-portc@22 {
482 interrupt-parent = <&gpio1>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&fusb0_int>;
486 vbus-supply = <&vbus_typec>;
499 bt656-supply = <&vcc_1v8>;
500 audio-supply = <&vcca1v8_codec>;
501 sdmmc-supply = <&vcc_sdio>;
502 gpio1830-supply = <&vcc_3v0>;
507 assigned-clock-parents = <&cru SCLK_PCIEPHY_REF100M>;
508 assigned-clock-rates = <100000000>;
509 assigned-clocks = <&cru SCLK_PCIEPHY_REF>;
514 num-lanes = <2>;
515 vpcie0v9-supply = <&vcca0v9_s3>;
516 vpcie1v8-supply = <&vcca1v8_s3>;
522 fusb0_int: fusb0-int {
527 gpio-leds {
528 status_led_pin: status-led-pin {
534 phy_intb: phy-intb {
538 phy_rstb: phy-rstb {
544 cpu_b_sleep: cpu-b-sleep {
548 gpu_sleep: gpu-sleep {
552 pmic_int_l: pmic-int-l {
557 rockchip-key {
558 power_key: power-key {
564 bt_host_wake_l: bt-host-wake-l {
568 bt_reg_on_h: bt-reg-on-h {
573 bt_wake_l: bt-wake-l {
577 wifi_reg_on_h: wifi-reg_on-h {
583 sdmmc0_det_l: sdmmc0-det-l {
587 sdmmc0_pwr_h: sdmmc0-pwr-h {
594 pmu1830-supply = <&vcc_3v0>;
607 pinctrl-names = "active";
608 pinctrl-0 = <&pwm2_pin_pull_down>;
613 vref-supply = <&vcca1v8_s3>;
618 bus-width = <8>;
619 mmc-hs200-1_8v;
620 non-removable;
625 bus-width = <4>;
626 cap-sd-highspeed;
627 cap-sdio-irq;
628 keep-power-in-suspend;
629 mmc-pwrseq = <&sdio_pwrseq>;
630 non-removable;
631 pinctrl-names = "default";
632 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
633 sd-uhs-sdr104;
638 bus-width = <4>;
639 cap-sd-highspeed;
640 cap-mmc-highspeed;
641 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
642 disable-wp;
643 pinctrl-names = "default";
644 pinctrl-0 = <&sdmmc_bus4 &sdmmc_clk &sdmmc_cmd &sdmmc0_det_l>;
645 sd-uhs-sdr104;
646 vmmc-supply = <&vcc3v0_sd>;
647 vqmmc-supply = <&vcc_sdio>;
660 /* tshut mode 0:CRU 1:GPIO */
661 rockchip,hw-tshut-mode = <1>;
663 rockchip,hw-tshut-polarity = <1>;
692 pinctrl-names = "default";
693 pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>;
697 compatible = "brcm,bcm43438-bt";
699 clock-names = "lpo";
700 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
701 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
702 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
703 max-speed = <4000000>;
704 pinctrl-names = "default";
705 pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>;
706 vbat-supply = <&vcc3v3_sys>;
707 vddio-supply = <&vcc_1v8>;