15f62a964SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 25f62a964SEmmanuel Vadot 35f62a964SEmmanuel Vadot/dts-v1/; 45f62a964SEmmanuel Vadot 55f62a964SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 65f62a964SEmmanuel Vadot#include <dt-bindings/leds/common.h> 75f62a964SEmmanuel Vadot#include <dt-bindings/input/input.h> 85f62a964SEmmanuel Vadot#include <dt-bindings/pinctrl/rockchip.h> 95f62a964SEmmanuel Vadot#include <dt-bindings/soc/rockchip,vop2.h> 105f62a964SEmmanuel Vadot#include <dt-bindings/usb/pd.h> 115f62a964SEmmanuel Vadot#include "rk3588s.dtsi" 125f62a964SEmmanuel Vadot 135f62a964SEmmanuel Vadot/ { 145f62a964SEmmanuel Vadot aliases { 155f62a964SEmmanuel Vadot ethernet0 = &gmac1; 165f62a964SEmmanuel Vadot mmc0 = &sdmmc; 175f62a964SEmmanuel Vadot }; 185f62a964SEmmanuel Vadot 195f62a964SEmmanuel Vadot chosen { 205f62a964SEmmanuel Vadot stdout-path = "serial2:1500000n8"; 215f62a964SEmmanuel Vadot }; 225f62a964SEmmanuel Vadot 235f62a964SEmmanuel Vadot adc-keys { 245f62a964SEmmanuel Vadot compatible = "adc-keys"; 255f62a964SEmmanuel Vadot io-channels = <&saradc 1>; 265f62a964SEmmanuel Vadot io-channel-names = "buttons"; 275f62a964SEmmanuel Vadot keyup-threshold-microvolt = <1800000>; 285f62a964SEmmanuel Vadot poll-interval = <100>; 295f62a964SEmmanuel Vadot 305f62a964SEmmanuel Vadot button-recovery { 315f62a964SEmmanuel Vadot label = "Recovery"; 325f62a964SEmmanuel Vadot linux,code = <KEY_VENDOR>; 335f62a964SEmmanuel Vadot press-threshold-microvolt = <1800>; 345f62a964SEmmanuel Vadot }; 355f62a964SEmmanuel Vadot }; 365f62a964SEmmanuel Vadot 375f62a964SEmmanuel Vadot analog-sound { 385f62a964SEmmanuel Vadot compatible = "simple-audio-card"; 395f62a964SEmmanuel Vadot pinctrl-names = "default"; 405f62a964SEmmanuel Vadot pinctrl-0 = <&hp_detect>; 415f62a964SEmmanuel Vadot simple-audio-card,name = "rockchip,es8388"; 425f62a964SEmmanuel Vadot simple-audio-card,bitclock-master = <&masterdai>; 435f62a964SEmmanuel Vadot simple-audio-card,format = "i2s"; 445f62a964SEmmanuel Vadot simple-audio-card,frame-master = <&masterdai>; 45*833e5d42SEmmanuel Vadot simple-audio-card,hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>; 465f62a964SEmmanuel Vadot simple-audio-card,mclk-fs = <256>; 475f62a964SEmmanuel Vadot simple-audio-card,routing = 485f62a964SEmmanuel Vadot "Headphones", "LOUT1", 495f62a964SEmmanuel Vadot "Headphones", "ROUT1", 505f62a964SEmmanuel Vadot "LINPUT1", "Microphone Jack", 515f62a964SEmmanuel Vadot "RINPUT1", "Microphone Jack", 525f62a964SEmmanuel Vadot "LINPUT2", "Onboard Microphone", 535f62a964SEmmanuel Vadot "RINPUT2", "Onboard Microphone"; 545f62a964SEmmanuel Vadot simple-audio-card,widgets = 555f62a964SEmmanuel Vadot "Microphone", "Microphone Jack", 565f62a964SEmmanuel Vadot "Microphone", "Onboard Microphone", 575f62a964SEmmanuel Vadot "Headphone", "Headphones"; 585f62a964SEmmanuel Vadot 595f62a964SEmmanuel Vadot simple-audio-card,cpu { 605f62a964SEmmanuel Vadot sound-dai = <&i2s1_8ch>; 615f62a964SEmmanuel Vadot }; 625f62a964SEmmanuel Vadot 635f62a964SEmmanuel Vadot masterdai: simple-audio-card,codec { 645f62a964SEmmanuel Vadot sound-dai = <&es8388>; 655f62a964SEmmanuel Vadot system-clock-frequency = <12288000>; 665f62a964SEmmanuel Vadot }; 675f62a964SEmmanuel Vadot }; 685f62a964SEmmanuel Vadot 695f62a964SEmmanuel Vadot hdmi0-con { 705f62a964SEmmanuel Vadot compatible = "hdmi-connector"; 715f62a964SEmmanuel Vadot type = "a"; 725f62a964SEmmanuel Vadot 735f62a964SEmmanuel Vadot port { 745f62a964SEmmanuel Vadot hdmi0_con_in: endpoint { 755f62a964SEmmanuel Vadot remote-endpoint = <&hdmi0_out_con>; 765f62a964SEmmanuel Vadot }; 775f62a964SEmmanuel Vadot }; 785f62a964SEmmanuel Vadot }; 795f62a964SEmmanuel Vadot 805f62a964SEmmanuel Vadot pwm-leds { 815f62a964SEmmanuel Vadot compatible = "pwm-leds"; 825f62a964SEmmanuel Vadot 835f62a964SEmmanuel Vadot led { 845f62a964SEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 855f62a964SEmmanuel Vadot function = LED_FUNCTION_STATUS; 865f62a964SEmmanuel Vadot linux,default-trigger = "heartbeat"; 875f62a964SEmmanuel Vadot max-brightness = <255>; 885f62a964SEmmanuel Vadot pwms = <&pwm0 0 25000 0>; 895f62a964SEmmanuel Vadot }; 905f62a964SEmmanuel Vadot }; 915f62a964SEmmanuel Vadot 925f62a964SEmmanuel Vadot vbus_typec: regulator-vbus-typec { 935f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 945f62a964SEmmanuel Vadot enable-active-high; 955f62a964SEmmanuel Vadot gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>; 965f62a964SEmmanuel Vadot pinctrl-names = "default"; 975f62a964SEmmanuel Vadot pinctrl-0 = <&typec5v_pwren>; 985f62a964SEmmanuel Vadot regulator-name = "vbus_typec"; 995f62a964SEmmanuel Vadot regulator-min-microvolt = <5000000>; 1005f62a964SEmmanuel Vadot regulator-max-microvolt = <5000000>; 1015f62a964SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 1025f62a964SEmmanuel Vadot }; 1035f62a964SEmmanuel Vadot 1045f62a964SEmmanuel Vadot vcc5v0_sys: regulator-vcc5v0-sys { 1055f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 1065f62a964SEmmanuel Vadot regulator-name = "vcc5v0_sys"; 1075f62a964SEmmanuel Vadot regulator-always-on; 1085f62a964SEmmanuel Vadot regulator-boot-on; 1095f62a964SEmmanuel Vadot regulator-min-microvolt = <5000000>; 1105f62a964SEmmanuel Vadot regulator-max-microvolt = <5000000>; 1115f62a964SEmmanuel Vadot }; 1125f62a964SEmmanuel Vadot 1135f62a964SEmmanuel Vadot vcc_3v3_sd_s0: regulator-vcc-3v3-sd-s0 { 1145f62a964SEmmanuel Vadot compatible = "regulator-fixed"; 1155f62a964SEmmanuel Vadot gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; 1165f62a964SEmmanuel Vadot regulator-name = "vcc_3v3_sd_s0"; 1175f62a964SEmmanuel Vadot regulator-boot-on; 1185f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 1195f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 1205f62a964SEmmanuel Vadot vin-supply = <&vcc_3v3_s3>; 1215f62a964SEmmanuel Vadot }; 1225f62a964SEmmanuel Vadot}; 1235f62a964SEmmanuel Vadot 1245f62a964SEmmanuel Vadot&combphy0_ps { 1255f62a964SEmmanuel Vadot status = "okay"; 1265f62a964SEmmanuel Vadot}; 1275f62a964SEmmanuel Vadot 1285f62a964SEmmanuel Vadot&combphy2_psu { 1295f62a964SEmmanuel Vadot status = "okay"; 1305f62a964SEmmanuel Vadot}; 1315f62a964SEmmanuel Vadot 1325f62a964SEmmanuel Vadot&cpu_b0 { 1335f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_big0_s0>; 1345f62a964SEmmanuel Vadot}; 1355f62a964SEmmanuel Vadot 1365f62a964SEmmanuel Vadot&cpu_b1 { 1375f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_big0_s0>; 1385f62a964SEmmanuel Vadot}; 1395f62a964SEmmanuel Vadot 1405f62a964SEmmanuel Vadot&cpu_b2 { 1415f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_big1_s0>; 1425f62a964SEmmanuel Vadot}; 1435f62a964SEmmanuel Vadot 1445f62a964SEmmanuel Vadot&cpu_b3 { 1455f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_big1_s0>; 1465f62a964SEmmanuel Vadot}; 1475f62a964SEmmanuel Vadot 1485f62a964SEmmanuel Vadot&cpu_l0 { 1495f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_lit_s0>; 1505f62a964SEmmanuel Vadot}; 1515f62a964SEmmanuel Vadot 1525f62a964SEmmanuel Vadot&cpu_l1 { 1535f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_lit_s0>; 1545f62a964SEmmanuel Vadot}; 1555f62a964SEmmanuel Vadot 1565f62a964SEmmanuel Vadot&cpu_l2 { 1575f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_lit_s0>; 1585f62a964SEmmanuel Vadot}; 1595f62a964SEmmanuel Vadot 1605f62a964SEmmanuel Vadot&cpu_l3 { 1615f62a964SEmmanuel Vadot cpu-supply = <&vdd_cpu_lit_s0>; 1625f62a964SEmmanuel Vadot}; 1635f62a964SEmmanuel Vadot 1645f62a964SEmmanuel Vadot&gmac1 { 1655f62a964SEmmanuel Vadot clock_in_out = "output"; 1665f62a964SEmmanuel Vadot phy-handle = <&rgmii_phy1>; 1675f62a964SEmmanuel Vadot phy-mode = "rgmii-rxid"; 1685f62a964SEmmanuel Vadot pinctrl-0 = <&gmac1_miim 1695f62a964SEmmanuel Vadot &gmac1_tx_bus2 1705f62a964SEmmanuel Vadot &gmac1_rx_bus2 1715f62a964SEmmanuel Vadot &gmac1_rgmii_clk 1725f62a964SEmmanuel Vadot &gmac1_rgmii_bus>; 1735f62a964SEmmanuel Vadot pinctrl-names = "default"; 1745f62a964SEmmanuel Vadot tx_delay = <0x42>; 1755f62a964SEmmanuel Vadot status = "okay"; 1765f62a964SEmmanuel Vadot}; 1775f62a964SEmmanuel Vadot 1785f62a964SEmmanuel Vadot&gpu { 1795f62a964SEmmanuel Vadot mali-supply = <&vdd_gpu_s0>; 1805f62a964SEmmanuel Vadot status = "okay"; 1815f62a964SEmmanuel Vadot}; 1825f62a964SEmmanuel Vadot 1835f62a964SEmmanuel Vadot&hdmi0 { 1845f62a964SEmmanuel Vadot status = "okay"; 1855f62a964SEmmanuel Vadot}; 1865f62a964SEmmanuel Vadot 1875f62a964SEmmanuel Vadot&hdmi0_in { 1885f62a964SEmmanuel Vadot hdmi0_in_vp0: endpoint { 1895f62a964SEmmanuel Vadot remote-endpoint = <&vp0_out_hdmi0>; 1905f62a964SEmmanuel Vadot }; 1915f62a964SEmmanuel Vadot}; 1925f62a964SEmmanuel Vadot 1935f62a964SEmmanuel Vadot&hdmi0_out { 1945f62a964SEmmanuel Vadot hdmi0_out_con: endpoint { 1955f62a964SEmmanuel Vadot remote-endpoint = <&hdmi0_con_in>; 1965f62a964SEmmanuel Vadot }; 1975f62a964SEmmanuel Vadot}; 1985f62a964SEmmanuel Vadot 1998ccc0d23SEmmanuel Vadot&hdmi0_sound { 2008ccc0d23SEmmanuel Vadot status = "okay"; 2018ccc0d23SEmmanuel Vadot}; 2028ccc0d23SEmmanuel Vadot 2038ccc0d23SEmmanuel Vadot&hdptxphy0 { 2045f62a964SEmmanuel Vadot status = "okay"; 2055f62a964SEmmanuel Vadot}; 2065f62a964SEmmanuel Vadot 2075f62a964SEmmanuel Vadot&i2c0 { 2085f62a964SEmmanuel Vadot pinctrl-names = "default"; 2095f62a964SEmmanuel Vadot pinctrl-0 = <&i2c0m2_xfer>; 2105f62a964SEmmanuel Vadot status = "okay"; 2115f62a964SEmmanuel Vadot 2125f62a964SEmmanuel Vadot vdd_cpu_big0_s0: regulator@42 { 2135f62a964SEmmanuel Vadot compatible = "rockchip,rk8602"; 2145f62a964SEmmanuel Vadot reg = <0x42>; 2155f62a964SEmmanuel Vadot fcs,suspend-voltage-selector = <1>; 2165f62a964SEmmanuel Vadot regulator-name = "vdd_cpu_big0_s0"; 2175f62a964SEmmanuel Vadot regulator-always-on; 2185f62a964SEmmanuel Vadot regulator-boot-on; 2195f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 2205f62a964SEmmanuel Vadot regulator-max-microvolt = <1050000>; 2215f62a964SEmmanuel Vadot regulator-ramp-delay = <2300>; 2225f62a964SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 2235f62a964SEmmanuel Vadot 2245f62a964SEmmanuel Vadot regulator-state-mem { 2255f62a964SEmmanuel Vadot regulator-off-in-suspend; 2265f62a964SEmmanuel Vadot }; 2275f62a964SEmmanuel Vadot }; 2285f62a964SEmmanuel Vadot 2295f62a964SEmmanuel Vadot vdd_cpu_big1_s0: regulator@43 { 2305f62a964SEmmanuel Vadot compatible = "rockchip,rk8603", "rockchip,rk8602"; 2315f62a964SEmmanuel Vadot reg = <0x43>; 2325f62a964SEmmanuel Vadot fcs,suspend-voltage-selector = <1>; 2335f62a964SEmmanuel Vadot regulator-name = "vdd_cpu_big1_s0"; 2345f62a964SEmmanuel Vadot regulator-always-on; 2355f62a964SEmmanuel Vadot regulator-boot-on; 2365f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 2375f62a964SEmmanuel Vadot regulator-max-microvolt = <1050000>; 2385f62a964SEmmanuel Vadot regulator-ramp-delay = <2300>; 2395f62a964SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 2405f62a964SEmmanuel Vadot 2415f62a964SEmmanuel Vadot regulator-state-mem { 2425f62a964SEmmanuel Vadot regulator-off-in-suspend; 2435f62a964SEmmanuel Vadot }; 2445f62a964SEmmanuel Vadot }; 2455f62a964SEmmanuel Vadot}; 2465f62a964SEmmanuel Vadot 2475f62a964SEmmanuel Vadot&i2c2 { 2485f62a964SEmmanuel Vadot status = "okay"; 2495f62a964SEmmanuel Vadot 2505f62a964SEmmanuel Vadot vdd_npu_s0: regulator@42 { 2515f62a964SEmmanuel Vadot compatible = "rockchip,rk8602"; 2525f62a964SEmmanuel Vadot reg = <0x42>; 2535f62a964SEmmanuel Vadot fcs,suspend-voltage-selector = <1>; 2545f62a964SEmmanuel Vadot regulator-name = "vdd_npu_s0"; 2555f62a964SEmmanuel Vadot regulator-always-on; 2565f62a964SEmmanuel Vadot regulator-boot-on; 2575f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 2585f62a964SEmmanuel Vadot regulator-max-microvolt = <950000>; 2595f62a964SEmmanuel Vadot regulator-ramp-delay = <2300>; 2605f62a964SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 2615f62a964SEmmanuel Vadot 2625f62a964SEmmanuel Vadot regulator-state-mem { 2635f62a964SEmmanuel Vadot regulator-off-in-suspend; 2645f62a964SEmmanuel Vadot }; 2655f62a964SEmmanuel Vadot }; 2665f62a964SEmmanuel Vadot}; 2675f62a964SEmmanuel Vadot 2685f62a964SEmmanuel Vadot&i2c6 { 2695f62a964SEmmanuel Vadot pinctrl-names = "default"; 2705f62a964SEmmanuel Vadot pinctrl-0 = <&i2c6m3_xfer>; 2715f62a964SEmmanuel Vadot status = "okay"; 2725f62a964SEmmanuel Vadot 2735f62a964SEmmanuel Vadot es8388: audio-codec@10 { 2748ccc0d23SEmmanuel Vadot compatible = "everest,es8388", "everest,es8328"; 2755f62a964SEmmanuel Vadot reg = <0x10>; 2765f62a964SEmmanuel Vadot clocks = <&cru I2S1_8CH_MCLKOUT>; 2775f62a964SEmmanuel Vadot AVDD-supply = <&vcc_3v3_s0>; 2785f62a964SEmmanuel Vadot DVDD-supply = <&vcc_1v8_s0>; 2795f62a964SEmmanuel Vadot HPVDD-supply = <&vcc_3v3_s0>; 2805f62a964SEmmanuel Vadot PVDD-supply = <&vcc_3v3_s0>; 2815f62a964SEmmanuel Vadot assigned-clocks = <&cru I2S1_8CH_MCLKOUT>; 2825f62a964SEmmanuel Vadot assigned-clock-rates = <12288000>; 2835f62a964SEmmanuel Vadot #sound-dai-cells = <0>; 2845f62a964SEmmanuel Vadot }; 2855f62a964SEmmanuel Vadot 2865f62a964SEmmanuel Vadot usbc0: usb-typec@22 { 2875f62a964SEmmanuel Vadot compatible = "fcs,fusb302"; 2885f62a964SEmmanuel Vadot reg = <0x22>; 2895f62a964SEmmanuel Vadot interrupt-parent = <&gpio0>; 2905f62a964SEmmanuel Vadot interrupts = <RK_PD3 IRQ_TYPE_LEVEL_LOW>; 2915f62a964SEmmanuel Vadot pinctrl-names = "default"; 2925f62a964SEmmanuel Vadot pinctrl-0 = <&usbc0_int>; 2935f62a964SEmmanuel Vadot vbus-supply = <&vbus_typec>; 2945f62a964SEmmanuel Vadot status = "okay"; 2955f62a964SEmmanuel Vadot 2965f62a964SEmmanuel Vadot usb_con: connector { 2975f62a964SEmmanuel Vadot compatible = "usb-c-connector"; 2985f62a964SEmmanuel Vadot label = "USB-C"; 2995f62a964SEmmanuel Vadot data-role = "dual"; 3005f62a964SEmmanuel Vadot op-sink-microwatt = <1000000>; 3015f62a964SEmmanuel Vadot power-role = "dual"; 3025f62a964SEmmanuel Vadot sink-pdos = 3035f62a964SEmmanuel Vadot <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 3045f62a964SEmmanuel Vadot source-pdos = 3055f62a964SEmmanuel Vadot <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 3065f62a964SEmmanuel Vadot try-power-role = "source"; 3075f62a964SEmmanuel Vadot 3085f62a964SEmmanuel Vadot ports { 3095f62a964SEmmanuel Vadot #address-cells = <1>; 3105f62a964SEmmanuel Vadot #size-cells = <0>; 3115f62a964SEmmanuel Vadot 3125f62a964SEmmanuel Vadot port@0 { 3135f62a964SEmmanuel Vadot reg = <0>; 3145f62a964SEmmanuel Vadot usbc0_hs: endpoint { 3155f62a964SEmmanuel Vadot remote-endpoint = <&usb_host0_xhci_drd_sw>; 3165f62a964SEmmanuel Vadot }; 3175f62a964SEmmanuel Vadot }; 3185f62a964SEmmanuel Vadot 3195f62a964SEmmanuel Vadot port@1 { 3205f62a964SEmmanuel Vadot reg = <1>; 3215f62a964SEmmanuel Vadot usbc0_ss: endpoint { 3225f62a964SEmmanuel Vadot remote-endpoint = <&usbdp_phy0_typec_ss>; 3235f62a964SEmmanuel Vadot }; 3245f62a964SEmmanuel Vadot }; 3255f62a964SEmmanuel Vadot 3265f62a964SEmmanuel Vadot port@2 { 3275f62a964SEmmanuel Vadot reg = <2>; 3285f62a964SEmmanuel Vadot usbc0_sbu: endpoint { 3295f62a964SEmmanuel Vadot remote-endpoint = <&usbdp_phy0_typec_sbu>; 3305f62a964SEmmanuel Vadot }; 3315f62a964SEmmanuel Vadot }; 3325f62a964SEmmanuel Vadot }; 3335f62a964SEmmanuel Vadot }; 3345f62a964SEmmanuel Vadot }; 3355f62a964SEmmanuel Vadot 3365f62a964SEmmanuel Vadot hym8563: rtc@51 { 3375f62a964SEmmanuel Vadot compatible = "haoyu,hym8563"; 3385f62a964SEmmanuel Vadot reg = <0x51>; 3395f62a964SEmmanuel Vadot #clock-cells = <0>; 3405f62a964SEmmanuel Vadot clock-output-names = "hym8563"; 3415f62a964SEmmanuel Vadot pinctrl-names = "default"; 3425f62a964SEmmanuel Vadot pinctrl-0 = <&hym8563_int>; 3435f62a964SEmmanuel Vadot interrupt-parent = <&gpio0>; 3445f62a964SEmmanuel Vadot interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; 3455f62a964SEmmanuel Vadot wakeup-source; 3465f62a964SEmmanuel Vadot }; 3475f62a964SEmmanuel Vadot}; 3485f62a964SEmmanuel Vadot 3495f62a964SEmmanuel Vadot&i2s1_8ch { 3505f62a964SEmmanuel Vadot rockchip,i2s-tx-route = <3 2 1 0>; 3515f62a964SEmmanuel Vadot rockchip,i2s-rx-route = <1 3 2 0>; 3525f62a964SEmmanuel Vadot pinctrl-names = "default"; 3535f62a964SEmmanuel Vadot pinctrl-0 = <&i2s1m0_sclk 3545f62a964SEmmanuel Vadot &i2s1m0_mclk 3555f62a964SEmmanuel Vadot &i2s1m0_lrck 3565f62a964SEmmanuel Vadot &i2s1m0_sdi1 3575f62a964SEmmanuel Vadot &i2s1m0_sdo3>; 3585f62a964SEmmanuel Vadot status = "okay"; 3595f62a964SEmmanuel Vadot}; 3605f62a964SEmmanuel Vadot 3618ccc0d23SEmmanuel Vadot&i2s5_8ch { 3628ccc0d23SEmmanuel Vadot status = "okay"; 3638ccc0d23SEmmanuel Vadot}; 3648ccc0d23SEmmanuel Vadot 3655f62a964SEmmanuel Vadot&mdio1 { 3665f62a964SEmmanuel Vadot rgmii_phy1: ethernet-phy@1 { 3675f62a964SEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 3685f62a964SEmmanuel Vadot reg = <0x1>; 3695f62a964SEmmanuel Vadot reset-assert-us = <20000>; 3705f62a964SEmmanuel Vadot reset-deassert-us = <100000>; 3715f62a964SEmmanuel Vadot reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; 3725f62a964SEmmanuel Vadot }; 3735f62a964SEmmanuel Vadot}; 3745f62a964SEmmanuel Vadot 3758ccc0d23SEmmanuel Vadot&pd_gpu { 3768ccc0d23SEmmanuel Vadot domain-supply = <&vdd_gpu_s0>; 3778ccc0d23SEmmanuel Vadot}; 3788ccc0d23SEmmanuel Vadot 3795f62a964SEmmanuel Vadot&pinctrl { 3805f62a964SEmmanuel Vadot hym8563 { 3815f62a964SEmmanuel Vadot hym8563_int: hym8563-int { 3825f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 3835f62a964SEmmanuel Vadot }; 3845f62a964SEmmanuel Vadot }; 3855f62a964SEmmanuel Vadot 3865f62a964SEmmanuel Vadot sound { 3875f62a964SEmmanuel Vadot hp_detect: hp-detect { 3885f62a964SEmmanuel Vadot rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 3895f62a964SEmmanuel Vadot }; 3905f62a964SEmmanuel Vadot }; 3915f62a964SEmmanuel Vadot 3925f62a964SEmmanuel Vadot usb-typec { 3935f62a964SEmmanuel Vadot usbc0_int: usbc0-int { 3945f62a964SEmmanuel Vadot rockchip,pins = <0 RK_PD3 RK_FUNC_GPIO &pcfg_pull_up>; 3955f62a964SEmmanuel Vadot }; 3965f62a964SEmmanuel Vadot 3975f62a964SEmmanuel Vadot typec5v_pwren: typec5v-pwren { 3985f62a964SEmmanuel Vadot rockchip,pins = <3 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>; 3995f62a964SEmmanuel Vadot }; 4005f62a964SEmmanuel Vadot }; 4015f62a964SEmmanuel Vadot}; 4025f62a964SEmmanuel Vadot 4035f62a964SEmmanuel Vadot&pwm0 { 4045f62a964SEmmanuel Vadot pinctrl-0 = <&pwm0m2_pins>; 4055f62a964SEmmanuel Vadot pinctrl-names = "default"; 4065f62a964SEmmanuel Vadot status = "okay"; 4075f62a964SEmmanuel Vadot}; 4085f62a964SEmmanuel Vadot 4095f62a964SEmmanuel Vadot&saradc { 4105f62a964SEmmanuel Vadot vref-supply = <&avcc_1v8_s0>; 4115f62a964SEmmanuel Vadot status = "okay"; 4125f62a964SEmmanuel Vadot}; 4135f62a964SEmmanuel Vadot 4145f62a964SEmmanuel Vadot&sdhci { 4155f62a964SEmmanuel Vadot bus-width = <8>; 4165f62a964SEmmanuel Vadot no-sdio; 4175f62a964SEmmanuel Vadot no-sd; 4185f62a964SEmmanuel Vadot non-removable; 4195f62a964SEmmanuel Vadot max-frequency = <200000000>; 4205f62a964SEmmanuel Vadot mmc-hs400-1_8v; 4215f62a964SEmmanuel Vadot mmc-hs400-enhanced-strobe; 4225f62a964SEmmanuel Vadot status = "disabled"; 4235f62a964SEmmanuel Vadot}; 4245f62a964SEmmanuel Vadot 4255f62a964SEmmanuel Vadot&sdmmc { 4265f62a964SEmmanuel Vadot bus-width = <4>; 4275f62a964SEmmanuel Vadot cap-sd-highspeed; 4285f62a964SEmmanuel Vadot disable-wp; 4295f62a964SEmmanuel Vadot max-frequency = <150000000>; 4305f62a964SEmmanuel Vadot no-mmc; 4315f62a964SEmmanuel Vadot no-sdio; 4325f62a964SEmmanuel Vadot sd-uhs-sdr104; 4335f62a964SEmmanuel Vadot vmmc-supply = <&vcc_3v3_sd_s0>; 4345f62a964SEmmanuel Vadot vqmmc-supply = <&vccio_sd_s0>; 4355f62a964SEmmanuel Vadot status = "okay"; 4365f62a964SEmmanuel Vadot}; 4375f62a964SEmmanuel Vadot 4385f62a964SEmmanuel Vadot&sfc { 4395f62a964SEmmanuel Vadot pinctrl-names = "default"; 4405f62a964SEmmanuel Vadot pinctrl-0 = <&fspim0_pins>; 4415f62a964SEmmanuel Vadot status = "disabled"; 4425f62a964SEmmanuel Vadot 4435f62a964SEmmanuel Vadot flash@0 { 4445f62a964SEmmanuel Vadot compatible = "jedec,spi-nor"; 4455f62a964SEmmanuel Vadot reg = <0x0>; 4465f62a964SEmmanuel Vadot spi-max-frequency = <100000000>; 4475f62a964SEmmanuel Vadot spi-rx-bus-width = <4>; 4485f62a964SEmmanuel Vadot spi-tx-bus-width = <1>; 4495f62a964SEmmanuel Vadot }; 4505f62a964SEmmanuel Vadot}; 4515f62a964SEmmanuel Vadot 4525f62a964SEmmanuel Vadot&spi2 { 4535f62a964SEmmanuel Vadot status = "okay"; 4545f62a964SEmmanuel Vadot assigned-clocks = <&cru CLK_SPI2>; 4555f62a964SEmmanuel Vadot assigned-clock-rates = <200000000>; 4565f62a964SEmmanuel Vadot num-cs = <1>; 4575f62a964SEmmanuel Vadot pinctrl-names = "default"; 4585f62a964SEmmanuel Vadot pinctrl-0 = <&spi2m2_cs0 &spi2m2_pins>; 4595f62a964SEmmanuel Vadot 4605f62a964SEmmanuel Vadot pmic@0 { 4615f62a964SEmmanuel Vadot compatible = "rockchip,rk806"; 4625f62a964SEmmanuel Vadot reg = <0x0>; 4635f62a964SEmmanuel Vadot interrupt-parent = <&gpio0>; 4645f62a964SEmmanuel Vadot interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 4655f62a964SEmmanuel Vadot pinctrl-names = "default"; 4665f62a964SEmmanuel Vadot pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 4675f62a964SEmmanuel Vadot <&rk806_dvs2_null>, <&rk806_dvs3_null>; 4685f62a964SEmmanuel Vadot spi-max-frequency = <1000000>; 4695f62a964SEmmanuel Vadot system-power-controller; 4705f62a964SEmmanuel Vadot 4715f62a964SEmmanuel Vadot vcc1-supply = <&vcc5v0_sys>; 4725f62a964SEmmanuel Vadot vcc2-supply = <&vcc5v0_sys>; 4735f62a964SEmmanuel Vadot vcc3-supply = <&vcc5v0_sys>; 4745f62a964SEmmanuel Vadot vcc4-supply = <&vcc5v0_sys>; 4755f62a964SEmmanuel Vadot vcc5-supply = <&vcc5v0_sys>; 4765f62a964SEmmanuel Vadot vcc6-supply = <&vcc5v0_sys>; 4775f62a964SEmmanuel Vadot vcc7-supply = <&vcc5v0_sys>; 4785f62a964SEmmanuel Vadot vcc8-supply = <&vcc5v0_sys>; 4795f62a964SEmmanuel Vadot vcc9-supply = <&vcc5v0_sys>; 4805f62a964SEmmanuel Vadot vcc10-supply = <&vcc5v0_sys>; 4815f62a964SEmmanuel Vadot vcc11-supply = <&vcc_2v0_pldo_s3>; 4825f62a964SEmmanuel Vadot vcc12-supply = <&vcc5v0_sys>; 4835f62a964SEmmanuel Vadot vcc13-supply = <&vcc_1v1_nldo_s3>; 4845f62a964SEmmanuel Vadot vcc14-supply = <&vcc_1v1_nldo_s3>; 4855f62a964SEmmanuel Vadot vcca-supply = <&vcc5v0_sys>; 4865f62a964SEmmanuel Vadot 4875f62a964SEmmanuel Vadot gpio-controller; 4885f62a964SEmmanuel Vadot #gpio-cells = <2>; 4895f62a964SEmmanuel Vadot 4905f62a964SEmmanuel Vadot rk806_dvs1_null: dvs1-null-pins { 4915f62a964SEmmanuel Vadot pins = "gpio_pwrctrl1"; 4925f62a964SEmmanuel Vadot function = "pin_fun0"; 4935f62a964SEmmanuel Vadot }; 4945f62a964SEmmanuel Vadot 4955f62a964SEmmanuel Vadot rk806_dvs2_null: dvs2-null-pins { 4965f62a964SEmmanuel Vadot pins = "gpio_pwrctrl2"; 4975f62a964SEmmanuel Vadot function = "pin_fun0"; 4985f62a964SEmmanuel Vadot }; 4995f62a964SEmmanuel Vadot 5005f62a964SEmmanuel Vadot rk806_dvs3_null: dvs3-null-pins { 5015f62a964SEmmanuel Vadot pins = "gpio_pwrctrl3"; 5025f62a964SEmmanuel Vadot function = "pin_fun0"; 5035f62a964SEmmanuel Vadot }; 5045f62a964SEmmanuel Vadot 5055f62a964SEmmanuel Vadot regulators { 5065f62a964SEmmanuel Vadot vdd_gpu_s0: dcdc-reg1 { 5075f62a964SEmmanuel Vadot regulator-name = "vdd_gpu_s0"; 5085f62a964SEmmanuel Vadot regulator-boot-on; 5095f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 5105f62a964SEmmanuel Vadot regulator-max-microvolt = <950000>; 5115f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5125f62a964SEmmanuel Vadot regulator-enable-ramp-delay = <400>; 5135f62a964SEmmanuel Vadot 5145f62a964SEmmanuel Vadot regulator-state-mem { 5155f62a964SEmmanuel Vadot regulator-off-in-suspend; 5165f62a964SEmmanuel Vadot }; 5175f62a964SEmmanuel Vadot }; 5185f62a964SEmmanuel Vadot 5195f62a964SEmmanuel Vadot vdd_cpu_lit_s0: dcdc-reg2 { 5205f62a964SEmmanuel Vadot regulator-name = "vdd_cpu_lit_s0"; 5215f62a964SEmmanuel Vadot regulator-always-on; 5225f62a964SEmmanuel Vadot regulator-boot-on; 5235f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 5245f62a964SEmmanuel Vadot regulator-max-microvolt = <950000>; 5255f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5265f62a964SEmmanuel Vadot 5275f62a964SEmmanuel Vadot regulator-state-mem { 5285f62a964SEmmanuel Vadot regulator-off-in-suspend; 5295f62a964SEmmanuel Vadot }; 5305f62a964SEmmanuel Vadot }; 5315f62a964SEmmanuel Vadot 5325f62a964SEmmanuel Vadot vdd_log_s0: dcdc-reg3 { 5335f62a964SEmmanuel Vadot regulator-name = "vdd_log_s0"; 5345f62a964SEmmanuel Vadot regulator-always-on; 5355f62a964SEmmanuel Vadot regulator-boot-on; 5365f62a964SEmmanuel Vadot regulator-min-microvolt = <675000>; 5375f62a964SEmmanuel Vadot regulator-max-microvolt = <750000>; 5385f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5395f62a964SEmmanuel Vadot 5405f62a964SEmmanuel Vadot regulator-state-mem { 5415f62a964SEmmanuel Vadot regulator-off-in-suspend; 5425f62a964SEmmanuel Vadot regulator-suspend-microvolt = <750000>; 5435f62a964SEmmanuel Vadot }; 5445f62a964SEmmanuel Vadot }; 5455f62a964SEmmanuel Vadot 5465f62a964SEmmanuel Vadot vdd_vdenc_s0: dcdc-reg4 { 5475f62a964SEmmanuel Vadot regulator-name = "vdd_vdenc_s0"; 5485f62a964SEmmanuel Vadot regulator-always-on; 5495f62a964SEmmanuel Vadot regulator-boot-on; 5505f62a964SEmmanuel Vadot regulator-min-microvolt = <550000>; 5515f62a964SEmmanuel Vadot regulator-max-microvolt = <950000>; 5525f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5535f62a964SEmmanuel Vadot 5545f62a964SEmmanuel Vadot regulator-state-mem { 5555f62a964SEmmanuel Vadot regulator-off-in-suspend; 5565f62a964SEmmanuel Vadot }; 5575f62a964SEmmanuel Vadot }; 5585f62a964SEmmanuel Vadot 5595f62a964SEmmanuel Vadot vdd_ddr_s0: dcdc-reg5 { 5605f62a964SEmmanuel Vadot regulator-name = "vdd_ddr_s0"; 5615f62a964SEmmanuel Vadot regulator-always-on; 5625f62a964SEmmanuel Vadot regulator-boot-on; 5635f62a964SEmmanuel Vadot regulator-min-microvolt = <675000>; 5645f62a964SEmmanuel Vadot regulator-max-microvolt = <900000>; 5655f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5665f62a964SEmmanuel Vadot 5675f62a964SEmmanuel Vadot regulator-state-mem { 5685f62a964SEmmanuel Vadot regulator-off-in-suspend; 5695f62a964SEmmanuel Vadot regulator-suspend-microvolt = <850000>; 5705f62a964SEmmanuel Vadot }; 5715f62a964SEmmanuel Vadot }; 5725f62a964SEmmanuel Vadot 5735f62a964SEmmanuel Vadot vcc_1v1_nldo_s3: vdd2_ddr_s3: dcdc-reg6 { 5745f62a964SEmmanuel Vadot regulator-name = "vdd2_ddr_s3"; 5755f62a964SEmmanuel Vadot regulator-always-on; 5765f62a964SEmmanuel Vadot regulator-boot-on; 5775f62a964SEmmanuel Vadot regulator-max-microvolt = <1100000>; 5785f62a964SEmmanuel Vadot regulator-min-microvolt = <1100000>; 5795f62a964SEmmanuel Vadot 5805f62a964SEmmanuel Vadot regulator-state-mem { 5815f62a964SEmmanuel Vadot regulator-on-in-suspend; 5825f62a964SEmmanuel Vadot }; 5835f62a964SEmmanuel Vadot }; 5845f62a964SEmmanuel Vadot 5855f62a964SEmmanuel Vadot vcc_2v0_pldo_s3: dcdc-reg7 { 5865f62a964SEmmanuel Vadot regulator-name = "vdd_2v0_pldo_s3"; 5875f62a964SEmmanuel Vadot regulator-always-on; 5885f62a964SEmmanuel Vadot regulator-boot-on; 5895f62a964SEmmanuel Vadot regulator-min-microvolt = <2000000>; 5905f62a964SEmmanuel Vadot regulator-max-microvolt = <2000000>; 5915f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 5925f62a964SEmmanuel Vadot 5935f62a964SEmmanuel Vadot regulator-state-mem { 5945f62a964SEmmanuel Vadot regulator-on-in-suspend; 5955f62a964SEmmanuel Vadot regulator-suspend-microvolt = <2000000>; 5965f62a964SEmmanuel Vadot }; 5975f62a964SEmmanuel Vadot }; 5985f62a964SEmmanuel Vadot 5995f62a964SEmmanuel Vadot vcc_3v3_s3: dcdc-reg8 { 6005f62a964SEmmanuel Vadot regulator-name = "vcc_3v3_s3"; 6015f62a964SEmmanuel Vadot regulator-always-on; 6025f62a964SEmmanuel Vadot regulator-boot-on; 6035f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 6045f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 6055f62a964SEmmanuel Vadot 6065f62a964SEmmanuel Vadot regulator-state-mem { 6075f62a964SEmmanuel Vadot regulator-on-in-suspend; 6085f62a964SEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 6095f62a964SEmmanuel Vadot }; 6105f62a964SEmmanuel Vadot }; 6115f62a964SEmmanuel Vadot 6125f62a964SEmmanuel Vadot vddq_ddr_s0: dcdc-reg9 { 6135f62a964SEmmanuel Vadot regulator-name = "vddq_ddr_s0"; 6145f62a964SEmmanuel Vadot regulator-always-on; 6155f62a964SEmmanuel Vadot regulator-boot-on; 6165f62a964SEmmanuel Vadot 6175f62a964SEmmanuel Vadot regulator-state-mem { 6185f62a964SEmmanuel Vadot regulator-off-in-suspend; 6195f62a964SEmmanuel Vadot }; 6205f62a964SEmmanuel Vadot }; 6215f62a964SEmmanuel Vadot 6225f62a964SEmmanuel Vadot vcc_1v8_s3: dcdc-reg10 { 6235f62a964SEmmanuel Vadot regulator-name = "vcc_1v8_s3"; 6245f62a964SEmmanuel Vadot regulator-always-on; 6255f62a964SEmmanuel Vadot regulator-boot-on; 6265f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6275f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 6285f62a964SEmmanuel Vadot 6295f62a964SEmmanuel Vadot regulator-state-mem { 6305f62a964SEmmanuel Vadot regulator-on-in-suspend; 6315f62a964SEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 6325f62a964SEmmanuel Vadot }; 6335f62a964SEmmanuel Vadot }; 6345f62a964SEmmanuel Vadot 6355f62a964SEmmanuel Vadot avcc_1v8_s0: pldo-reg1 { 6365f62a964SEmmanuel Vadot regulator-name = "avcc_1v8_s0"; 6375f62a964SEmmanuel Vadot regulator-always-on; 6385f62a964SEmmanuel Vadot regulator-boot-on; 6395f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6405f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 6415f62a964SEmmanuel Vadot 6425f62a964SEmmanuel Vadot regulator-state-mem { 6435f62a964SEmmanuel Vadot regulator-off-in-suspend; 6445f62a964SEmmanuel Vadot }; 6455f62a964SEmmanuel Vadot }; 6465f62a964SEmmanuel Vadot 6475f62a964SEmmanuel Vadot vcc_1v8_s0: pldo-reg2 { 6485f62a964SEmmanuel Vadot regulator-name = "vcc_1v8_s0"; 6495f62a964SEmmanuel Vadot regulator-always-on; 6505f62a964SEmmanuel Vadot regulator-boot-on; 6515f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6525f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 6535f62a964SEmmanuel Vadot 6545f62a964SEmmanuel Vadot regulator-state-mem { 6555f62a964SEmmanuel Vadot regulator-off-in-suspend; 6565f62a964SEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 6575f62a964SEmmanuel Vadot }; 6585f62a964SEmmanuel Vadot }; 6595f62a964SEmmanuel Vadot 6605f62a964SEmmanuel Vadot avdd_1v2_s0: pldo-reg3 { 6615f62a964SEmmanuel Vadot regulator-name = "avdd_1v2_s0"; 6625f62a964SEmmanuel Vadot regulator-always-on; 6635f62a964SEmmanuel Vadot regulator-boot-on; 6645f62a964SEmmanuel Vadot regulator-min-microvolt = <1200000>; 6655f62a964SEmmanuel Vadot regulator-max-microvolt = <1200000>; 6665f62a964SEmmanuel Vadot 6675f62a964SEmmanuel Vadot regulator-state-mem { 6685f62a964SEmmanuel Vadot regulator-off-in-suspend; 6695f62a964SEmmanuel Vadot }; 6705f62a964SEmmanuel Vadot }; 6715f62a964SEmmanuel Vadot 6725f62a964SEmmanuel Vadot vcc_3v3_s0: pldo-reg4 { 6735f62a964SEmmanuel Vadot regulator-name = "vcc_3v3_s0"; 6745f62a964SEmmanuel Vadot regulator-always-on; 6755f62a964SEmmanuel Vadot regulator-boot-on; 6765f62a964SEmmanuel Vadot regulator-min-microvolt = <3300000>; 6775f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 6785f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 6795f62a964SEmmanuel Vadot 6805f62a964SEmmanuel Vadot regulator-state-mem { 6815f62a964SEmmanuel Vadot regulator-off-in-suspend; 6825f62a964SEmmanuel Vadot }; 6835f62a964SEmmanuel Vadot }; 6845f62a964SEmmanuel Vadot 6855f62a964SEmmanuel Vadot vccio_sd_s0: pldo-reg5 { 6865f62a964SEmmanuel Vadot regulator-name = "vccio_sd_s0"; 6875f62a964SEmmanuel Vadot regulator-always-on; 6885f62a964SEmmanuel Vadot regulator-boot-on; 6895f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 6905f62a964SEmmanuel Vadot regulator-max-microvolt = <3300000>; 6915f62a964SEmmanuel Vadot regulator-ramp-delay = <12500>; 6925f62a964SEmmanuel Vadot 6935f62a964SEmmanuel Vadot regulator-state-mem { 6945f62a964SEmmanuel Vadot regulator-off-in-suspend; 6955f62a964SEmmanuel Vadot }; 6965f62a964SEmmanuel Vadot }; 6975f62a964SEmmanuel Vadot 6985f62a964SEmmanuel Vadot pldo6_s3: pldo-reg6 { 6995f62a964SEmmanuel Vadot regulator-name = "pldo6_s3"; 7005f62a964SEmmanuel Vadot regulator-always-on; 7015f62a964SEmmanuel Vadot regulator-boot-on; 7025f62a964SEmmanuel Vadot regulator-min-microvolt = <1800000>; 7035f62a964SEmmanuel Vadot regulator-max-microvolt = <1800000>; 7045f62a964SEmmanuel Vadot 7055f62a964SEmmanuel Vadot regulator-state-mem { 7065f62a964SEmmanuel Vadot regulator-on-in-suspend; 7075f62a964SEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 7085f62a964SEmmanuel Vadot }; 7095f62a964SEmmanuel Vadot }; 7105f62a964SEmmanuel Vadot 7115f62a964SEmmanuel Vadot vdd_0v75_s3: nldo-reg1 { 7125f62a964SEmmanuel Vadot regulator-name = "vdd_0v75_s3"; 7135f62a964SEmmanuel Vadot regulator-always-on; 7145f62a964SEmmanuel Vadot regulator-boot-on; 7155f62a964SEmmanuel Vadot regulator-min-microvolt = <750000>; 7165f62a964SEmmanuel Vadot regulator-max-microvolt = <750000>; 7175f62a964SEmmanuel Vadot 7185f62a964SEmmanuel Vadot regulator-state-mem { 7195f62a964SEmmanuel Vadot regulator-on-in-suspend; 7205f62a964SEmmanuel Vadot regulator-suspend-microvolt = <750000>; 7215f62a964SEmmanuel Vadot }; 7225f62a964SEmmanuel Vadot }; 7235f62a964SEmmanuel Vadot 7245f62a964SEmmanuel Vadot vdd_ddr_pll_s0: nldo-reg2 { 7255f62a964SEmmanuel Vadot regulator-name = "vdd_ddr_pll_s0"; 7265f62a964SEmmanuel Vadot regulator-always-on; 7275f62a964SEmmanuel Vadot regulator-boot-on; 7285f62a964SEmmanuel Vadot regulator-min-microvolt = <850000>; 7295f62a964SEmmanuel Vadot regulator-max-microvolt = <850000>; 7305f62a964SEmmanuel Vadot 7315f62a964SEmmanuel Vadot regulator-state-mem { 7325f62a964SEmmanuel Vadot regulator-off-in-suspend; 7335f62a964SEmmanuel Vadot regulator-suspend-microvolt = <850000>; 7345f62a964SEmmanuel Vadot }; 7355f62a964SEmmanuel Vadot }; 7365f62a964SEmmanuel Vadot 7375f62a964SEmmanuel Vadot avdd_0v75_s0: nldo-reg3 { 7385f62a964SEmmanuel Vadot regulator-name = "avdd_0v75_s0"; 7395f62a964SEmmanuel Vadot regulator-always-on; 7405f62a964SEmmanuel Vadot regulator-boot-on; 7415f62a964SEmmanuel Vadot regulator-min-microvolt = <750000>; 7425f62a964SEmmanuel Vadot regulator-max-microvolt = <750000>; 7435f62a964SEmmanuel Vadot 7445f62a964SEmmanuel Vadot regulator-state-mem { 7455f62a964SEmmanuel Vadot regulator-off-in-suspend; 7465f62a964SEmmanuel Vadot }; 7475f62a964SEmmanuel Vadot }; 7485f62a964SEmmanuel Vadot 7495f62a964SEmmanuel Vadot vdd_0v85_s0: nldo-reg4 { 7505f62a964SEmmanuel Vadot regulator-name = "vdd_0v85_s0"; 7515f62a964SEmmanuel Vadot regulator-always-on; 7525f62a964SEmmanuel Vadot regulator-boot-on; 7535f62a964SEmmanuel Vadot regulator-min-microvolt = <850000>; 7545f62a964SEmmanuel Vadot regulator-max-microvolt = <850000>; 7555f62a964SEmmanuel Vadot 7565f62a964SEmmanuel Vadot regulator-state-mem { 7575f62a964SEmmanuel Vadot regulator-off-in-suspend; 7585f62a964SEmmanuel Vadot }; 7595f62a964SEmmanuel Vadot }; 7605f62a964SEmmanuel Vadot 7615f62a964SEmmanuel Vadot vdd_0v75_s0: nldo-reg5 { 7625f62a964SEmmanuel Vadot regulator-name = "vdd_0v75_s0"; 7635f62a964SEmmanuel Vadot regulator-always-on; 7645f62a964SEmmanuel Vadot regulator-boot-on; 7655f62a964SEmmanuel Vadot regulator-min-microvolt = <750000>; 7665f62a964SEmmanuel Vadot regulator-max-microvolt = <750000>; 7675f62a964SEmmanuel Vadot 7685f62a964SEmmanuel Vadot regulator-state-mem { 7695f62a964SEmmanuel Vadot regulator-off-in-suspend; 7705f62a964SEmmanuel Vadot }; 7715f62a964SEmmanuel Vadot }; 7725f62a964SEmmanuel Vadot }; 7735f62a964SEmmanuel Vadot }; 7745f62a964SEmmanuel Vadot}; 7755f62a964SEmmanuel Vadot 7765f62a964SEmmanuel Vadot&tsadc { 7775f62a964SEmmanuel Vadot status = "okay"; 7785f62a964SEmmanuel Vadot}; 7795f62a964SEmmanuel Vadot 7805f62a964SEmmanuel Vadot&u2phy0 { 7815f62a964SEmmanuel Vadot status = "okay"; 7825f62a964SEmmanuel Vadot}; 7835f62a964SEmmanuel Vadot 7845f62a964SEmmanuel Vadot&u2phy0_otg { 7855f62a964SEmmanuel Vadot status = "okay"; 7865f62a964SEmmanuel Vadot}; 7875f62a964SEmmanuel Vadot 7885f62a964SEmmanuel Vadot&u2phy2 { 7895f62a964SEmmanuel Vadot status = "okay"; 7905f62a964SEmmanuel Vadot}; 7915f62a964SEmmanuel Vadot 7925f62a964SEmmanuel Vadot&u2phy2_host { 7935f62a964SEmmanuel Vadot status = "okay"; 7945f62a964SEmmanuel Vadot}; 7955f62a964SEmmanuel Vadot 7965f62a964SEmmanuel Vadot&u2phy3 { 7975f62a964SEmmanuel Vadot status = "okay"; 7985f62a964SEmmanuel Vadot}; 7995f62a964SEmmanuel Vadot 8005f62a964SEmmanuel Vadot&u2phy3_host { 8015f62a964SEmmanuel Vadot status = "okay"; 8025f62a964SEmmanuel Vadot}; 8035f62a964SEmmanuel Vadot 8045f62a964SEmmanuel Vadot&uart2 { 8055f62a964SEmmanuel Vadot pinctrl-0 = <&uart2m0_xfer>; 8065f62a964SEmmanuel Vadot status = "okay"; 8075f62a964SEmmanuel Vadot}; 8085f62a964SEmmanuel Vadot 8095f62a964SEmmanuel Vadot&usbdp_phy0 { 8105f62a964SEmmanuel Vadot mode-switch; 8115f62a964SEmmanuel Vadot orientation-switch; 8125f62a964SEmmanuel Vadot sbu1-dc-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 8135f62a964SEmmanuel Vadot sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; 8145f62a964SEmmanuel Vadot status = "okay"; 8155f62a964SEmmanuel Vadot 8165f62a964SEmmanuel Vadot port { 8175f62a964SEmmanuel Vadot #address-cells = <1>; 8185f62a964SEmmanuel Vadot #size-cells = <0>; 8195f62a964SEmmanuel Vadot 8205f62a964SEmmanuel Vadot usbdp_phy0_typec_ss: endpoint@0 { 8215f62a964SEmmanuel Vadot reg = <0>; 8225f62a964SEmmanuel Vadot remote-endpoint = <&usbc0_ss>; 8235f62a964SEmmanuel Vadot }; 8245f62a964SEmmanuel Vadot 8255f62a964SEmmanuel Vadot usbdp_phy0_typec_sbu: endpoint@1 { 8265f62a964SEmmanuel Vadot reg = <1>; 8275f62a964SEmmanuel Vadot remote-endpoint = <&usbc0_sbu>; 8285f62a964SEmmanuel Vadot }; 8295f62a964SEmmanuel Vadot }; 8305f62a964SEmmanuel Vadot}; 8315f62a964SEmmanuel Vadot 8325f62a964SEmmanuel Vadot&usb_host0_ehci { 8335f62a964SEmmanuel Vadot status = "okay"; 8345f62a964SEmmanuel Vadot}; 8355f62a964SEmmanuel Vadot 8365f62a964SEmmanuel Vadot&usb_host0_ohci { 8375f62a964SEmmanuel Vadot status = "okay"; 8385f62a964SEmmanuel Vadot}; 8395f62a964SEmmanuel Vadot 8405f62a964SEmmanuel Vadot&usb_host0_xhci { 8415f62a964SEmmanuel Vadot dr_mode = "otg"; 8425f62a964SEmmanuel Vadot usb-role-switch; 8435f62a964SEmmanuel Vadot status = "okay"; 8445f62a964SEmmanuel Vadot 8455f62a964SEmmanuel Vadot port { 8465f62a964SEmmanuel Vadot usb_host0_xhci_drd_sw: endpoint { 8475f62a964SEmmanuel Vadot remote-endpoint = <&usbc0_hs>; 8485f62a964SEmmanuel Vadot }; 8495f62a964SEmmanuel Vadot }; 8505f62a964SEmmanuel Vadot}; 8515f62a964SEmmanuel Vadot 8525f62a964SEmmanuel Vadot&usb_host1_ehci { 8535f62a964SEmmanuel Vadot status = "okay"; 8545f62a964SEmmanuel Vadot}; 8555f62a964SEmmanuel Vadot 8565f62a964SEmmanuel Vadot&usb_host1_ohci { 8575f62a964SEmmanuel Vadot status = "okay"; 8585f62a964SEmmanuel Vadot}; 8595f62a964SEmmanuel Vadot 8605f62a964SEmmanuel Vadot&usb_host2_xhci { 8615f62a964SEmmanuel Vadot status = "okay"; 8625f62a964SEmmanuel Vadot}; 8635f62a964SEmmanuel Vadot 8645f62a964SEmmanuel Vadot&vop_mmu { 8655f62a964SEmmanuel Vadot status = "okay"; 8665f62a964SEmmanuel Vadot}; 8675f62a964SEmmanuel Vadot 8685f62a964SEmmanuel Vadot&vop { 8695f62a964SEmmanuel Vadot status = "okay"; 8705f62a964SEmmanuel Vadot}; 8715f62a964SEmmanuel Vadot 8725f62a964SEmmanuel Vadot&vp0 { 8735f62a964SEmmanuel Vadot vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 8745f62a964SEmmanuel Vadot reg = <ROCKCHIP_VOP2_EP_HDMI0>; 8755f62a964SEmmanuel Vadot remote-endpoint = <&hdmi0_in_vp0>; 8765f62a964SEmmanuel Vadot }; 8775f62a964SEmmanuel Vadot}; 878