Lines Matching +full:scl +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>
10 #include "rk3399-opp.dtsi"
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>;
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-cells = <2>;
73 fan-supply = <&vcc12v_dcin>;
77 sdio_pwrseq: sdio-pwrseq {
78 compatible = "mmc-pwrseq-simple";
80 clock-names = "ext_clock";
81 pinctrl-names = "default";
82 pinctrl-0 = <&wifi_enable_h>;
83 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
87 compatible = "audio-graph-card";
92 sound-dit {
93 compatible = "audio-graph-card";
98 spdif-dit {
99 compatible = "linux,spdif-dit";
100 #sound-dai-cells = <0>;
104 remote-endpoint = <&spdif_p0_0>;
109 vcc12v_dcin: vcc12v-dcin {
110 compatible = "regulator-fixed";
111 regulator-name = "vcc12v_dcin";
112 regulator-always-on;
113 regulator-boot-on;
114 regulator-min-microvolt = <12000000>;
115 regulator-max-microvolt = <12000000>;
119 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
120 compatible = "regulator-fixed";
121 regulator-name = "vcc1v8_s3";
122 regulator-always-on;
123 regulator-boot-on;
124 regulator-min-microvolt = <1800000>;
125 regulator-max-microvolt = <1800000>;
126 vin-supply = <&vcc_1v8>;
130 vcc3v0_sd: vcc3v0-sd {
131 compatible = "regulator-fixed";
132 enable-active-high;
134 pinctrl-names = "default";
135 pinctrl-0 = <&sdmmc0_pwr_h>;
136 regulator-name = "vcc3v0_sd";
137 regulator-always-on;
138 regulator-min-microvolt = <3000000>;
139 regulator-max-microvolt = <3000000>;
140 vin-supply = <&vcc3v3_sys>;
142 regulator-state-mem {
143 regulator-off-in-suspend;
147 vcc3v3_pcie: vcc3v3-pcie-regulator {
148 compatible = "regulator-fixed";
149 enable-active-high;
151 pinctrl-names = "default";
152 pinctrl-0 = <&pcie_pwr_en>;
153 regulator-name = "vcc3v3_pcie";
154 regulator-always-on;
155 regulator-boot-on;
156 vin-supply = <&vcc12v_dcin>;
159 vcc3v3_sys: vcc3v3-sys {
160 compatible = "regulator-fixed";
161 regulator-name = "vcc3v3_sys";
162 regulator-always-on;
163 regulator-boot-on;
164 regulator-min-microvolt = <3300000>;
165 regulator-max-microvolt = <3300000>;
166 vin-supply = <&vcc5v0_sys>;
170 vcc5v0_host: vcc5v0-host-regulator {
171 compatible = "regulator-fixed";
172 enable-active-high;
174 pinctrl-names = "default";
175 pinctrl-0 = <&vcc5v0_host_en>;
176 regulator-name = "vcc5v0_host";
177 regulator-always-on;
178 vin-supply = <&vcc5v0_usb>;
181 vcc5v0_typec: vcc5v0-typec-regulator {
182 compatible = "regulator-fixed";
183 enable-active-high;
185 pinctrl-names = "default";
186 pinctrl-0 = <&vcc5v0_typec_en>;
187 regulator-name = "vcc5v0_typec";
188 regulator-always-on;
189 vin-supply = <&vcc5v0_usb>;
192 vcc5v0_sys: vcc5v0-sys {
193 compatible = "regulator-fixed";
194 regulator-name = "vcc5v0_sys";
195 regulator-always-on;
196 regulator-boot-on;
197 regulator-min-microvolt = <5000000>;
198 regulator-max-microvolt = <5000000>;
199 vin-supply = <&vcc12v_dcin>;
202 vcc5v0_usb: vcc5v0-usb {
203 compatible = "regulator-fixed";
204 regulator-name = "vcc5v0_usb";
205 regulator-always-on;
206 regulator-boot-on;
207 regulator-min-microvolt = <5000000>;
208 regulator-max-microvolt = <5000000>;
209 vin-supply = <&vcc12v_dcin>;
212 vdd_log: vdd-log {
213 compatible = "pwm-regulator";
215 regulator-name = "vdd_log";
216 regulator-always-on;
217 regulator-boot-on;
218 regulator-min-microvolt = <800000>;
219 regulator-max-microvolt = <1700000>;
220 vin-supply = <&vcc5v0_sys>;
225 cpu-supply = <&vdd_cpu_l>;
229 cpu-supply = <&vdd_cpu_l>;
233 cpu-supply = <&vdd_cpu_l>;
237 cpu-supply = <&vdd_cpu_l>;
241 cpu-supply = <&vdd_cpu_b>;
245 cpu-supply = <&vdd_cpu_b>;
253 assigned-clocks = <&cru SCLK_RMII_SRC>;
254 assigned-clock-parents = <&clkin_gmac>;
256 phy-supply = <&vcc_lan>;
257 phy-mode = "rgmii";
258 pinctrl-names = "default";
259 pinctrl-0 = <&rgmii_pins>;
260 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
261 snps,reset-active-low;
262 snps,reset-delays-us = <0 10000 50000>;
269 ddc-i2c-bus = <&i2c3>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&hdmi_cec>;
280 mali-supply = <&vdd_gpu>;
285 clock-frequency = <400000>;
286 i2c-scl-rising-time-ns = <168>;
287 i2c-scl-falling-time-ns = <4>;
293 interrupt-parent = <&gpio3>;
295 #clock-cells = <1>;
296 clock-output-names = "xin32k", "rk808-clkout2";
297 pinctrl-names = "default";
298 pinctrl-0 = <&pmic_int_l>;
299 rockchip,system-power-controller;
300 wakeup-source;
302 vcc1-supply = <&vcc5v0_sys>;
303 vcc2-supply = <&vcc5v0_sys>;
304 vcc3-supply = <&vcc5v0_sys>;
305 vcc4-supply = <&vcc5v0_sys>;
306 vcc6-supply = <&vcc5v0_sys>;
307 vcc7-supply = <&vcc5v0_sys>;
308 vcc8-supply = <&vcc3v3_sys>;
309 vcc9-supply = <&vcc5v0_sys>;
310 vcc10-supply = <&vcc5v0_sys>;
311 vcc11-supply = <&vcc5v0_sys>;
312 vcc12-supply = <&vcc3v3_sys>;
313 vddio-supply = <&vcca_1v8>;
317 regulator-name = "vdd_center";
318 regulator-always-on;
319 regulator-boot-on;
320 regulator-min-microvolt = <750000>;
321 regulator-max-microvolt = <1350000>;
322 regulator-ramp-delay = <6001>;
323 regulator-state-mem {
324 regulator-off-in-suspend;
329 regulator-name = "vdd_cpu_l";
330 regulator-always-on;
331 regulator-boot-on;
332 regulator-min-microvolt = <750000>;
333 regulator-max-microvolt = <1350000>;
334 regulator-ramp-delay = <6001>;
335 regulator-state-mem {
336 regulator-off-in-suspend;
341 regulator-name = "vcc_ddr";
342 regulator-always-on;
343 regulator-boot-on;
344 regulator-state-mem {
345 regulator-on-in-suspend;
350 regulator-name = "vcc_1v8";
351 regulator-always-on;
352 regulator-boot-on;
353 regulator-min-microvolt = <1800000>;
354 regulator-max-microvolt = <1800000>;
355 regulator-state-mem {
356 regulator-on-in-suspend;
357 regulator-suspend-microvolt = <1800000>;
362 regulator-name = "vcc1v8_dvp";
363 regulator-always-on;
364 regulator-boot-on;
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
367 regulator-state-mem {
368 regulator-off-in-suspend;
373 regulator-name = "vcc3v0_touch";
374 regulator-always-on;
375 regulator-boot-on;
376 regulator-min-microvolt = <3000000>;
377 regulator-max-microvolt = <3000000>;
378 regulator-state-mem {
379 regulator-off-in-suspend;
384 regulator-name = "vcca_1v8";
385 regulator-always-on;
386 regulator-boot-on;
387 regulator-min-microvolt = <1800000>;
388 regulator-max-microvolt = <1800000>;
389 regulator-state-mem {
390 regulator-on-in-suspend;
391 regulator-suspend-microvolt = <1800000>;
396 regulator-name = "vcc_sdio";
397 regulator-always-on;
398 regulator-boot-on;
399 regulator-min-microvolt = <1800000>;
400 regulator-max-microvolt = <3000000>;
401 regulator-state-mem {
402 regulator-on-in-suspend;
403 regulator-suspend-microvolt = <3000000>;
408 regulator-name = "vcca3v0_codec";
409 regulator-always-on;
410 regulator-boot-on;
411 regulator-min-microvolt = <3000000>;
412 regulator-max-microvolt = <3000000>;
413 regulator-state-mem {
414 regulator-off-in-suspend;
419 regulator-name = "vcc_1v5";
420 regulator-always-on;
421 regulator-boot-on;
422 regulator-min-microvolt = <1500000>;
423 regulator-max-microvolt = <1500000>;
424 regulator-state-mem {
425 regulator-on-in-suspend;
426 regulator-suspend-microvolt = <1500000>;
431 regulator-name = "vcca1v8_codec";
432 regulator-always-on;
433 regulator-boot-on;
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <1800000>;
436 regulator-state-mem {
437 regulator-off-in-suspend;
442 regulator-name = "vcc_3v0";
443 regulator-always-on;
444 regulator-boot-on;
445 regulator-min-microvolt = <3000000>;
446 regulator-max-microvolt = <3000000>;
447 regulator-state-mem {
448 regulator-on-in-suspend;
449 regulator-suspend-microvolt = <3000000>;
454 regulator-name = "vcc3v3_s3";
455 regulator-always-on;
456 regulator-boot-on;
457 regulator-state-mem {
458 regulator-off-in-suspend;
463 regulator-name = "vcc3v3_s0";
464 regulator-always-on;
465 regulator-boot-on;
466 regulator-state-mem {
467 regulator-off-in-suspend;
476 fcs,suspend-voltage-selector = <1>;
477 pinctrl-names = "default";
478 pinctrl-0 = <&vsel1_pin>;
479 regulator-name = "vdd_cpu_b";
480 regulator-min-microvolt = <712500>;
481 regulator-max-microvolt = <1500000>;
482 regulator-ramp-delay = <1000>;
483 regulator-always-on;
484 regulator-boot-on;
485 vin-supply = <&vcc5v0_sys>;
487 regulator-state-mem {
488 regulator-off-in-suspend;
495 fcs,suspend-voltage-selector = <1>;
496 pinctrl-names = "default";
497 pinctrl-0 = <&vsel2_pin>;
498 regulator-name = "vdd_gpu";
499 regulator-min-microvolt = <712500>;
500 regulator-max-microvolt = <1500000>;
501 regulator-ramp-delay = <1000>;
502 regulator-always-on;
503 regulator-boot-on;
504 vin-supply = <&vcc5v0_sys>;
506 regulator-state-mem {
507 regulator-off-in-suspend;
513 i2c-scl-rising-time-ns = <300>;
514 i2c-scl-falling-time-ns = <15>;
519 i2c-scl-rising-time-ns = <450>;
520 i2c-scl-falling-time-ns = <15>;
525 i2c-scl-rising-time-ns = <600>;
526 i2c-scl-falling-time-ns = <20>;
529 fusb0: typec-portc@22 {
532 interrupt-parent = <&gpio1>;
534 pinctrl-names = "default";
535 pinctrl-0 = <&fusb0_int>;
536 vbus-supply = <&vcc5v0_typec>;
542 rockchip,playback-channels = <8>;
543 rockchip,capture-channels = <8>;
548 rockchip,playback-channels = <2>;
549 rockchip,capture-channels = <2>;
554 dai-format = "i2s";
555 mclk-fs = <256>;
556 remote-endpoint = <&es8316_p0_0>;
568 bt656-supply = <&vcc1v8_dvp>;
569 audio-supply = <&vcc_3v0>;
570 sdmmc-supply = <&vcc_sdio>;
571 gpio1830-supply = <&vcc_3v0>;
575 ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
576 num-lanes = <4>;
577 pinctrl-names = "default";
578 pinctrl-0 = <&pcie_perst>;
579 vpcie12v-supply = <&vcc12v_dcin>;
580 vpcie3v3-supply = <&vcc3v3_pcie>;
589 pmu1830-supply = <&vcc_3v0>;
595 bt_enable_h: bt-enable-h {
599 bt_host_wake_l: bt-host-wake-l {
603 bt_wake_l: bt-wake-l {
615 fusb0_int: fusb0-int {
621 ir_int: ir-int {
627 work_led_pin: work-led-pin {
631 diy_led_pin: diy-led-pin {
637 pcie_perst: pcie-perst {
641 pcie_pwr_en: pcie-pwr-en {
647 pmic_int_l: pmic-int-l {
651 vsel1_pin: vsel1-pin {
655 vsel2_pin: vsel2-pin {
661 sdmmc0_pwr_h: sdmmc0-pwr-h {
667 sdio-pwrseq {
668 wifi_enable_h: wifi-enable-h {
673 usb-typec {
680 vcc5v0_host_en: vcc5v0-host-en {
699 vref-supply = <&vcca1v8_s3>;
704 bus-width = <4>;
705 cap-sd-highspeed;
706 cap-sdio-irq;
707 disable-wp;
708 keep-power-in-suspend;
709 mmc-pwrseq = <&sdio_pwrseq>;
710 non-removable;
711 pinctrl-names = "default";
712 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
713 sd-uhs-sdr104;
718 bus-width = <4>;
719 cap-sd-highspeed;
720 cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
721 disable-wp;
722 max-frequency = <150000000>;
723 pinctrl-names = "default";
724 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
725 vmmc-supply = <&vcc3v0_sd>;
726 vqmmc-supply = <&vcc_sdio>;
731 bus-width = <8>;
732 mmc-hs200-1_8v;
733 non-removable;
738 pinctrl-0 = <&spdif_bus_1>;
742 remote-endpoint = <&dit_p0_0>;
751 compatible = "jedec,spi-nor";
753 spi-max-frequency = <10000000>;
767 rockchip,hw-tshut-mode = <1>;
769 rockchip,hw-tshut-polarity = <1>;
776 u2phy0_otg: otg-port {
780 u2phy0_host: host-port {
781 phy-supply = <&vcc5v0_host>;
789 u2phy1_otg: otg-port {
793 u2phy1_host: host-port {
794 phy-supply = <&vcc5v0_host>;
800 pinctrl-names = "default";
801 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
805 compatible = "brcm,bcm43438-bt";
807 clock-names = "lpo";
808 device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
809 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
810 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
811 pinctrl-names = "default";
812 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
813 vbat-supply = <&vcc3v3_sys>;
814 vddio-supply = <&vcc_1v8>;