Lines Matching +full:en +full:- +full:host1

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/pwm/pwm.h>
9 #include <dt-bindings/usb/pd.h>
11 #include "rk3399-opp.dtsi"
14 model = "OPEN AI LAB EAIDK-610";
15 compatible = "openailab,eaidk-610", "rockchip,rk3399";
25 compatible = "pwm-backlight";
27 brightness-levels = <
60 default-brightness-level = <200>;
63 clkin_gmac: external-gmac-clock {
64 compatible = "fixed-clock";
65 clock-frequency = <125000000>;
66 clock-output-names = "clkin_gmac";
67 #clock-cells = <0>;
70 dc_12v: dc-12v {
71 compatible = "regulator-fixed";
72 regulator-name = "dc_12v";
73 regulator-always-on;
74 regulator-boot-on;
75 regulator-min-microvolt = <12000000>;
76 regulator-max-microvolt = <12000000>;
79 gpio-keys {
80 compatible = "gpio-keys";
82 pinctrl-names = "default";
83 pinctrl-0 = <&pwrbtn>;
85 key-power {
86 debounce-interval = <100>;
90 wakeup-source;
95 compatible = "gpio-leds";
96 pinctrl-names = "default";
97 pinctrl-0 = <&work_led_pin>, <&user_led_pin>,
101 work_led: led-0 {
103 default-state = "on";
107 user_led: led-1 {
109 default-state = "off";
113 heartbeat_led: led-2 {
115 linux,default-trigger = "heartbeat";
119 wlan_active_led: led-3 {
122 linux,default-trigger = "phy0tx";
123 default-state = "off";
126 bt_active_led: led-4 {
129 linux,default-trigger = "hci0-power";
130 default-state = "off";
134 rt5651-sound {
135 compatible = "simple-audio-card";
136 simple-audio-card,name = "realtek,rt5651-codec";
137 simple-audio-card,format = "i2s";
138 simple-audio-card,mclk-fs = <256>;
139 simple-audio-card,widgets =
142 simple-audio-card,routing =
147 simple-audio-card,cpu {
148 sound-dai = <&i2s1>;
150 simple-audio-card,codec {
151 sound-dai = <&rt5651>;
155 sdio_pwrseq: sdio-pwrseq {
156 compatible = "mmc-pwrseq-simple";
158 clock-names = "ext_clock";
159 pinctrl-names = "default";
160 pinctrl-0 = <&wifi_enable_h>;
165 * - SDIO_RESET_L_WL_REG_ON
166 * - PDN (power down when low)
168 reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
172 vcc1v8_s3: vcca1v8_s3: vcc1v8-s3 {
173 compatible = "regulator-fixed";
174 regulator-name = "vcc1v8_s3";
175 regulator-always-on;
176 regulator-boot-on;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
179 vin-supply = <&vcc_1v8>;
182 vcc3v3_sys: vcc3v3-sys {
183 compatible = "regulator-fixed";
184 regulator-name = "vcc3v3_sys";
185 regulator-always-on;
186 regulator-boot-on;
187 regulator-min-microvolt = <3300000>;
188 regulator-max-microvolt = <3300000>;
189 vin-supply = <&dc_12v>;
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 = <&dc_12v>;
203 vcc5v0_host1: vcc5v0-host1-regulator {
204 compatible = "regulator-fixed";
205 enable-active-high;
207 pinctrl-names = "default";
208 pinctrl-0 = <&vcc5v0_host1_en>;
209 regulator-name = "vcc5v0_host1";
210 regulator-always-on;
211 vin-supply = <&vcc5v0_sys>;
215 vcc5v0_host3: vcc5v0-host3-regulator {
216 compatible = "regulator-fixed";
217 enable-active-high;
219 pinctrl-names = "default";
220 pinctrl-0 = <&vcc5v0_host3_en>;
221 regulator-name = "vcc5v0_host3";
222 regulator-always-on;
223 vin-supply = <&vcc5v0_sys>;
226 vcc5v0_typec: vcc5v0-typec-regulator {
227 compatible = "regulator-fixed";
228 enable-active-high;
230 pinctrl-names = "default";
231 pinctrl-0 = <&vcc5v0_typec_en>;
232 regulator-name = "vcc5v0_typec";
233 regulator-always-on;
234 vin-supply = <&vcc3v3_sys>;
237 vdd_log: vdd-log {
238 compatible = "regulator-fixed";
239 regulator-name = "vdd_log";
240 regulator-always-on;
241 regulator-boot-on;
242 regulator-min-microvolt = <900000>;
243 regulator-max-microvolt = <900000>;
248 cpu-supply = <&vdd_cpu_l>;
252 cpu-supply = <&vdd_cpu_l>;
256 cpu-supply = <&vdd_cpu_l>;
260 cpu-supply = <&vdd_cpu_l>;
264 cpu-supply = <&vdd_cpu_b>;
268 cpu-supply = <&vdd_cpu_b>;
276 assigned-clocks = <&cru SCLK_RMII_SRC>;
277 assigned-clock-parents = <&clkin_gmac>;
279 phy-supply = <&vcc_lan>;
280 phy-mode = "rgmii";
281 pinctrl-names = "default";
282 pinctrl-0 = <&rgmii_pins>;
283 snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
284 snps,reset-active-low;
285 snps,reset-delays-us = <0 10000 50000>;
292 mali-supply = <&vdd_gpu>;
297 ddc-i2c-bus = <&i2c3>;
298 pinctrl-names = "default";
299 pinctrl-0 = <&hdmi_cec>;
309 interrupt-parent = <&gpio1>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&pmic_int_l>;
313 rockchip,system-power-controller;
314 wakeup-source;
315 #clock-cells = <1>;
316 clock-output-names = "xin32k", "rk808-clkout2";
318 vcc1-supply = <&vcc3v3_sys>;
319 vcc2-supply = <&vcc3v3_sys>;
320 vcc3-supply = <&vcc3v3_sys>;
321 vcc4-supply = <&vcc3v3_sys>;
322 vcc6-supply = <&vcc3v3_sys>;
323 vcc7-supply = <&vcc3v3_sys>;
324 vcc8-supply = <&vcc3v3_sys>;
325 vcc9-supply = <&vcc3v3_sys>;
326 vcc10-supply = <&vcc3v3_sys>;
327 vcc11-supply = <&vcc3v3_sys>;
328 vcc12-supply = <&vcc3v3_sys>;
329 vddio-supply = <&vcc_3v0>;
333 regulator-name = "vdd_center";
334 regulator-min-microvolt = <750000>;
335 regulator-max-microvolt = <1350000>;
336 regulator-ramp-delay = <6001>;
337 regulator-always-on;
338 regulator-boot-on;
340 regulator-state-mem {
341 regulator-off-in-suspend;
346 regulator-name = "vdd_cpu_l";
347 regulator-min-microvolt = <750000>;
348 regulator-max-microvolt = <1350000>;
349 regulator-ramp-delay = <6001>;
350 regulator-always-on;
351 regulator-boot-on;
353 regulator-state-mem {
354 regulator-off-in-suspend;
359 regulator-name = "vcc_ddr";
360 regulator-always-on;
361 regulator-boot-on;
362 regulator-state-mem {
363 regulator-on-in-suspend;
368 regulator-name = "vcc_1v8";
369 regulator-min-microvolt = <1800000>;
370 regulator-max-microvolt = <1800000>;
371 regulator-always-on;
372 regulator-boot-on;
374 regulator-state-mem {
375 regulator-on-in-suspend;
376 regulator-suspend-microvolt = <1800000>;
381 regulator-name = "vcc1v8_dvp";
382 regulator-min-microvolt = <1800000>;
383 regulator-max-microvolt = <1800000>;
384 regulator-always-on;
385 regulator-boot-on;
387 regulator-state-mem {
388 regulator-off-in-suspend;
393 regulator-name = "vcc2v8_dvp";
394 regulator-min-microvolt = <2800000>;
395 regulator-max-microvolt = <2800000>;
396 regulator-always-on;
397 regulator-boot-on;
399 regulator-state-mem {
400 regulator-off-in-suspend;
405 regulator-name = "vcc1v8_pmu";
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
408 regulator-always-on;
409 regulator-boot-on;
411 regulator-state-mem {
412 regulator-on-in-suspend;
413 regulator-suspend-microvolt = <1800000>;
418 regulator-name = "vcc_sdio";
419 regulator-min-microvolt = <1800000>;
420 regulator-max-microvolt = <3000000>;
421 regulator-always-on;
422 regulator-boot-on;
424 regulator-state-mem {
425 regulator-on-in-suspend;
426 regulator-suspend-microvolt = <3000000>;
431 regulator-name = "vcca3v0_codec";
432 regulator-min-microvolt = <3000000>;
433 regulator-max-microvolt = <3000000>;
434 regulator-always-on;
435 regulator-boot-on;
437 regulator-state-mem {
438 regulator-off-in-suspend;
443 regulator-name = "vcc_1v5";
444 regulator-min-microvolt = <1500000>;
445 regulator-max-microvolt = <1500000>;
446 regulator-always-on;
447 regulator-boot-on;
449 regulator-state-mem {
450 regulator-on-in-suspend;
451 regulator-suspend-microvolt = <1500000>;
456 regulator-name = "vcca1v8_codec";
457 regulator-min-microvolt = <1800000>;
458 regulator-max-microvolt = <1800000>;
459 regulator-always-on;
460 regulator-boot-on;
462 regulator-state-mem {
463 regulator-off-in-suspend;
468 regulator-name = "vcc_3v0";
469 regulator-min-microvolt = <3000000>;
470 regulator-max-microvolt = <3000000>;
471 regulator-always-on;
472 regulator-boot-on;
474 regulator-state-mem {
475 regulator-on-in-suspend;
476 regulator-suspend-microvolt = <3000000>;
481 regulator-name = "vcc3v3_s3";
482 regulator-always-on;
483 regulator-boot-on;
484 regulator-state-mem {
485 regulator-off-in-suspend;
490 regulator-name = "vcc3v3_s0";
491 regulator-always-on;
492 regulator-boot-on;
493 regulator-state-mem {
494 regulator-off-in-suspend;
503 fcs,suspend-voltage-selector = <1>;
504 regulator-name = "vdd_cpu_b";
505 pinctrl-names = "default";
506 pinctrl-0 = <&vsel1_pin>;
507 regulator-min-microvolt = <712500>;
508 regulator-max-microvolt = <1500000>;
509 regulator-ramp-delay = <1000>;
510 regulator-always-on;
511 regulator-boot-on;
512 vin-supply = <&vcc3v3_sys>;
514 regulator-state-mem {
515 regulator-off-in-suspend;
522 fcs,suspend-voltage-selector = <1>;
523 regulator-name = "vdd_gpu";
524 pinctrl-names = "default";
525 pinctrl-0 = <&vsel2_pin>;
526 regulator-min-microvolt = <712500>;
527 regulator-max-microvolt = <1500000>;
528 regulator-ramp-delay = <1000>;
529 regulator-always-on;
530 regulator-boot-on;
531 vin-supply = <&vcc3v3_sys>;
533 regulator-state-mem {
534 regulator-off-in-suspend;
540 i2c-scl-rising-time-ns = <300>;
541 i2c-scl-falling-time-ns = <15>;
544 rt5651: audio-codec@1a {
548 clock-names = "mclk";
549 hp-det-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
550 spk-con-gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
551 #sound-dai-cells = <0>;
557 i2c-scl-rising-time-ns = <450>;
558 i2c-scl-falling-time-ns = <15>;
563 i2c-scl-rising-time-ns = <600>;
564 i2c-scl-falling-time-ns = <20>;
567 fusb0: typec-portc@22 {
570 interrupt-parent = <&gpio1>;
572 pinctrl-names = "default";
573 pinctrl-0 = <&fusb0_int>;
574 vbus-supply = <&vcc5v0_typec>;
577 #address-cells = <1>;
578 #size-cells = <0>;
583 remote-endpoint = <&dwc3_0_role_switch>;
589 compatible = "usb-c-connector";
590 data-role = "dual";
591 label = "USB-C";
594 #address-cells = <1>;
595 #size-cells = <0>;
601 remote-endpoint = <&u2phy0_typec_hs>;
609 remote-endpoint = <&tcphy0_typec_ss>;
618 rockchip,playback-channels = <2>;
619 rockchip,capture-channels = <2>;
630 audio-supply = <&vcca1v8_codec>;
631 bt656-supply = <&vcc_3v0>;
632 gpio1830-supply = <&vcc_3v0>;
633 sdmmc-supply = <&vcc_sdio>;
639 pmu1830-supply = <&vcc_3v0>;
650 bt_enable_h: bt-enable-h {
654 bt_host_wake_l: bt-host-wake-l {
658 bt_wake_l: bt-wake-l {
664 fusb0_int: fusb0-int {
669 lcd-panel {
670 lcd_panel_reset: lcd-panel-reset {
676 work_led_pin: work-led-pin {
680 user_led_pin: user-led-pin {
684 heartbeat_led_pin: heartbeat-led-pin {
688 wlan_active_led_pin: wlan-led-pin {
692 bt_active_led_pin: bt-led-pin {
700 pmic_int_l: pmic-int-l {
704 vsel1_pin: vsel1-pin {
708 vsel2_pin: vsel2-pin {
714 rt5651_hpcon: rt5640-hpcon {
719 sdio-pwrseq {
720 wifi_enable_h: wifi-enable-h {
725 usb-typec {
732 vcc5v0_host3_en: vcc5v0-host3-en {
736 vcc5v0_host1_en: vcc5v0-host1-en {
742 wifi_host_wake_l: wifi-host-wake-l {
753 vref-supply = <&vcca1v8_s3>;
759 #address-cells = <1>;
760 #size-cells = <0>;
761 bus-width = <4>;
762 clock-frequency = <50000000>;
763 cap-sdio-irq;
764 cap-sd-highspeed;
765 keep-power-in-suspend;
766 mmc-pwrseq = <&sdio_pwrseq>;
767 non-removable;
768 pinctrl-names = "default";
769 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
770 sd-uhs-sdr104;
774 compatible = "brcm,bcm4329-fmac";
776 interrupt-parent = <&gpio0>;
778 interrupt-names = "host-wake";
779 pinctrl-names = "default";
780 pinctrl-0 = <&wifi_host_wake_l>;
785 bus-width = <4>;
786 cap-mmc-highspeed;
787 cap-sd-highspeed;
788 cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
789 disable-wp;
790 max-frequency = <150000000>;
791 pinctrl-names = "default";
792 pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>;
797 bus-width = <8>;
798 non-removable;
807 orientation-switch;
810 remote-endpoint = <&usbc_ss>;
821 rockchip,hw-tshut-mode = <1>;
823 rockchip,hw-tshut-polarity = <1>;
830 u2phy0_otg: otg-port {
834 u2phy0_host: host-port {
835 phy-supply = <&vcc5v0_host3>;
841 remote-endpoint = <&usbc_hs>;
849 u2phy1_otg: otg-port {
853 u2phy1_host: host-port {
854 phy-supply = <&vcc5v0_host3>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
867 clock-names = "lpo";
868 device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>;
869 host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
870 shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
871 max-speed = <1500000>;
872 pinctrl-names = "default";
873 pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>;
874 vbat-supply = <&vcc3v3_sys>;
875 vddio-supply = <&vcc_1v8>;
905 usb-role-switch;
908 #address-cells = <1>;
909 #size-cells = <0>;
912 remote-endpoint = <&usbc0_role_sw>;