Lines Matching +full:ep +full:- +full:gpios

1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/input/linux-event-codes.h>
8 #include <dt-bindings/pwm/pwm.h>
20 stdout-path = "serial2:1500000n8";
23 clkin_gmac: external-gmac-clock {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
26 clock-output-names = "clkin_gmac";
27 #clock-cells = <0>;
30 gpio-keys {
31 compatible = "gpio-keys";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pwrbtn>;
36 key-power {
37 debounce-interval = <100>;
38 gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_LOW>;
41 wakeup-source;
45 ir-receiver {
46 compatible = "gpio-ir-receiver";
47 gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
48 pinctrl-0 = <&ir_int>;
49 pinctrl-names = "default";
53 compatible = "gpio-leds";
54 pinctrl-names = "default";
55 pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
57 work_led: led-0 {
59 default-state = "on";
60 gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
63 diy_led: led-1 {
65 default-state = "off";
66 gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
70 fan: pwm-fan {
71 compatible = "pwm-fan";
72 cooling-levels = <0 100 150 200 255>;
73 #cooling-cells = <2>;
74 fan-supply = <&vcc12v_dcin>;
78 sdio_pwrseq: sdio-pwrseq {
79 compatible = "mmc-pwrseq-simple";
81 clock-names = "ext_clock";
82 pinctrl-names = "default";
83 pinctrl-0 = <&wifi_enable_h>;
84 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
88 compatible = "audio-graph-card";
93 sound-dit {
94 compatible = "audio-graph-card";
99 spdif-dit {
100 compatible = "linux,spdif-dit";
101 #sound-dai-cells = <0>;
105 remote-endpoint = <&spdif_p0_0>;
110 vcc12v_dcin: regulator-vcc12v-dcin {
111 compatible = "regulator-fixed";
112 regulator-name = "vcc12v_dcin";
113 regulator-always-on;
114 regulator-boot-on;
115 regulator-min-microvolt = <12000000>;
116 regulator-max-microvolt = <12000000>;
120 vcc1v8_s3: vcca1v8_s3: regulator-vcc1v8-s3 {
121 compatible = "regulator-fixed";
122 regulator-name = "vcc1v8_s3";
123 regulator-always-on;
124 regulator-boot-on;
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
127 vin-supply = <&vcc_1v8>;
131 vcc3v0_sd: regulator-vcc3v0-sd {
132 compatible = "regulator-fixed";
133 enable-active-high;
135 pinctrl-names = "default";
136 pinctrl-0 = <&sdmmc0_pwr_h>;
137 regulator-name = "vcc3v0_sd";
138 regulator-always-on;
139 regulator-min-microvolt = <3000000>;
140 regulator-max-microvolt = <3000000>;
141 vin-supply = <&vcc3v3_sys>;
143 regulator-state-mem {
144 regulator-off-in-suspend;
148 vcc3v3_pcie: regulator-vcc3v3-pcie {
149 compatible = "regulator-fixed";
150 enable-active-high;
152 pinctrl-names = "default";
153 pinctrl-0 = <&pcie_pwr_en>;
154 regulator-name = "vcc3v3_pcie";
155 regulator-always-on;
156 regulator-boot-on;
157 vin-supply = <&vcc12v_dcin>;
160 vcc3v3_sys: regulator-vcc3v3-sys {
161 compatible = "regulator-fixed";
162 regulator-name = "vcc3v3_sys";
163 regulator-always-on;
164 regulator-boot-on;
165 regulator-min-microvolt = <3300000>;
166 regulator-max-microvolt = <3300000>;
167 vin-supply = <&vcc5v0_sys>;
171 vcc5v0_host: regulator-vcc5v0-host {
172 compatible = "regulator-fixed";
173 enable-active-high;
175 pinctrl-names = "default";
176 pinctrl-0 = <&vcc5v0_host_en>;
177 regulator-name = "vcc5v0_host";
178 regulator-always-on;
179 vin-supply = <&vcc5v0_usb>;
182 vcc5v0_typec: regulator-vcc5v0-typec {
183 compatible = "regulator-fixed";
184 enable-active-high;
186 pinctrl-names = "default";
187 pinctrl-0 = <&vcc5v0_typec_en>;
188 regulator-name = "vcc5v0_typec";
189 regulator-always-on;
190 vin-supply = <&vcc5v0_usb>;
193 vcc5v0_sys: regulator-vcc5v0-sys {
194 compatible = "regulator-fixed";
195 regulator-name = "vcc5v0_sys";
196 regulator-always-on;
197 regulator-boot-on;
198 regulator-min-microvolt = <5000000>;
199 regulator-max-microvolt = <5000000>;
200 vin-supply = <&vcc12v_dcin>;
203 vcc5v0_usb: regulator-vcc5v0-usb {
204 compatible = "regulator-fixed";
205 regulator-name = "vcc5v0_usb";
206 regulator-always-on;
207 regulator-boot-on;
208 regulator-min-microvolt = <5000000>;
209 regulator-max-microvolt = <5000000>;
210 vin-supply = <&vcc12v_dcin>;
213 vcca_0v9: regulator-vcca-0v9 {
214 compatible = "regulator-fixed";
215 regulator-name = "vcca_0v9";
216 regulator-always-on;
217 regulator-boot-on;
218 regulator-min-microvolt = <900000>;
219 regulator-max-microvolt = <900000>;
220 vin-supply = <&vcc3v3_sys>;
223 vdd_log: regulator-vdd-log {
224 compatible = "pwm-regulator";
226 pwm-supply = <&vcc5v0_sys>;
227 regulator-name = "vdd_log";
228 regulator-always-on;
229 regulator-boot-on;
230 regulator-min-microvolt = <800000>;
231 regulator-max-microvolt = <1700000>;
236 cpu-supply = <&vdd_cpu_l>;
240 cpu-supply = <&vdd_cpu_l>;
244 cpu-supply = <&vdd_cpu_l>;
248 cpu-supply = <&vdd_cpu_l>;
252 cpu-supply = <&vdd_cpu_b>;
256 cpu-supply = <&vdd_cpu_b>;
274 cooling-maps {
277 cooling-device = <&fan THERMAL_NO_LIMIT 1>;
282 cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
292 assigned-clocks = <&cru SCLK_RMII_SRC>;
293 assigned-clock-parents = <&clkin_gmac>;
295 phy-supply = <&vcc_lan>;
296 phy-mode = "rgmii";
297 pinctrl-names = "default";
298 pinctrl-0 = <&rgmii_pins>;
299 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
300 snps,reset-active-low;
301 snps,reset-delays-us = <0 10000 50000>;
308 avdd-0v9-supply = <&vcca_0v9>;
309 avdd-1v8-supply = <&vcc1v8_dvp>;
310 ddc-i2c-bus = <&i2c3>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&hdmi_cec>;
321 mali-supply = <&vdd_gpu>;
326 clock-frequency = <400000>;
327 i2c-scl-rising-time-ns = <168>;
328 i2c-scl-falling-time-ns = <4>;
334 interrupt-parent = <&gpio3>;
336 #clock-cells = <1>;
337 clock-output-names = "xin32k", "rk808-clkout2";
338 pinctrl-names = "default";
339 pinctrl-0 = <&pmic_int_l>;
340 system-power-controller;
341 wakeup-source;
343 vcc1-supply = <&vcc5v0_sys>;
344 vcc2-supply = <&vcc5v0_sys>;
345 vcc3-supply = <&vcc5v0_sys>;
346 vcc4-supply = <&vcc5v0_sys>;
347 vcc6-supply = <&vcc5v0_sys>;
348 vcc7-supply = <&vcc5v0_sys>;
349 vcc8-supply = <&vcc3v3_sys>;
350 vcc9-supply = <&vcc5v0_sys>;
351 vcc10-supply = <&vcc5v0_sys>;
352 vcc11-supply = <&vcc5v0_sys>;
353 vcc12-supply = <&vcc3v3_sys>;
354 vddio-supply = <&vcca_1v8>;
358 regulator-name = "vdd_center";
359 regulator-always-on;
360 regulator-boot-on;
361 regulator-min-microvolt = <750000>;
362 regulator-max-microvolt = <1350000>;
363 regulator-ramp-delay = <6001>;
364 regulator-state-mem {
365 regulator-off-in-suspend;
370 regulator-name = "vdd_cpu_l";
371 regulator-always-on;
372 regulator-boot-on;
373 regulator-min-microvolt = <750000>;
374 regulator-max-microvolt = <1350000>;
375 regulator-ramp-delay = <6001>;
376 regulator-state-mem {
377 regulator-off-in-suspend;
382 regulator-name = "vcc_ddr";
383 regulator-always-on;
384 regulator-boot-on;
385 regulator-state-mem {
386 regulator-on-in-suspend;
391 regulator-name = "vcc_1v8";
392 regulator-always-on;
393 regulator-boot-on;
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <1800000>;
396 regulator-state-mem {
397 regulator-on-in-suspend;
398 regulator-suspend-microvolt = <1800000>;
403 regulator-name = "vcc1v8_dvp";
404 regulator-always-on;
405 regulator-boot-on;
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "vcc3v0_touch";
415 regulator-min-microvolt = <3000000>;
416 regulator-max-microvolt = <3000000>;
417 regulator-state-mem {
418 regulator-off-in-suspend;
423 regulator-name = "vcca_1v8";
424 regulator-always-on;
425 regulator-boot-on;
426 regulator-min-microvolt = <1800000>;
427 regulator-max-microvolt = <1800000>;
428 regulator-state-mem {
429 regulator-on-in-suspend;
430 regulator-suspend-microvolt = <1800000>;
435 regulator-name = "vcc_sdio";
436 regulator-always-on;
437 regulator-boot-on;
438 regulator-min-microvolt = <1800000>;
439 regulator-max-microvolt = <3000000>;
440 regulator-state-mem {
441 regulator-on-in-suspend;
442 regulator-suspend-microvolt = <3000000>;
447 regulator-name = "vcca3v0_codec";
448 regulator-always-on;
449 regulator-boot-on;
450 regulator-min-microvolt = <3000000>;
451 regulator-max-microvolt = <3000000>;
452 regulator-state-mem {
453 regulator-off-in-suspend;
458 regulator-name = "vcc_1v5";
459 regulator-always-on;
460 regulator-boot-on;
461 regulator-min-microvolt = <1500000>;
462 regulator-max-microvolt = <1500000>;
463 regulator-state-mem {
464 regulator-on-in-suspend;
465 regulator-suspend-microvolt = <1500000>;
470 regulator-name = "vcca1v8_codec";
471 regulator-always-on;
472 regulator-boot-on;
473 regulator-min-microvolt = <1800000>;
474 regulator-max-microvolt = <1800000>;
475 regulator-state-mem {
476 regulator-off-in-suspend;
481 regulator-name = "vcc_3v0";
482 regulator-always-on;
483 regulator-boot-on;
484 regulator-min-microvolt = <3000000>;
485 regulator-max-microvolt = <3000000>;
486 regulator-state-mem {
487 regulator-on-in-suspend;
488 regulator-suspend-microvolt = <3000000>;
493 regulator-name = "vcc3v3_s3";
494 regulator-always-on;
495 regulator-boot-on;
496 regulator-state-mem {
497 regulator-off-in-suspend;
502 regulator-name = "vcc3v3_s0";
503 regulator-state-mem {
504 regulator-off-in-suspend;
513 fcs,suspend-voltage-selector = <1>;
514 pinctrl-names = "default";
515 pinctrl-0 = <&vsel1_pin>;
516 regulator-name = "vdd_cpu_b";
517 regulator-min-microvolt = <712500>;
518 regulator-max-microvolt = <1500000>;
519 regulator-ramp-delay = <1000>;
520 regulator-always-on;
521 regulator-boot-on;
522 vin-supply = <&vcc5v0_sys>;
524 regulator-state-mem {
525 regulator-off-in-suspend;
532 fcs,suspend-voltage-selector = <1>;
533 pinctrl-names = "default";
534 pinctrl-0 = <&vsel2_pin>;
535 regulator-name = "vdd_gpu";
536 regulator-min-microvolt = <712500>;
537 regulator-max-microvolt = <1500000>;
538 regulator-ramp-delay = <1000>;
539 regulator-always-on;
540 regulator-boot-on;
541 vin-supply = <&vcc5v0_sys>;
543 regulator-state-mem {
544 regulator-off-in-suspend;
550 i2c-scl-rising-time-ns = <300>;
551 i2c-scl-falling-time-ns = <15>;
556 i2c-scl-rising-time-ns = <450>;
557 i2c-scl-falling-time-ns = <15>;
562 i2c-scl-rising-time-ns = <600>;
563 i2c-scl-falling-time-ns = <20>;
566 fusb0: typec-portc@22 {
569 interrupt-parent = <&gpio1>;
571 pinctrl-names = "default";
572 pinctrl-0 = <&fusb0_int>;
573 vbus-supply = <&vcc5v0_typec>;
579 rockchip,playback-channels = <8>;
580 rockchip,capture-channels = <8>;
585 rockchip,playback-channels = <2>;
586 rockchip,capture-channels = <2>;
591 dai-format = "i2s";
592 mclk-fs = <256>;
593 remote-endpoint = <&es8316_p0_0>;
605 bt656-supply = <&vcc1v8_dvp>;
606 audio-supply = <&vcc_3v0>;
607 sdmmc-supply = <&vcc_sdio>;
608 gpio1830-supply = <&vcc_3v0>;
612 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
613 num-lanes = <4>;
614 pinctrl-names = "default";
615 pinctrl-0 = <&pcie_perst>;
616 vpcie0v9-supply = <&vcca_0v9>;
617 vpcie1v8-supply = <&vcca_1v8>;
618 vpcie12v-supply = <&vcc12v_dcin>;
619 vpcie3v3-supply = <&vcc3v3_pcie>;
628 pmu1830-supply = <&vcc_3v0>;
634 bt_enable_h: bt-enable-h {
638 bt_host_wake_l: bt-host-wake-l {
642 bt_wake_l: bt-wake-l {
654 fusb0_int: fusb0-int {
660 ir_int: ir-int {
666 work_led_pin: work-led-pin {
670 diy_led_pin: diy-led-pin {
676 pcie_perst: pcie-perst {
680 pcie_pwr_en: pcie-pwr-en {
686 pmic_int_l: pmic-int-l {
690 vsel1_pin: vsel1-pin {
694 vsel2_pin: vsel2-pin {
700 sdmmc0_pwr_h: sdmmc0-pwr-h {
706 sdio-pwrseq {
707 wifi_enable_h: wifi-enable-h {
712 usb-typec {
719 vcc5v0_host_en: vcc5v0-host-en {
734 vref-supply = <&vcca1v8_s3>;
739 bus-width = <4>;
740 cap-sd-highspeed;
741 cap-sdio-irq;
742 disable-wp;
743 keep-power-in-suspend;
744 mmc-pwrseq = <&sdio_pwrseq>;
745 non-removable;
746 pinctrl-names = "default";
747 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
748 sd-uhs-sdr104;
753 bus-width = <4>;
754 cap-sd-highspeed;
755 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
756 disable-wp;
757 max-frequency = <150000000>;
758 pinctrl-names = "default";
759 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
760 vmmc-supply = <&vcc3v0_sd>;
761 vqmmc-supply = <&vcc_sdio>;
766 bus-width = <8>;
767 mmc-hs200-1_8v;
768 non-removable;
773 pinctrl-0 = <&spdif_bus_1>;
777 remote-endpoint = <&dit_p0_0>;
786 compatible = "jedec,spi-nor";
788 spi-max-frequency = <10000000>;
789 vcc-supply = <&vcc_3v0>;
803 rockchip,hw-tshut-mode = <1>;
805 rockchip,hw-tshut-polarity = <1>;
812 u2phy0_otg: otg-port {
816 u2phy0_host: host-port {
817 phy-supply = <&vcc5v0_host>;
825 u2phy1_otg: otg-port {
829 u2phy1_host: host-port {
830 phy-supply = <&vcc5v0_host>;
836 pinctrl-names = "default";
837 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
841 compatible = "brcm,bcm43438-bt";
843 clock-names = "lpo";
844 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
845 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
846 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
847 pinctrl-names = "default";
848 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
849 vbat-supply = <&vcc3v3_sys>;
850 vddio-supply = <&vcc_1v8>;