// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2021 Rockchip Electronics Co., Ltd. * */ /dts-v1/; #include "dt-bindings/usb/pd.h" #include "rk3588s.dtsi" #include "rk3588-linux.dtsi" #include "rk3588-rk806-single.dtsi" #include #include #include #include #include #include #include #include "rk3588s-orangepi-5-camera1.dtsi" #include "rk3588s-orangepi-5-camera2.dtsi" #include "rk3588s-orangepi-5-camera3.dtsi" / { model = "Orange Pi 5"; compatible = "rockchip,rk3588s-orangepi-5", "rockchip,rk3588"; /delete-node/ chosen; adc_keys: adc-keys { compatible = "adc-keys"; io-channels = <&saradc 1>; io-channel-names = "buttons"; keyup-threshold-microvolt = <1800000>; poll-interval = <100>; vol-up-key { label = "volume up"; linux,code = ; press-threshold-microvolt = <17000>; }; vol-down-key { label = "volume down"; linux,code = ; press-threshold-microvolt = <417000>; }; menu-key { label = "menu"; linux,code = ; press-threshold-microvolt = <890000>; }; back-key { label = "back"; linux,code = ; press-threshold-microvolt = <1235000>; }; }; dp0_sound: dp0-sound { status = "okay"; compatible = "rockchip,hdmi"; rockchip,card-name= "rockchip-dp0"; rockchip,mclk-fs = <512>; rockchip,cpu = <&spdif_tx2>; rockchip,codec = <&dp0 1>; rockchip,jack-det; }; hdmi0_sound: hdmi0-sound { status = "okay"; compatible = "rockchip,hdmi"; rockchip,mclk-fs = <128>; rockchip,card-name = "rockchip-hdmi0"; rockchip,cpu = <&i2s5_8ch>; rockchip,codec = <&hdmi0>; rockchip,jack-det; }; spdif_tx1_dc: spdif-tx1-dc { status = "disabled"; compatible = "linux,spdif-dit"; #sound-dai-cells = <0>; }; spdif_tx1_sound: spdif-tx1-sound { status = "disabled"; compatible = "simple-audio-card"; simple-audio-card,name = "rockchip,spdif-tx1"; simple-audio-card,cpu { sound-dai = <&spdif_tx1>; }; simple-audio-card,codec { sound-dai = <&spdif_tx1_dc>; }; }; test-power { status = "okay"; }; vcc12v_dcin: vcc12v-dcin { compatible = "regulator-fixed"; regulator-name = "vcc12v_dcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <12000000>; regulator-max-microvolt = <12000000>; }; vcc5v0_sys: vcc5v0-sys { compatible = "regulator-fixed"; regulator-name = "vcc5v0_sys"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 { compatible = "regulator-fixed"; regulator-name = "vcc_1v1_nldo_s3"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; vin-supply = <&vcc5v0_sys>; }; vcc_3v3_sd_s0: vcc-3v3-sd-s0 { compatible = "regulator-fixed"; regulator-name = "vcc_3v3_sd_s0"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; enable-active-low; vin-supply = <&vcc_3v3_s3>; regulator-state-mem { regulator-off-in-suspend; }; }; vcc3v3_pcie2x1l2: vcc3v3-pcie2x1l2 { compatible = "regulator-fixed"; regulator-name = "vcc3v3_pcie2x1l2"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; enable-active-high; regulator-boot-on; regulator-always-on; gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; startup-delay-us = <50000>; vin-supply = <&vcc5v0_sys>; }; vcc5v0_usbdcin: vcc5v0-usbdcin { compatible = "regulator-fixed"; regulator-name = "vcc5v0_usbdcin"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc12v_dcin>; }; vcc5v0_usb: vcc5v0-usb { compatible = "regulator-fixed"; regulator-name = "vcc5v0_usb"; regulator-always-on; regulator-boot-on; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; vin-supply = <&vcc5v0_usbdcin>; }; vbus5v0_typec: vbus5v0-typec { compatible = "regulator-fixed"; regulator-name = "vbus5v0_typec"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; enable-active-high; gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; vin-supply = <&vcc5v0_usb>; pinctrl-names = "default"; pinctrl-0 = <&typec5v_pwren>; }; es8388_sound: es8388-sound { status = "okay"; compatible = "rockchip,multicodecs-card"; rockchip,card-name = "rockchip-es8388"; hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; io-channels = <&saradc 3>; io-channel-names = "adc-detect"; keyup-threshold-microvolt = <1800000>; poll-interval = <100>; rockchip,format = "i2s"; rockchip,mclk-fs = <256>; rockchip,cpu = <&i2s1_8ch>; rockchip,codec = <&es8388>; rockchip,audio-routing = "Headphone", "LOUT1", "Headphone", "ROUT1", "Headphone", "Headphone Power", "Headphone", "Headphone Power", "LINPUT1", "Main Mic", "LINPUT2", "Main Mic", "RINPUT1", "Headset Mic", "RINPUT2", "Headset Mic"; pinctrl-names = "default"; pinctrl-0 = <&hp_det>; play-pause-key { label = "playpause"; linux,code = ; press-threshold-microvolt = <2000>; }; }; wireless_bluetooth: wireless-bluetooth { compatible = "bluetooth-platdata"; clocks = <&hym8563>; clock-names = "ext_clock"; uart_rts_gpios = <&gpio3 RK_PD2 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "rts_gpio"; pinctrl-0 = <&uart9m2_rtsn>, <&bt_gpio>; pinctrl-1 = <&uart9_gpios>; BT,reset_gpio = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>; BT,wake_gpio = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; status = "disabled"; }; wireless_wlan: wireless-wlan { compatible = "wlan-platdata"; wifi_chip_type = "ap6275p"; pinctrl-names = "default"; pinctrl-0 = <&wifi_host_wake_irq>, <&wifi_poweren_gpio>; WIFI,host_wake_irq = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; WIFI,poweren_gpio = <&gpio0 RK_PD0 GPIO_ACTIVE_HIGH>; status = "disabled"; }; leds: gpio-leds { compatible = "gpio-leds"; pinctrl-names = "default"; pinctrl-0 =<&leds_gpio>; status = "okay"; led@1 { gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; label = "status_led"; linux,default-trigger = "heartbeat"; linux,default-trigger-delay-ms = <0>; }; }; /* If hdmirx node is disabled, delete the reserved-memory node here. */ reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; /* Reserve 256MB memory for hdmirx-controller@fdee0000 */ cma { compatible = "shared-dma-pool"; reusable; reg = <0x0 (256 * 0x100000) 0x0 (256 * 0x100000)>; linux,cma-default; }; }; }; &av1d { status = "okay"; }; &av1d_mmu { status = "okay"; }; &can1 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&can1m1_pins>; assigned-clocks = <&cru CLK_CAN1>; assigned-clock-rates = <200000000>; }; /* pin15: GPIO0_D4 pin12: GPIO0_D5 */ &can2 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&can2m1_pins>; assigned-clocks = <&cru CLK_CAN2>; assigned-clock-rates = <200000000>; }; &cpu_l0 { cpu-supply = <&vdd_cpu_lit_s0>; mem-supply = <&vdd_cpu_lit_mem_s0>; }; &cpu_b0 { cpu-supply = <&vdd_cpu_big0_s0>; mem-supply = <&vdd_cpu_big0_mem_s0>; }; &cpu_b2 { cpu-supply = <&vdd_cpu_big1_s0>; mem-supply = <&vdd_cpu_big1_mem_s0>; }; &combphy0_ps { status = "okay"; }; &combphy2_psu { status = "okay"; }; /* Fix tty terminal out of screen, and most dclk of resolutions was not supported in hdmiphy clock from parent clock by default */ &display_subsystem { clocks = <&hdptxphy_hdmi0>; clock-names = "hdmi0_phy_pll"; }; &dp0 { status = "okay"; }; &dp0_in_vp2 { status = "okay"; }; &gpu { mali-supply = <&vdd_gpu_s0>; mem-supply = <&vdd_gpu_mem_s0>; status = "okay"; }; &gmac1 { /* Use rgmii-rxid mode to disable rx delay inside Soc */ phy-mode = "rgmii-rxid"; clock_in_out = "output"; snps,reset-gpio = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; snps,reset-active-low; /* Reset time is 20ms, 100ms for rtl8211f */ snps,reset-delays-us = <0 20000 100000>; pinctrl-names = "default"; pinctrl-0 = <&gmac1_miim &gmac1_tx_bus2 &gmac1_rx_bus2 &gmac1_rgmii_clk &gmac1_rgmii_bus>; tx_delay = <0x42>; /* rx_delay = <0x3f>; */ phy-handle = <&rgmii_phy1>; status = "okay"; }; &mdio1 { rgmii_phy1: phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0x1>; }; }; &hdmi0 { enable-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; cec-enable; status = "okay"; }; &hdmi0_in_vp0 { status = "okay"; }; &hdptxphy_hdmi0 { status = "okay"; }; &i2c0 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c0m2_xfer>; vdd_cpu_big0_s0: vdd_cpu_big0_mem_s0: rk8602@42 { compatible = "rockchip,rk8602"; reg = <0x42>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_cpu_big0_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <1050000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; vdd_cpu_big1_s0: vdd_cpu_big1_mem_s0: rk8603@43 { compatible = "rockchip,rk8603"; reg = <0x43>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_cpu_big1_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <1050000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; }; &i2c1 { status = "disabled"; pinctrl-names = "default"; //pinctrl-0 = <&i2c1m4_xfer>; pinctrl-0 = <&i2c1m2_xfer>; }; &i2c2 { status = "okay"; vdd_npu_s0: vdd_npu_mem_s0: rk8602@42 { compatible = "rockchip,rk8602"; reg = <0x42>; vin-supply = <&vcc5v0_sys>; regulator-compatible = "rk860x-reg"; regulator-name = "vdd_npu_s0"; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>; regulator-ramp-delay = <2300>; rockchip,suspend-voltage-selector = <1>; regulator-boot-on; regulator-always-on; regulator-state-mem { regulator-off-in-suspend; }; }; }; &i2c3 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&i2c3m0_xfer>; }; /* pin3: GPIO1_B7 pin5: GPIO1_B6 */ &i2c5 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&i2c5m3_xfer>; }; &i2c6 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c6m3_xfer>; es8388: es8388@10 { status = "okay"; #sound-dai-cells = <0>; compatible = "everest,es8388", "everest,es8323"; reg = <0x10>; clocks = <&mclkout_i2s1>; clock-names = "mclk"; assigned-clocks = <&mclkout_i2s1>; assigned-clock-rates = <12288000>; pinctrl-names = "default"; pinctrl-0 = <&i2s1m0_mclk>; }; usbc0: fusb302@22 { compatible = "fcs,fusb302"; reg = <0x22>; interrupt-parent = <&gpio0>; interrupts = ; pinctrl-names = "default"; pinctrl-0 = <&usbc0_int>; vbus-supply = <&vbus5v0_typec>; status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; usbc0_role_sw: endpoint@0 { remote-endpoint = <&dwc3_0_role_switch>; }; }; }; usb_con: connector { compatible = "usb-c-connector"; label = "USB-C"; data-role = "dual"; power-role = "dual"; try-power-role = "sink"; op-sink-microwatt = <1000000>; sink-pdos = ; source-pdos = ; altmodes { #address-cells = <1>; #size-cells = <0>; altmode@0 { reg = <0>; svid = <0xff01>; vdo = <0xffffffff>; }; }; ports { #address-cells = <1>; #size-cells = <0>; port@0 { reg = <0>; usbc0_orien_sw: endpoint { remote-endpoint = <&usbdp_phy0_orientation_switch>; }; }; port@1 { reg = <1>; dp_altmode_mux: endpoint { remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; }; }; }; }; }; hym8563: hym8563@51 { compatible = "haoyu,hym8563"; reg = <0x51>; #clock-cells = <0>; clock-frequency = <32768>; clock-output-names = "hym8563"; pinctrl-names = "default"; pinctrl-0 = <&hym8563_int>; interrupt-parent = <&gpio0>; interrupts = ; wakeup-source; }; }; &i2s0_8ch { status = "okay"; pinctrl-0 = <&i2s0_lrck &i2s0_sclk &i2s0_sdi0 &i2s0_sdo0>; }; &i2s5_8ch { status = "okay"; }; &i2s1_8ch { status = "okay"; rockchip,i2s-tx-route = <3 2 1 0>; rockchip,i2s-rx-route = <1 3 2 0>; pinctrl-names = "default"; pinctrl-0 = <&i2s1m0_sclk &i2s1m0_lrck &i2s1m0_sdi1 &i2s1m0_sdo3>; }; &pcie2x1l2 { reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_pcie2x1l2>; rockchip,skip-scan-in-resume; status = "okay"; }; &pinctrl { sata { sata_reset:sata-reset{ rockchip,pins = <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_up>; }; }; headphone { hp_det: hp-det { rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; }; }; hym8563 { hym8563_int: hym8563-int { rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; }; }; lcd { lcd0_rst_gpio: lcd0-rst-gpio { rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; }; lcd1_rst_gpio: lcd1-rst-gpio { rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; }; }; gpio-func { leds_gpio: leds-gpio { rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; usb-typec { usbc0_int: usbc0-int { rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; }; typec5v_pwren: typec5v-pwren { rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; }; }; wireless-bluetooth { uart9_gpios: uart9-gpios { rockchip,pins = <3 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; }; bt_gpio: bt-gpio { rockchip,pins = <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>, <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>; }; }; wireless-wlan { wifi_host_wake_irq: wifi-host-wake-irq { rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; }; wifi_poweren_gpio: wifi-poweren-gpio { rockchip,pins = <0 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>; }; }; }; &pwm0 { status = "disabled"; pinctrl-names = "active"; pinctrl-0 = <&pwm0m1_pins>; }; /* pin26: GPIO1_A3 */ &pwm1 { status = "disabled"; pinctrl-names = "active"; //pinctrl-0 = <&pwm1m2_pins>; pinctrl-0 = <&pwm1m1_pins>; }; &pwm3 { status = "disabled"; pinctrl-names = "active"; pinctrl-0 = <&pwm3m2_pins>; //pinctrl-0 = <&pwm3m0_pins>; }; &pwm13 { status = "disabled"; pinctrl-names = "active"; pinctrl-0 = <&pwm13m2_pins>; }; /* pin11: GPIO4_B2 pin13: GPIO4_B3 */ &pwm14 { status = "disabled"; pinctrl-names = "active"; pinctrl-0 = <&pwm14m1_pins>; }; /* pin7: GPIO1_C6 */ &pwm15 { status = "disabled"; pinctrl-names = "active"; pinctrl-0 = <&pwm15m2_pins>; }; &sata0 { pinctrl-names = "default"; pinctrl-0 = <&sata_reset>; status = "disabled"; }; &saradc { status = "okay"; vref-supply = <&vcc_1v8_s0>; }; &sdhci { bus-width = <8>; no-sdio; no-sd; non-removable; max-frequency = <200000000>; mmc-hs400-1_8v; mmc-hs400-enhanced-strobe; status = "disabled"; }; &sdmmc { max-frequency = <150000000>; no-sdio; no-mmc; bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; sd-uhs-sdr104; vmmc-supply = <&vcc_3v3_sd_s0>; vqmmc-supply = <&vccio_sd_s0>; status = "okay"; }; &sfc { status = "okay"; max-freq = <100000000>; #address-cells = <1>; #size-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&fspim0_pins>; spi_flash: spi-flash@0 { #address-cells = <1>; #size-cells = <0>; compatible = "jedec,spi-nor"; reg = <0x0>; spi-max-frequency = <100000000>; spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; status = "okay"; partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; loader@0 { label = "loader"; reg = <0x0 0x1000000>; }; }; }; }; &spdif_tx2 { status = "okay"; }; /* pin19: GPIO1_C1 pin21: GPIO1_C0 pin23: GPIO1_C2 pin24: GPIO1_C4 */ &spi4 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&spi4m0_cs1 &spi4m0_pins>; assigned-clocks = <&cru CLK_SPI4>; assigned-clock-rates = <200000000>; num-cs = <2>; spi_dev@1 { compatible = "rockchip,spidev"; reg = <1>; spi-max-frequency = <50000000>; }; }; /* pin8: GPIO4_A3 pin10: GPIO4_A4 */ &uart0 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart0m2_xfer>; }; &uart1 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart1m1_xfer>; }; &uart3 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart3m0_xfer>; }; /* pin16: GPIO1_D3 pin18: GPIO1_D2 */ &uart4 { status = "disabled"; pinctrl-names = "default"; pinctrl-0 = <&uart4m0_xfer>; }; &uart9 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&uart9m2_xfer &uart9m2_ctsn>; }; &iep { status = "okay"; }; &iep_mmu { status = "okay"; }; &jpegd { status = "okay"; }; &jpegd_mmu { status = "okay"; }; &jpege_ccu { status = "okay"; }; &jpege0 { status = "okay"; }; &jpege0_mmu { status = "okay"; }; &jpege1 { status = "okay"; }; &jpege1_mmu { status = "okay"; }; &jpege2 { status = "okay"; }; &jpege2_mmu { status = "okay"; }; &jpege3 { status = "okay"; }; &jpege3_mmu { status = "okay"; }; &mpp_srv { status = "okay"; }; &rga3_core0 { status = "okay"; }; &rga3_0_mmu { status = "okay"; }; &rga3_core1 { status = "okay"; }; &rga3_1_mmu { status = "okay"; }; &rga2 { status = "okay"; }; &rknpu { rknpu-supply = <&vdd_npu_s0>; mem-supply = <&vdd_npu_mem_s0>; status = "okay"; }; &rknpu_mmu { status = "okay"; }; &rkvdec_ccu { status = "okay"; }; &rkvdec0 { status = "okay"; }; &rkvdec0_mmu { status = "okay"; }; &rkvdec1 { status = "okay"; }; &rkvdec1_mmu { status = "okay"; }; &rkvenc_ccu { status = "okay"; }; &rkvenc0 { status = "okay"; }; &rkvenc0_mmu { status = "okay"; }; &rkvenc1 { status = "okay"; }; &rkvenc1_mmu { status = "okay"; }; &vdpu { status = "okay"; }; &vdpu_mmu { status = "okay"; }; &vepu { status = "okay"; }; &rkcif { status = "okay"; }; &rkcif_mmu { status = "okay"; }; &rkisp0 { status = "okay"; }; &isp0_mmu { status = "okay"; }; &rkisp1 { status = "okay"; }; &isp1_mmu { status = "okay"; }; /* watchdog */ &wdt { status = "okay"; }; &tsadc { status = "okay"; }; &u2phy0 { status = "okay"; }; &u2phy2 { status = "okay"; }; &u2phy3 { status = "okay"; }; &u2phy0_otg { rockchip,typec-vbus-det; status = "okay"; }; &u2phy2_host { status = "okay"; }; &u2phy3_host { status = "okay"; }; &usb_host0_ehci { status = "okay"; }; &usb_host0_ohci { status = "okay"; }; &usb_host1_ehci { status = "okay"; }; &usb_host1_ohci { status = "okay"; }; &usbdp_phy0 { status = "okay"; }; &usbdp_phy0_dp { status = "okay"; }; &usbdp_phy0_u3 { status = "okay"; }; &usbdrd3_0 { status = "okay"; }; &usbhost3_0 { dr_mode = "host"; status = "okay"; }; &usbhost_dwc3_0 { status = "okay"; }; &usbdp_phy0 { orientation-switch; svid = <0xff01>; sbu1-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; port { #address-cells = <1>; #size-cells = <0>; usbdp_phy0_orientation_switch: endpoint@0 { reg = <0>; remote-endpoint = <&usbc0_orien_sw>; }; usbdp_phy0_dp_altmode_mux: endpoint@1 { reg = <1>; remote-endpoint = <&dp_altmode_mux>; }; }; }; &usbdrd_dwc3_0 { status = "okay"; dr_mode = "otg"; usb-role-switch; port { #address-cells = <1>; #size-cells = <0>; dwc3_0_role_switch: endpoint@0 { reg = <0>; remote-endpoint = <&usbc0_role_sw>; }; }; }; &rockchip_suspend { status = "okay"; rockchip,sleep-debug-en = <1>; }; &route_hdmi0 { status = "okay"; }; &vop { status = "okay"; disable-win-move; assigned-clocks = <&cru ACLK_VOP>; assigned-clock-rates = <800000000>; }; &vop_mmu { status = "okay"; }; /* vp0 & vp1 splice for 8K output */ &vp0 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER0 | 1 << ROCKCHIP_VOP2_ESMART0)>; rockchip,primary-plane = ; }; &vp1 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER1 | 1 << ROCKCHIP_VOP2_ESMART1)>; rockchip,primary-plane = ; }; &vp2 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER2 | 1 << ROCKCHIP_VOP2_ESMART2)>; rockchip,primary-plane = ; }; &vp3 { cursor-win-id=; rockchip,plane-mask = <(1 << ROCKCHIP_VOP2_CLUSTER3 | 1 << ROCKCHIP_VOP2_ESMART3)>; rockchip,primary-plane = ; };