1e904ca92SKever Yang// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2e904ca92SKever Yang/* 3e904ca92SKever Yang * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4e904ca92SKever Yang * 5e904ca92SKever Yang */ 6e904ca92SKever Yang 7e904ca92SKever Yang/dts-v1/; 8e904ca92SKever Yang 9e904ca92SKever Yang#include <dt-bindings/gpio/gpio.h> 10afa933c2SSebastian Reichel#include <dt-bindings/input/input.h> 11e904ca92SKever Yang#include <dt-bindings/pinctrl/rockchip.h> 12de9001b2SCristian Ciocaltea#include <dt-bindings/soc/rockchip,vop2.h> 13b37146b5SSebastian Reichel#include <dt-bindings/usb/pd.h> 14e904ca92SKever Yang#include "rk3588.dtsi" 15e904ca92SKever Yang 16e904ca92SKever Yang/ { 17e904ca92SKever Yang model = "Rockchip RK3588 EVB1 V10 Board"; 18e904ca92SKever Yang compatible = "rockchip,rk3588-evb1-v10", "rockchip,rk3588"; 19e904ca92SKever Yang 20e904ca92SKever Yang aliases { 21b0140a1bSDragan Simic ethernet0 = &gmac0; 22e904ca92SKever Yang mmc0 = &sdhci; 23e904ca92SKever Yang }; 24e904ca92SKever Yang 25e904ca92SKever Yang chosen { 26e904ca92SKever Yang stdout-path = "serial2:1500000n8"; 27e904ca92SKever Yang }; 28e904ca92SKever Yang 29afa933c2SSebastian Reichel adc-keys { 30afa933c2SSebastian Reichel compatible = "adc-keys"; 31afa933c2SSebastian Reichel io-channels = <&saradc 1>; 32afa933c2SSebastian Reichel io-channel-names = "buttons"; 33afa933c2SSebastian Reichel keyup-threshold-microvolt = <1800000>; 34afa933c2SSebastian Reichel poll-interval = <100>; 35afa933c2SSebastian Reichel 36afa933c2SSebastian Reichel button-vol-up { 37afa933c2SSebastian Reichel label = "Volume Up"; 38afa933c2SSebastian Reichel linux,code = <KEY_VOLUMEUP>; 39afa933c2SSebastian Reichel press-threshold-microvolt = <17000>; 40afa933c2SSebastian Reichel }; 41afa933c2SSebastian Reichel 42afa933c2SSebastian Reichel button-vol-down { 43afa933c2SSebastian Reichel label = "Volume Down"; 44afa933c2SSebastian Reichel linux,code = <KEY_VOLUMEDOWN>; 45afa933c2SSebastian Reichel press-threshold-microvolt = <417000>; 46afa933c2SSebastian Reichel }; 47afa933c2SSebastian Reichel 48afa933c2SSebastian Reichel button-menu { 49afa933c2SSebastian Reichel label = "Menu"; 50afa933c2SSebastian Reichel linux,code = <KEY_MENU>; 51afa933c2SSebastian Reichel press-threshold-microvolt = <890000>; 52afa933c2SSebastian Reichel }; 53afa933c2SSebastian Reichel 54afa933c2SSebastian Reichel button-escape { 55afa933c2SSebastian Reichel label = "Escape"; 56afa933c2SSebastian Reichel linux,code = <KEY_ESC>; 57afa933c2SSebastian Reichel press-threshold-microvolt = <1235000>; 58afa933c2SSebastian Reichel }; 59afa933c2SSebastian Reichel }; 60afa933c2SSebastian Reichel 6197c39c7aSSebastian Reichel analog-sound { 6297c39c7aSSebastian Reichel compatible = "simple-audio-card"; 6397c39c7aSSebastian Reichel pinctrl-names = "default"; 6497c39c7aSSebastian Reichel pinctrl-0 = <&hp_detect>; 6597c39c7aSSebastian Reichel simple-audio-card,name = "RK3588 EVB1 Audio"; 6697c39c7aSSebastian Reichel simple-audio-card,aux-devs = <&_headphone>, <&_speaker>; 6797c39c7aSSebastian Reichel simple-audio-card,bitclock-master = <&masterdai>; 6897c39c7aSSebastian Reichel simple-audio-card,format = "i2s"; 6997c39c7aSSebastian Reichel simple-audio-card,frame-master = <&masterdai>; 707ac5c0a5SGeert Uytterhoeven simple-audio-card,hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_LOW>; 7197c39c7aSSebastian Reichel simple-audio-card,mclk-fs = <256>; 7297c39c7aSSebastian Reichel simple-audio-card,pin-switches = "Headphones", "Speaker"; 7397c39c7aSSebastian Reichel simple-audio-card,routing = 7497c39c7aSSebastian Reichel "Speaker Amplifier INL", "LOUT2", 7597c39c7aSSebastian Reichel "Speaker Amplifier INR", "ROUT2", 7697c39c7aSSebastian Reichel "Speaker", "Speaker Amplifier OUTL", 7797c39c7aSSebastian Reichel "Speaker", "Speaker Amplifier OUTR", 7897c39c7aSSebastian Reichel "Headphones Amplifier INL", "LOUT1", 7997c39c7aSSebastian Reichel "Headphones Amplifier INR", "ROUT1", 8097c39c7aSSebastian Reichel "Headphones", "Headphones Amplifier OUTL", 8197c39c7aSSebastian Reichel "Headphones", "Headphones Amplifier OUTR", 8297c39c7aSSebastian Reichel "LINPUT1", "Onboard Microphone", 8397c39c7aSSebastian Reichel "RINPUT1", "Onboard Microphone", 8497c39c7aSSebastian Reichel "LINPUT2", "Microphone Jack", 8597c39c7aSSebastian Reichel "RINPUT2", "Microphone Jack"; 8697c39c7aSSebastian Reichel simple-audio-card,widgets = 8797c39c7aSSebastian Reichel "Microphone", "Microphone Jack", 8897c39c7aSSebastian Reichel "Microphone", "Onboard Microphone", 8997c39c7aSSebastian Reichel "Headphone", "Headphones", 9097c39c7aSSebastian Reichel "Speaker", "Speaker"; 9197c39c7aSSebastian Reichel 9297c39c7aSSebastian Reichel simple-audio-card,cpu { 9397c39c7aSSebastian Reichel sound-dai = <&i2s0_8ch>; 9497c39c7aSSebastian Reichel }; 9597c39c7aSSebastian Reichel 9697c39c7aSSebastian Reichel masterdai: simple-audio-card,codec { 9797c39c7aSSebastian Reichel sound-dai = <&es8388>; 9897c39c7aSSebastian Reichel system-clock-frequency = <12288000>; 9997c39c7aSSebastian Reichel }; 10097c39c7aSSebastian Reichel }; 10197c39c7aSSebastian Reichel 10297c39c7aSSebastian Reichel amp_headphone: headphone-amplifier { 10397c39c7aSSebastian Reichel compatible = "simple-audio-amplifier"; 10497c39c7aSSebastian Reichel enable-gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_HIGH>; 10597c39c7aSSebastian Reichel pinctrl-names = "default"; 10697c39c7aSSebastian Reichel pinctrl-0 = <&headphone_amplifier_en>; 10797c39c7aSSebastian Reichel sound-name-prefix = "Headphones Amplifier"; 10897c39c7aSSebastian Reichel }; 10997c39c7aSSebastian Reichel 11097c39c7aSSebastian Reichel amp_speaker: speaker-amplifier { 11197c39c7aSSebastian Reichel compatible = "simple-audio-amplifier"; 11297c39c7aSSebastian Reichel enable-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_HIGH>; 11397c39c7aSSebastian Reichel pinctrl-names = "default"; 11497c39c7aSSebastian Reichel pinctrl-0 = <&speaker_amplifier_en>; 11597c39c7aSSebastian Reichel sound-name-prefix = "Speaker Amplifier"; 11697c39c7aSSebastian Reichel }; 11797c39c7aSSebastian Reichel 118e904ca92SKever Yang backlight: backlight { 119e904ca92SKever Yang compatible = "pwm-backlight"; 120e904ca92SKever Yang power-supply = <&vcc12v_dcin>; 121e904ca92SKever Yang pwms = <&pwm2 0 25000 0>; 122e904ca92SKever Yang }; 123e904ca92SKever Yang 124de9001b2SCristian Ciocaltea hdmi0-con { 125de9001b2SCristian Ciocaltea compatible = "hdmi-connector"; 126de9001b2SCristian Ciocaltea type = "a"; 127de9001b2SCristian Ciocaltea 128de9001b2SCristian Ciocaltea port { 129de9001b2SCristian Ciocaltea hdmi0_con_in: endpoint { 130de9001b2SCristian Ciocaltea remote-endpoint = <&hdmi0_out_con>; 131de9001b2SCristian Ciocaltea }; 132de9001b2SCristian Ciocaltea }; 133de9001b2SCristian Ciocaltea }; 134de9001b2SCristian Ciocaltea 1355c2d6181SCristian Ciocaltea hdmi1-con { 1365c2d6181SCristian Ciocaltea compatible = "hdmi-connector"; 1375c2d6181SCristian Ciocaltea type = "a"; 1385c2d6181SCristian Ciocaltea 1395c2d6181SCristian Ciocaltea port { 1405c2d6181SCristian Ciocaltea hdmi1_con_in: endpoint { 1415c2d6181SCristian Ciocaltea remote-endpoint = <&hdmi1_out_con>; 1425c2d6181SCristian Ciocaltea }; 1435c2d6181SCristian Ciocaltea }; 1445c2d6181SCristian Ciocaltea }; 1455c2d6181SCristian Ciocaltea 1465c96e633SJohan Jonker pcie20_avdd0v85: regulator-pcie20-avdd0v85 { 14786a2024dSSebastian Reichel compatible = "regulator-fixed"; 14886a2024dSSebastian Reichel regulator-name = "pcie20_avdd0v85"; 14986a2024dSSebastian Reichel regulator-always-on; 15086a2024dSSebastian Reichel regulator-boot-on; 15186a2024dSSebastian Reichel regulator-min-microvolt = <850000>; 15286a2024dSSebastian Reichel regulator-max-microvolt = <850000>; 15386a2024dSSebastian Reichel vin-supply = <&avdd_0v85_s0>; 15486a2024dSSebastian Reichel }; 15586a2024dSSebastian Reichel 1565c96e633SJohan Jonker pcie20_avdd1v8: regulator-pcie20-avdd1v8 { 15786a2024dSSebastian Reichel compatible = "regulator-fixed"; 15886a2024dSSebastian Reichel regulator-name = "pcie20_avdd1v8"; 15986a2024dSSebastian Reichel regulator-always-on; 16086a2024dSSebastian Reichel regulator-boot-on; 16186a2024dSSebastian Reichel regulator-min-microvolt = <1800000>; 16286a2024dSSebastian Reichel regulator-max-microvolt = <1800000>; 16386a2024dSSebastian Reichel vin-supply = <&avcc_1v8_s0>; 16486a2024dSSebastian Reichel }; 16586a2024dSSebastian Reichel 1665c96e633SJohan Jonker pcie30_avdd0v75: regulator-pcie30-avdd0v75 { 16746bb398eSSebastian Reichel compatible = "regulator-fixed"; 16846bb398eSSebastian Reichel regulator-name = "pcie30_avdd0v75"; 16946bb398eSSebastian Reichel regulator-always-on; 17046bb398eSSebastian Reichel regulator-boot-on; 17146bb398eSSebastian Reichel regulator-min-microvolt = <750000>; 17246bb398eSSebastian Reichel regulator-max-microvolt = <750000>; 17346bb398eSSebastian Reichel vin-supply = <&avdd_0v75_s0>; 17446bb398eSSebastian Reichel }; 17546bb398eSSebastian Reichel 1765c96e633SJohan Jonker pcie30_avdd1v8: regulator-pcie30-avdd1v8 { 17746bb398eSSebastian Reichel compatible = "regulator-fixed"; 17846bb398eSSebastian Reichel regulator-name = "pcie30_avdd1v8"; 17946bb398eSSebastian Reichel regulator-always-on; 18046bb398eSSebastian Reichel regulator-boot-on; 18146bb398eSSebastian Reichel regulator-min-microvolt = <1800000>; 18246bb398eSSebastian Reichel regulator-max-microvolt = <1800000>; 18346bb398eSSebastian Reichel vin-supply = <&avcc_1v8_s0>; 18446bb398eSSebastian Reichel }; 18546bb398eSSebastian Reichel 1865c96e633SJohan Jonker vbus5v0_typec: regulator-vbus5v0-typec { 187b37146b5SSebastian Reichel compatible = "regulator-fixed"; 188b37146b5SSebastian Reichel enable-active-high; 189b37146b5SSebastian Reichel gpio = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>; 190b37146b5SSebastian Reichel pinctrl-names = "default"; 191b37146b5SSebastian Reichel pinctrl-0 = <&typec5v_pwren>; 192b37146b5SSebastian Reichel regulator-name = "vbus5v0_typec"; 193b37146b5SSebastian Reichel regulator-min-microvolt = <5000000>; 194b37146b5SSebastian Reichel regulator-max-microvolt = <5000000>; 195b37146b5SSebastian Reichel vin-supply = <&vcc5v0_usb>; 196b37146b5SSebastian Reichel }; 197b37146b5SSebastian Reichel 1985c96e633SJohan Jonker vcc12v_dcin: regulator-vcc12v-dcin { 199e904ca92SKever Yang compatible = "regulator-fixed"; 200e904ca92SKever Yang regulator-name = "vcc12v_dcin"; 201e904ca92SKever Yang regulator-always-on; 202e904ca92SKever Yang regulator-boot-on; 203e904ca92SKever Yang regulator-min-microvolt = <12000000>; 204e904ca92SKever Yang regulator-max-microvolt = <12000000>; 205e904ca92SKever Yang }; 206e904ca92SKever Yang 2075c96e633SJohan Jonker vcc3v3_pcie30: regulator-vcc3v3-pcie30 { 20846bb398eSSebastian Reichel compatible = "regulator-fixed"; 20946bb398eSSebastian Reichel regulator-name = "vcc3v3_pcie30"; 21046bb398eSSebastian Reichel regulator-min-microvolt = <3300000>; 21146bb398eSSebastian Reichel regulator-max-microvolt = <3300000>; 21246bb398eSSebastian Reichel enable-active-high; 21346bb398eSSebastian Reichel gpios = <&gpio3 RK_PC3 GPIO_ACTIVE_HIGH>; 21446bb398eSSebastian Reichel startup-delay-us = <5000>; 21546bb398eSSebastian Reichel vin-supply = <&vcc12v_dcin>; 21646bb398eSSebastian Reichel pinctrl-names = "default"; 21746bb398eSSebastian Reichel pinctrl-0 = <&vcc3v3_pcie30_en>; 21846bb398eSSebastian Reichel }; 21946bb398eSSebastian Reichel 2203948b4a9SSebastian Reichel vcc3v3_pciewl_vbat: regulator-vcc3v3-pciewl-vbat { 2213948b4a9SSebastian Reichel compatible = "regulator-fixed"; 2223948b4a9SSebastian Reichel regulator-always-on; 2233948b4a9SSebastian Reichel regulator-boot-on; 2243948b4a9SSebastian Reichel regulator-min-microvolt = <3300000>; 2253948b4a9SSebastian Reichel regulator-max-microvolt = <3300000>; 2263948b4a9SSebastian Reichel regulator-name = "wlan-vbat"; 2273948b4a9SSebastian Reichel vin-supply = <&vcc_3v3_s0>; 2283948b4a9SSebastian Reichel }; 2293948b4a9SSebastian Reichel 2303948b4a9SSebastian Reichel vcc3v3_wlan: regulator-vcc3v3-wlan { 2313948b4a9SSebastian Reichel compatible = "regulator-fixed"; 2323948b4a9SSebastian Reichel enable-active-high; 2333948b4a9SSebastian Reichel gpios = <&gpio3 RK_PB1 GPIO_ACTIVE_HIGH>; 2343948b4a9SSebastian Reichel pinctrl-names = "default"; 2353948b4a9SSebastian Reichel pinctrl-0 = <&wifi_pwren>; 2363948b4a9SSebastian Reichel regulator-min-microvolt = <3300000>; 2373948b4a9SSebastian Reichel regulator-max-microvolt = <3300000>; 2383948b4a9SSebastian Reichel regulator-name = "wlan-en"; 2393948b4a9SSebastian Reichel vin-supply = <&vcc3v3_pciewl_vbat>; 2403948b4a9SSebastian Reichel }; 2413948b4a9SSebastian Reichel 2425c96e633SJohan Jonker vcc5v0_host: regulator-vcc5v0-host { 243e39da107SSebastian Reichel compatible = "regulator-fixed"; 244e39da107SSebastian Reichel regulator-name = "vcc5v0_host"; 245e39da107SSebastian Reichel regulator-boot-on; 246e39da107SSebastian Reichel regulator-always-on; 247e39da107SSebastian Reichel regulator-min-microvolt = <5000000>; 248e39da107SSebastian Reichel regulator-max-microvolt = <5000000>; 249e39da107SSebastian Reichel enable-active-high; 250e39da107SSebastian Reichel gpio = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>; 251e39da107SSebastian Reichel pinctrl-names = "default"; 252e39da107SSebastian Reichel pinctrl-0 = <&vcc5v0_host_en>; 253e39da107SSebastian Reichel vin-supply = <&vcc5v0_usb>; 254e39da107SSebastian Reichel }; 255e39da107SSebastian Reichel 2565c96e633SJohan Jonker vcc5v0_sys: regulator-vcc5v0-sys { 257e904ca92SKever Yang compatible = "regulator-fixed"; 258e904ca92SKever Yang regulator-name = "vcc5v0_sys"; 259e904ca92SKever Yang regulator-always-on; 260e904ca92SKever Yang regulator-boot-on; 261e904ca92SKever Yang regulator-min-microvolt = <5000000>; 262e904ca92SKever Yang regulator-max-microvolt = <5000000>; 263e904ca92SKever Yang vin-supply = <&vcc12v_dcin>; 264e904ca92SKever Yang }; 265e39da107SSebastian Reichel 2665c96e633SJohan Jonker vcc5v0_usbdcin: regulator-vcc5v0-usbdcin { 267e39da107SSebastian Reichel compatible = "regulator-fixed"; 268e39da107SSebastian Reichel regulator-name = "vcc5v0_usbdcin"; 269e39da107SSebastian Reichel regulator-always-on; 270e39da107SSebastian Reichel regulator-boot-on; 271e39da107SSebastian Reichel regulator-min-microvolt = <5000000>; 272e39da107SSebastian Reichel regulator-max-microvolt = <5000000>; 273e39da107SSebastian Reichel vin-supply = <&vcc12v_dcin>; 274e39da107SSebastian Reichel }; 275e39da107SSebastian Reichel 2765c96e633SJohan Jonker vcc5v0_usb: regulator-vcc5v0-usb { 277e39da107SSebastian Reichel compatible = "regulator-fixed"; 278e39da107SSebastian Reichel regulator-name = "vcc5v0_usb"; 279e39da107SSebastian Reichel regulator-always-on; 280e39da107SSebastian Reichel regulator-boot-on; 281e39da107SSebastian Reichel regulator-min-microvolt = <5000000>; 282e39da107SSebastian Reichel regulator-max-microvolt = <5000000>; 283e39da107SSebastian Reichel vin-supply = <&vcc5v0_usbdcin>; 284e39da107SSebastian Reichel }; 2853948b4a9SSebastian Reichel 2863948b4a9SSebastian Reichel vccio_wl: regulator-vccio-wl { 2873948b4a9SSebastian Reichel compatible = "regulator-fixed"; 2883948b4a9SSebastian Reichel regulator-always-on; 2893948b4a9SSebastian Reichel regulator-boot-on; 2903948b4a9SSebastian Reichel regulator-min-microvolt = <1800000>; 2913948b4a9SSebastian Reichel regulator-max-microvolt = <1800000>; 2923948b4a9SSebastian Reichel regulator-name = "wlan-vddio"; 2933948b4a9SSebastian Reichel vin-supply = <&vcc_1v8_s0>; 2943948b4a9SSebastian Reichel }; 295e904ca92SKever Yang}; 296e904ca92SKever Yang 2979c7f2494SSebastian Reichel&combphy0_ps { 2989c7f2494SSebastian Reichel status = "okay"; 2999c7f2494SSebastian Reichel}; 3009c7f2494SSebastian Reichel 3013948b4a9SSebastian Reichel&combphy1_ps { 3023948b4a9SSebastian Reichel status = "okay"; 3033948b4a9SSebastian Reichel}; 3043948b4a9SSebastian Reichel 30586a2024dSSebastian Reichel&combphy2_psu { 30686a2024dSSebastian Reichel status = "okay"; 30786a2024dSSebastian Reichel}; 30886a2024dSSebastian Reichel 309ec5d218eSSebastian Reichel&cpu_b0 { 310ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_big0_s0>; 311ec5d218eSSebastian Reichel}; 312ec5d218eSSebastian Reichel 313ec5d218eSSebastian Reichel&cpu_b1 { 314ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_big0_s0>; 315ec5d218eSSebastian Reichel}; 316ec5d218eSSebastian Reichel 317ec5d218eSSebastian Reichel&cpu_b2 { 318ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_big1_s0>; 319ec5d218eSSebastian Reichel}; 320ec5d218eSSebastian Reichel 321ec5d218eSSebastian Reichel&cpu_b3 { 322ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_big1_s0>; 323ec5d218eSSebastian Reichel}; 324ec5d218eSSebastian Reichel 325ec5d218eSSebastian Reichel&cpu_l0 { 326ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_lit_s0>; 327ec5d218eSSebastian Reichel}; 328ec5d218eSSebastian Reichel 329ec5d218eSSebastian Reichel&cpu_l1 { 330ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_lit_s0>; 331ec5d218eSSebastian Reichel}; 332ec5d218eSSebastian Reichel 333ec5d218eSSebastian Reichel&cpu_l2 { 334ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_lit_s0>; 335ec5d218eSSebastian Reichel}; 336ec5d218eSSebastian Reichel 337ec5d218eSSebastian Reichel&cpu_l3 { 338ec5d218eSSebastian Reichel cpu-supply = <&vdd_cpu_lit_s0>; 339ec5d218eSSebastian Reichel}; 340ec5d218eSSebastian Reichel 341e904ca92SKever Yang&gmac0 { 342e904ca92SKever Yang clock_in_out = "output"; 343e904ca92SKever Yang phy-handle = <&rgmii_phy>; 344e904ca92SKever Yang phy-mode = "rgmii-rxid"; 345e904ca92SKever Yang pinctrl-0 = <&gmac0_miim 346e904ca92SKever Yang &gmac0_tx_bus2 347e904ca92SKever Yang &gmac0_rx_bus2 348e904ca92SKever Yang &gmac0_rgmii_clk 349e904ca92SKever Yang &gmac0_rgmii_bus>; 350e904ca92SKever Yang pinctrl-names = "default"; 351e904ca92SKever Yang rx_delay = <0x00>; 352e904ca92SKever Yang tx_delay = <0x43>; 353e904ca92SKever Yang status = "okay"; 354e904ca92SKever Yang}; 355e904ca92SKever Yang 35675a28721SBoris Brezillon&gpu { 35775a28721SBoris Brezillon mali-supply = <&vdd_gpu_s0>; 35875a28721SBoris Brezillon sram-supply = <&vdd_gpu_mem_s0>; 35975a28721SBoris Brezillon status = "okay"; 36075a28721SBoris Brezillon}; 36175a28721SBoris Brezillon 362de9001b2SCristian Ciocaltea&hdmi0 { 363de9001b2SCristian Ciocaltea status = "okay"; 364de9001b2SCristian Ciocaltea}; 365de9001b2SCristian Ciocaltea 366de9001b2SCristian Ciocaltea&hdmi0_in { 367de9001b2SCristian Ciocaltea hdmi0_in_vp0: endpoint { 368de9001b2SCristian Ciocaltea remote-endpoint = <&vp0_out_hdmi0>; 369de9001b2SCristian Ciocaltea }; 370de9001b2SCristian Ciocaltea}; 371de9001b2SCristian Ciocaltea 372de9001b2SCristian Ciocaltea&hdmi0_out { 373de9001b2SCristian Ciocaltea hdmi0_out_con: endpoint { 374de9001b2SCristian Ciocaltea remote-endpoint = <&hdmi0_con_in>; 375de9001b2SCristian Ciocaltea }; 376de9001b2SCristian Ciocaltea}; 377de9001b2SCristian Ciocaltea 3785c2d6181SCristian Ciocaltea&hdmi1 { 3795c2d6181SCristian Ciocaltea status = "okay"; 3805c2d6181SCristian Ciocaltea}; 3815c2d6181SCristian Ciocaltea 3825c2d6181SCristian Ciocaltea&hdmi1_in { 3835c2d6181SCristian Ciocaltea hdmi1_in_vp1: endpoint { 3845c2d6181SCristian Ciocaltea remote-endpoint = <&vp1_out_hdmi1>; 3855c2d6181SCristian Ciocaltea }; 3865c2d6181SCristian Ciocaltea}; 3875c2d6181SCristian Ciocaltea 3885c2d6181SCristian Ciocaltea&hdmi1_out { 3895c2d6181SCristian Ciocaltea hdmi1_out_con: endpoint { 3905c2d6181SCristian Ciocaltea remote-endpoint = <&hdmi1_con_in>; 3915c2d6181SCristian Ciocaltea }; 3925c2d6181SCristian Ciocaltea}; 3935c2d6181SCristian Ciocaltea 394*e2fe8ad8SSebastian Reichel&hdmi_receiver_cma { 395*e2fe8ad8SSebastian Reichel status = "okay"; 396*e2fe8ad8SSebastian Reichel}; 397*e2fe8ad8SSebastian Reichel 398*e2fe8ad8SSebastian Reichel&hdmi_receiver { 399*e2fe8ad8SSebastian Reichel hpd-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; 400*e2fe8ad8SSebastian Reichel pinctrl-0 = <&hdmim1_rx_cec &hdmim1_rx_hpdin &hdmim1_rx_scl &hdmim1_rx_sda &hdmirx_hpd>; 401*e2fe8ad8SSebastian Reichel pinctrl-names = "default"; 402*e2fe8ad8SSebastian Reichel status = "okay"; 403*e2fe8ad8SSebastian Reichel}; 404*e2fe8ad8SSebastian Reichel 4052efdb041SDamon Ding&hdptxphy0 { 406de9001b2SCristian Ciocaltea status = "okay"; 407de9001b2SCristian Ciocaltea}; 408de9001b2SCristian Ciocaltea 4095c2d6181SCristian Ciocaltea&hdptxphy1 { 4105c2d6181SCristian Ciocaltea status = "okay"; 4115c2d6181SCristian Ciocaltea}; 4125c2d6181SCristian Ciocaltea 413e904ca92SKever Yang&i2c2 { 414e904ca92SKever Yang status = "okay"; 415e904ca92SKever Yang 416b37146b5SSebastian Reichel usbc0: usb-typec@22 { 417b37146b5SSebastian Reichel compatible = "fcs,fusb302"; 418b37146b5SSebastian Reichel reg = <0x22>; 419b37146b5SSebastian Reichel interrupt-parent = <&gpio3>; 420b37146b5SSebastian Reichel interrupts = <RK_PB4 IRQ_TYPE_LEVEL_LOW>; 421b37146b5SSebastian Reichel pinctrl-names = "default"; 422b37146b5SSebastian Reichel pinctrl-0 = <&usbc0_int>; 423b37146b5SSebastian Reichel vbus-supply = <&vbus5v0_typec>; 424b37146b5SSebastian Reichel status = "okay"; 425b37146b5SSebastian Reichel 426b37146b5SSebastian Reichel usb_con: connector { 427b37146b5SSebastian Reichel compatible = "usb-c-connector"; 428b37146b5SSebastian Reichel label = "USB-C"; 429b37146b5SSebastian Reichel data-role = "dual"; 430b37146b5SSebastian Reichel op-sink-microwatt = <1000000>; 431b37146b5SSebastian Reichel power-role = "dual"; 432b37146b5SSebastian Reichel sink-pdos = 433b37146b5SSebastian Reichel <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; 434b37146b5SSebastian Reichel source-pdos = 435b37146b5SSebastian Reichel <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; 436b37146b5SSebastian Reichel try-power-role = "source"; 437b37146b5SSebastian Reichel 438b37146b5SSebastian Reichel ports { 439b37146b5SSebastian Reichel #address-cells = <1>; 440b37146b5SSebastian Reichel #size-cells = <0>; 441b37146b5SSebastian Reichel 442b37146b5SSebastian Reichel port@0 { 443b37146b5SSebastian Reichel reg = <0>; 444b37146b5SSebastian Reichel 445b37146b5SSebastian Reichel usbc0_orien_sw: endpoint { 446b37146b5SSebastian Reichel remote-endpoint = <&usbdp_phy0_orientation_switch>; 447b37146b5SSebastian Reichel }; 448b37146b5SSebastian Reichel }; 449b37146b5SSebastian Reichel 450b37146b5SSebastian Reichel port@1 { 451b37146b5SSebastian Reichel reg = <1>; 452b37146b5SSebastian Reichel 453b37146b5SSebastian Reichel usbc0_role_sw: endpoint { 454b37146b5SSebastian Reichel remote-endpoint = <&dwc3_0_role_switch>; 455b37146b5SSebastian Reichel }; 456b37146b5SSebastian Reichel }; 457b37146b5SSebastian Reichel 458b37146b5SSebastian Reichel port@2 { 459b37146b5SSebastian Reichel reg = <2>; 460b37146b5SSebastian Reichel 461b37146b5SSebastian Reichel dp_altmode_mux: endpoint { 462b37146b5SSebastian Reichel remote-endpoint = <&usbdp_phy0_dp_altmode_mux>; 463b37146b5SSebastian Reichel }; 464b37146b5SSebastian Reichel }; 465b37146b5SSebastian Reichel }; 466b37146b5SSebastian Reichel }; 467b37146b5SSebastian Reichel }; 468b37146b5SSebastian Reichel 469e904ca92SKever Yang hym8563: rtc@51 { 470e904ca92SKever Yang compatible = "haoyu,hym8563"; 471e904ca92SKever Yang reg = <0x51>; 472e904ca92SKever Yang #clock-cells = <0>; 473e904ca92SKever Yang clock-output-names = "hym8563"; 474e904ca92SKever Yang pinctrl-names = "default"; 475e904ca92SKever Yang pinctrl-0 = <&hym8563_int>; 476e904ca92SKever Yang interrupt-parent = <&gpio0>; 477e904ca92SKever Yang interrupts = <RK_PD4 IRQ_TYPE_LEVEL_LOW>; 478e904ca92SKever Yang wakeup-source; 479e904ca92SKever Yang }; 480e904ca92SKever Yang}; 481e904ca92SKever Yang 48297c39c7aSSebastian Reichel&i2c7 { 48397c39c7aSSebastian Reichel status = "okay"; 48497c39c7aSSebastian Reichel 48597c39c7aSSebastian Reichel es8388: audio-codec@11 { 486ced36c33SKrzysztof Kozlowski compatible = "everest,es8388", "everest,es8328"; 48797c39c7aSSebastian Reichel reg = <0x11>; 48897c39c7aSSebastian Reichel clocks = <&cru I2S0_8CH_MCLKOUT>; 48997c39c7aSSebastian Reichel assigned-clocks = <&cru I2S0_8CH_MCLKOUT>; 49097c39c7aSSebastian Reichel assigned-clock-rates = <12288000>; 49197c39c7aSSebastian Reichel AVDD-supply = <&avcc_1v8_codec_s0>; 49297c39c7aSSebastian Reichel DVDD-supply = <&avcc_1v8_codec_s0>; 49397c39c7aSSebastian Reichel HPVDD-supply = <&vcc_3v3_s0>; 49497c39c7aSSebastian Reichel PVDD-supply = <&vcc_3v3_s0>; 49597c39c7aSSebastian Reichel #sound-dai-cells = <0>; 49697c39c7aSSebastian Reichel }; 49797c39c7aSSebastian Reichel}; 49897c39c7aSSebastian Reichel 49997c39c7aSSebastian Reichel&i2s0_8ch { 50097c39c7aSSebastian Reichel pinctrl-0 = <&i2s0_lrck 50197c39c7aSSebastian Reichel &i2s0_mclk 50297c39c7aSSebastian Reichel &i2s0_sclk 50397c39c7aSSebastian Reichel &i2s0_sdi0 50497c39c7aSSebastian Reichel &i2s0_sdo0>; 50597c39c7aSSebastian Reichel status = "okay"; 50697c39c7aSSebastian Reichel}; 50797c39c7aSSebastian Reichel 508e904ca92SKever Yang&mdio0 { 509e904ca92SKever Yang rgmii_phy: ethernet-phy@1 { 510e904ca92SKever Yang /* RTL8211F */ 511e904ca92SKever Yang compatible = "ethernet-phy-id001c.c916"; 512e904ca92SKever Yang reg = <0x1>; 513e904ca92SKever Yang pinctrl-names = "default"; 514e904ca92SKever Yang pinctrl-0 = <&rtl8211f_rst>; 515e904ca92SKever Yang reset-assert-us = <20000>; 516e904ca92SKever Yang reset-deassert-us = <100000>; 517e904ca92SKever Yang reset-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>; 518e904ca92SKever Yang }; 519e904ca92SKever Yang}; 520e904ca92SKever Yang 5213948b4a9SSebastian Reichel&pcie2x1l0 { 5223948b4a9SSebastian Reichel pinctrl-names = "default"; 5233948b4a9SSebastian Reichel pinctrl-0 = <&pcie2_0_rst>, <&pcie2_0_wake>, <&pcie2_0_clkreq>, <&wifi_host_wake_irq>; 5243948b4a9SSebastian Reichel reset-gpios = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; 5253948b4a9SSebastian Reichel vpcie3v3-supply = <&vcc3v3_wlan>; 5263948b4a9SSebastian Reichel status = "okay"; 5273948b4a9SSebastian Reichel 5283948b4a9SSebastian Reichel pcie@0,0 { 5293948b4a9SSebastian Reichel reg = <0x200000 0 0 0 0>; 5303948b4a9SSebastian Reichel #address-cells = <3>; 5313948b4a9SSebastian Reichel #size-cells = <2>; 5323948b4a9SSebastian Reichel ranges; 5333948b4a9SSebastian Reichel device_type = "pci"; 5343948b4a9SSebastian Reichel bus-range = <0x20 0x2f>; 5353948b4a9SSebastian Reichel 5363948b4a9SSebastian Reichel wifi: wifi@0,0 { 5373948b4a9SSebastian Reichel compatible = "pci14e4,449d"; 5383948b4a9SSebastian Reichel reg = <0x210000 0 0 0 0>; 5393948b4a9SSebastian Reichel clocks = <&hym8563>; 5403948b4a9SSebastian Reichel clock-names = "lpo"; 5413948b4a9SSebastian Reichel }; 5423948b4a9SSebastian Reichel }; 5433948b4a9SSebastian Reichel}; 5443948b4a9SSebastian Reichel 54586a2024dSSebastian Reichel&pcie2x1l1 { 54686a2024dSSebastian Reichel reset-gpios = <&gpio4 RK_PA2 GPIO_ACTIVE_HIGH>; 54786a2024dSSebastian Reichel pinctrl-names = "default"; 54886a2024dSSebastian Reichel pinctrl-0 = <&pcie2_1_rst>, <&rtl8111_isolate>; 54986a2024dSSebastian Reichel status = "okay"; 55086a2024dSSebastian Reichel}; 55186a2024dSSebastian Reichel 55246bb398eSSebastian Reichel&pcie30phy { 55346bb398eSSebastian Reichel status = "okay"; 55446bb398eSSebastian Reichel}; 55546bb398eSSebastian Reichel 55646bb398eSSebastian Reichel&pcie3x4 { 55746bb398eSSebastian Reichel pinctrl-names = "default"; 55846bb398eSSebastian Reichel pinctrl-0 = <&pcie3_reset>; 55946bb398eSSebastian Reichel reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; 56046bb398eSSebastian Reichel vpcie3v3-supply = <&vcc3v3_pcie30>; 56146bb398eSSebastian Reichel status = "okay"; 56246bb398eSSebastian Reichel}; 56346bb398eSSebastian Reichel 564f94500ebSSebastian Reichel&pd_gpu { 565f94500ebSSebastian Reichel domain-supply = <&vdd_gpu_s0>; 566f94500ebSSebastian Reichel}; 567f94500ebSSebastian Reichel 568e904ca92SKever Yang&pinctrl { 56997c39c7aSSebastian Reichel audio { 57097c39c7aSSebastian Reichel hp_detect: headphone-detect { 57197c39c7aSSebastian Reichel rockchip,pins = <1 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>; 57297c39c7aSSebastian Reichel }; 57397c39c7aSSebastian Reichel 57497c39c7aSSebastian Reichel headphone_amplifier_en: headphone-amplifier-en { 57597c39c7aSSebastian Reichel rockchip,pins = <1 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 57697c39c7aSSebastian Reichel }; 57797c39c7aSSebastian Reichel 57897c39c7aSSebastian Reichel speaker_amplifier_en: speaker-amplifier-en { 57997c39c7aSSebastian Reichel rockchip,pins = <1 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>; 58097c39c7aSSebastian Reichel }; 58197c39c7aSSebastian Reichel }; 58297c39c7aSSebastian Reichel 58386a2024dSSebastian Reichel rtl8111 { 58486a2024dSSebastian Reichel rtl8111_isolate: rtl8111-isolate { 58586a2024dSSebastian Reichel rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>; 58686a2024dSSebastian Reichel }; 58786a2024dSSebastian Reichel }; 58886a2024dSSebastian Reichel 589e904ca92SKever Yang rtl8211f { 590e904ca92SKever Yang rtl8211f_rst: rtl8211f-rst { 591e904ca92SKever Yang rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 592e904ca92SKever Yang }; 593e904ca92SKever Yang 594e904ca92SKever Yang }; 595e904ca92SKever Yang 596*e2fe8ad8SSebastian Reichel hdmirx { 597*e2fe8ad8SSebastian Reichel hdmirx_hpd: hdmirx-5v-detection { 598*e2fe8ad8SSebastian Reichel rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>; 599*e2fe8ad8SSebastian Reichel }; 600*e2fe8ad8SSebastian Reichel }; 601*e2fe8ad8SSebastian Reichel 602e904ca92SKever Yang hym8563 { 603e904ca92SKever Yang hym8563_int: hym8563-int { 604e904ca92SKever Yang rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; 605e904ca92SKever Yang }; 606e904ca92SKever Yang }; 607e39da107SSebastian Reichel 60886a2024dSSebastian Reichel pcie2 { 6093948b4a9SSebastian Reichel pcie2_0_rst: pcie2-0-rst { 6103948b4a9SSebastian Reichel rockchip,pins = <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 6113948b4a9SSebastian Reichel }; 6123948b4a9SSebastian Reichel 6133948b4a9SSebastian Reichel pcie2_0_wake: pcie2-0-wake { 6143948b4a9SSebastian Reichel rockchip,pins = <4 RK_PA4 4 &pcfg_pull_none>; 6153948b4a9SSebastian Reichel }; 6163948b4a9SSebastian Reichel 6173948b4a9SSebastian Reichel pcie2_0_clkreq: pcie2-0-clkreq { 6183948b4a9SSebastian Reichel rockchip,pins = <4 RK_PA3 4 &pcfg_pull_none>; 6193948b4a9SSebastian Reichel }; 6203948b4a9SSebastian Reichel 62186a2024dSSebastian Reichel pcie2_1_rst: pcie2-1-rst { 62286a2024dSSebastian Reichel rockchip,pins = <4 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 62386a2024dSSebastian Reichel }; 62486a2024dSSebastian Reichel }; 62586a2024dSSebastian Reichel 62646bb398eSSebastian Reichel pcie3 { 62746bb398eSSebastian Reichel pcie3_reset: pcie3-reset { 62846bb398eSSebastian Reichel rockchip,pins = <4 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>; 62946bb398eSSebastian Reichel }; 63046bb398eSSebastian Reichel 63146bb398eSSebastian Reichel vcc3v3_pcie30_en: vcc3v3-pcie30-en { 63246bb398eSSebastian Reichel rockchip,pins = <3 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; 63346bb398eSSebastian Reichel }; 63446bb398eSSebastian Reichel }; 63546bb398eSSebastian Reichel 636e39da107SSebastian Reichel usb { 637e39da107SSebastian Reichel vcc5v0_host_en: vcc5v0-host-en { 638e39da107SSebastian Reichel rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; 639e39da107SSebastian Reichel }; 640e39da107SSebastian Reichel }; 641b37146b5SSebastian Reichel 642b37146b5SSebastian Reichel usb-typec { 643b37146b5SSebastian Reichel typec5v_pwren: typec5v-pwren { 644b37146b5SSebastian Reichel rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>; 645b37146b5SSebastian Reichel }; 646b37146b5SSebastian Reichel 647b37146b5SSebastian Reichel usbc0_int: usbc0-int { 648b37146b5SSebastian Reichel rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up>; 649b37146b5SSebastian Reichel }; 650b37146b5SSebastian Reichel }; 6513948b4a9SSebastian Reichel 6523948b4a9SSebastian Reichel wlan { 6533948b4a9SSebastian Reichel wifi_host_wake_irq: wifi-host-wake-irq { 6543948b4a9SSebastian Reichel rockchip,pins = <3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; 6553948b4a9SSebastian Reichel }; 6563948b4a9SSebastian Reichel 6573948b4a9SSebastian Reichel wifi_pwren: wifi-pwren { 6583948b4a9SSebastian Reichel rockchip,pins = <3 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; 6593948b4a9SSebastian Reichel }; 6603948b4a9SSebastian Reichel }; 661e904ca92SKever Yang}; 662e904ca92SKever Yang 663e904ca92SKever Yang&pwm2 { 664e904ca92SKever Yang status = "okay"; 665e904ca92SKever Yang}; 666e904ca92SKever Yang 667afa933c2SSebastian Reichel&saradc { 668afa933c2SSebastian Reichel vref-supply = <&vcc_1v8_s0>; 669afa933c2SSebastian Reichel status = "okay"; 670afa933c2SSebastian Reichel}; 671afa933c2SSebastian Reichel 672e904ca92SKever Yang&sdhci { 673e904ca92SKever Yang bus-width = <8>; 674e904ca92SKever Yang no-sdio; 675e904ca92SKever Yang no-sd; 676e904ca92SKever Yang non-removable; 677e904ca92SKever Yang mmc-hs400-1_8v; 678e904ca92SKever Yang mmc-hs400-enhanced-strobe; 679e904ca92SKever Yang status = "okay"; 680e904ca92SKever Yang}; 681e904ca92SKever Yang 682ec5d218eSSebastian Reichel&spi2 { 683ec5d218eSSebastian Reichel status = "okay"; 684ec5d218eSSebastian Reichel assigned-clocks = <&cru CLK_SPI2>; 685ec5d218eSSebastian Reichel assigned-clock-rates = <200000000>; 686ec5d218eSSebastian Reichel num-cs = <2>; 687ec5d218eSSebastian Reichel 688ec5d218eSSebastian Reichel pmic@0 { 689ec5d218eSSebastian Reichel compatible = "rockchip,rk806"; 690ec5d218eSSebastian Reichel reg = <0x0>; 691ec5d218eSSebastian Reichel #gpio-cells = <2>; 692ec5d218eSSebastian Reichel gpio-controller; 693ec5d218eSSebastian Reichel interrupt-parent = <&gpio0>; 694ec5d218eSSebastian Reichel interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 695ec5d218eSSebastian Reichel pinctrl-0 = <&pmic_pins>, <&rk806_dvs1_null>, 696ec5d218eSSebastian Reichel <&rk806_dvs2_null>, <&rk806_dvs3_null>; 697ec5d218eSSebastian Reichel pinctrl-names = "default"; 698ec5d218eSSebastian Reichel spi-max-frequency = <1000000>; 699fc465797SSebastian Reichel system-power-controller; 700ec5d218eSSebastian Reichel 701ec5d218eSSebastian Reichel vcc1-supply = <&vcc5v0_sys>; 702ec5d218eSSebastian Reichel vcc2-supply = <&vcc5v0_sys>; 703ec5d218eSSebastian Reichel vcc3-supply = <&vcc5v0_sys>; 704ec5d218eSSebastian Reichel vcc4-supply = <&vcc5v0_sys>; 705ec5d218eSSebastian Reichel vcc5-supply = <&vcc5v0_sys>; 706ec5d218eSSebastian Reichel vcc6-supply = <&vcc5v0_sys>; 707ec5d218eSSebastian Reichel vcc7-supply = <&vcc5v0_sys>; 708ec5d218eSSebastian Reichel vcc8-supply = <&vcc5v0_sys>; 709ec5d218eSSebastian Reichel vcc9-supply = <&vcc5v0_sys>; 710ec5d218eSSebastian Reichel vcc10-supply = <&vcc5v0_sys>; 711ec5d218eSSebastian Reichel vcc11-supply = <&vcc_2v0_pldo_s3>; 712ec5d218eSSebastian Reichel vcc12-supply = <&vcc5v0_sys>; 713ec5d218eSSebastian Reichel vcc13-supply = <&vcc5v0_sys>; 714ec5d218eSSebastian Reichel vcc14-supply = <&vcc_1v1_nldo_s3>; 715ec5d218eSSebastian Reichel vcca-supply = <&vcc5v0_sys>; 716ec5d218eSSebastian Reichel 717ec5d218eSSebastian Reichel rk806_dvs1_null: dvs1-null-pins { 718ec5d218eSSebastian Reichel pins = "gpio_pwrctrl1"; 719ec5d218eSSebastian Reichel function = "pin_fun0"; 720ec5d218eSSebastian Reichel }; 721ec5d218eSSebastian Reichel 722ec5d218eSSebastian Reichel rk806_dvs2_null: dvs2-null-pins { 723ec5d218eSSebastian Reichel pins = "gpio_pwrctrl2"; 724ec5d218eSSebastian Reichel function = "pin_fun0"; 725ec5d218eSSebastian Reichel }; 726ec5d218eSSebastian Reichel 727ec5d218eSSebastian Reichel rk806_dvs3_null: dvs3-null-pins { 728ec5d218eSSebastian Reichel pins = "gpio_pwrctrl3"; 729ec5d218eSSebastian Reichel function = "pin_fun0"; 730ec5d218eSSebastian Reichel }; 731ec5d218eSSebastian Reichel 732ec5d218eSSebastian Reichel 733ec5d218eSSebastian Reichel regulators { 734ec5d218eSSebastian Reichel vdd_gpu_s0: dcdc-reg1 { 73575a28721SBoris Brezillon /* regulator coupling requires always-on */ 73675a28721SBoris Brezillon regulator-always-on; 737ec5d218eSSebastian Reichel regulator-boot-on; 738ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 739ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 740ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 741ec5d218eSSebastian Reichel regulator-name = "vdd_gpu_s0"; 742ec5d218eSSebastian Reichel regulator-enable-ramp-delay = <400>; 74375a28721SBoris Brezillon regulator-coupled-with = <&vdd_gpu_mem_s0>; 74475a28721SBoris Brezillon regulator-coupled-max-spread = <10000>; 745ec5d218eSSebastian Reichel regulator-state-mem { 746ec5d218eSSebastian Reichel regulator-off-in-suspend; 747ec5d218eSSebastian Reichel }; 748ec5d218eSSebastian Reichel }; 749ec5d218eSSebastian Reichel 750ec5d218eSSebastian Reichel vdd_npu_s0: dcdc-reg2 { 751ec5d218eSSebastian Reichel regulator-always-on; 752ec5d218eSSebastian Reichel regulator-boot-on; 753ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 754ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 755ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 756ec5d218eSSebastian Reichel regulator-name = "vdd_npu_s0"; 757ec5d218eSSebastian Reichel regulator-state-mem { 758ec5d218eSSebastian Reichel regulator-off-in-suspend; 759ec5d218eSSebastian Reichel }; 760ec5d218eSSebastian Reichel }; 761ec5d218eSSebastian Reichel 762ec5d218eSSebastian Reichel vdd_log_s0: dcdc-reg3 { 763ec5d218eSSebastian Reichel regulator-always-on; 764ec5d218eSSebastian Reichel regulator-boot-on; 765ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 766ec5d218eSSebastian Reichel regulator-max-microvolt = <750000>; 767ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 768ec5d218eSSebastian Reichel regulator-name = "vdd_log_s0"; 769ec5d218eSSebastian Reichel regulator-state-mem { 770ec5d218eSSebastian Reichel regulator-off-in-suspend; 771ec5d218eSSebastian Reichel regulator-suspend-microvolt = <750000>; 772ec5d218eSSebastian Reichel }; 773ec5d218eSSebastian Reichel }; 774ec5d218eSSebastian Reichel 775ec5d218eSSebastian Reichel vdd_vdenc_s0: dcdc-reg4 { 776ec5d218eSSebastian Reichel regulator-always-on; 777ec5d218eSSebastian Reichel regulator-boot-on; 778ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 779ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 780ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 781ec5d218eSSebastian Reichel regulator-name = "vdd_vdenc_s0"; 782ec5d218eSSebastian Reichel regulator-state-mem { 783ec5d218eSSebastian Reichel regulator-off-in-suspend; 784ec5d218eSSebastian Reichel }; 785ec5d218eSSebastian Reichel 786ec5d218eSSebastian Reichel }; 787ec5d218eSSebastian Reichel 788ec5d218eSSebastian Reichel vdd_gpu_mem_s0: dcdc-reg5 { 78975a28721SBoris Brezillon /* regulator coupling requires always-on */ 79075a28721SBoris Brezillon regulator-always-on; 791ec5d218eSSebastian Reichel regulator-boot-on; 792ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 793ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 794ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 795ec5d218eSSebastian Reichel regulator-enable-ramp-delay = <400>; 796ec5d218eSSebastian Reichel regulator-name = "vdd_gpu_mem_s0"; 79775a28721SBoris Brezillon regulator-coupled-with = <&vdd_gpu_s0>; 79875a28721SBoris Brezillon regulator-coupled-max-spread = <10000>; 799ec5d218eSSebastian Reichel regulator-state-mem { 800ec5d218eSSebastian Reichel regulator-off-in-suspend; 801ec5d218eSSebastian Reichel }; 802ec5d218eSSebastian Reichel 803ec5d218eSSebastian Reichel }; 804ec5d218eSSebastian Reichel 805ec5d218eSSebastian Reichel vdd_npu_mem_s0: dcdc-reg6 { 806ec5d218eSSebastian Reichel regulator-always-on; 807ec5d218eSSebastian Reichel regulator-boot-on; 808ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 809ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 810ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 811ec5d218eSSebastian Reichel regulator-name = "vdd_npu_mem_s0"; 812ec5d218eSSebastian Reichel regulator-state-mem { 813ec5d218eSSebastian Reichel regulator-off-in-suspend; 814ec5d218eSSebastian Reichel }; 815ec5d218eSSebastian Reichel 816ec5d218eSSebastian Reichel }; 817ec5d218eSSebastian Reichel 818ec5d218eSSebastian Reichel vcc_2v0_pldo_s3: dcdc-reg7 { 819ec5d218eSSebastian Reichel regulator-always-on; 820ec5d218eSSebastian Reichel regulator-boot-on; 821ec5d218eSSebastian Reichel regulator-min-microvolt = <2000000>; 822ec5d218eSSebastian Reichel regulator-max-microvolt = <2000000>; 823ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 824ec5d218eSSebastian Reichel regulator-name = "vdd_2v0_pldo_s3"; 825ec5d218eSSebastian Reichel regulator-state-mem { 826ec5d218eSSebastian Reichel regulator-on-in-suspend; 827ec5d218eSSebastian Reichel regulator-suspend-microvolt = <2000000>; 828ec5d218eSSebastian Reichel }; 829ec5d218eSSebastian Reichel }; 830ec5d218eSSebastian Reichel 831ec5d218eSSebastian Reichel vdd_vdenc_mem_s0: dcdc-reg8 { 832ec5d218eSSebastian Reichel regulator-always-on; 833ec5d218eSSebastian Reichel regulator-boot-on; 834ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 835ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 836ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 837ec5d218eSSebastian Reichel regulator-name = "vdd_vdenc_mem_s0"; 838ec5d218eSSebastian Reichel regulator-state-mem { 839ec5d218eSSebastian Reichel regulator-off-in-suspend; 840ec5d218eSSebastian Reichel }; 841ec5d218eSSebastian Reichel }; 842ec5d218eSSebastian Reichel 843ec5d218eSSebastian Reichel vdd2_ddr_s3: dcdc-reg9 { 844ec5d218eSSebastian Reichel regulator-always-on; 845ec5d218eSSebastian Reichel regulator-boot-on; 846ec5d218eSSebastian Reichel regulator-name = "vdd2_ddr_s3"; 847ec5d218eSSebastian Reichel regulator-state-mem { 848ec5d218eSSebastian Reichel regulator-on-in-suspend; 849ec5d218eSSebastian Reichel }; 850ec5d218eSSebastian Reichel }; 851ec5d218eSSebastian Reichel 852ec5d218eSSebastian Reichel vcc_1v1_nldo_s3: dcdc-reg10 { 853ec5d218eSSebastian Reichel regulator-always-on; 854ec5d218eSSebastian Reichel regulator-boot-on; 855ec5d218eSSebastian Reichel regulator-min-microvolt = <1100000>; 856ec5d218eSSebastian Reichel regulator-max-microvolt = <1100000>; 857ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 858ec5d218eSSebastian Reichel regulator-name = "vcc_1v1_nldo_s3"; 859ec5d218eSSebastian Reichel regulator-state-mem { 860ec5d218eSSebastian Reichel regulator-on-in-suspend; 861ec5d218eSSebastian Reichel regulator-suspend-microvolt = <1100000>; 862ec5d218eSSebastian Reichel }; 863ec5d218eSSebastian Reichel }; 864ec5d218eSSebastian Reichel 865ec5d218eSSebastian Reichel avcc_1v8_s0: pldo-reg1 { 866ec5d218eSSebastian Reichel regulator-always-on; 867ec5d218eSSebastian Reichel regulator-boot-on; 868ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 869ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 870ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 871ec5d218eSSebastian Reichel regulator-name = "avcc_1v8_s0"; 872ec5d218eSSebastian Reichel regulator-state-mem { 873ec5d218eSSebastian Reichel regulator-off-in-suspend; 874ec5d218eSSebastian Reichel }; 875ec5d218eSSebastian Reichel }; 876ec5d218eSSebastian Reichel 877ec5d218eSSebastian Reichel vdd1_1v8_ddr_s3: pldo-reg2 { 878ec5d218eSSebastian Reichel regulator-always-on; 879ec5d218eSSebastian Reichel regulator-boot-on; 880ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 881ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 882ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 883ec5d218eSSebastian Reichel regulator-name = "vdd1_1v8_ddr_s3"; 884ec5d218eSSebastian Reichel regulator-state-mem { 885ec5d218eSSebastian Reichel regulator-on-in-suspend; 886ec5d218eSSebastian Reichel regulator-suspend-microvolt = <1800000>; 887ec5d218eSSebastian Reichel }; 888ec5d218eSSebastian Reichel }; 889ec5d218eSSebastian Reichel 890ec5d218eSSebastian Reichel avcc_1v8_codec_s0: pldo-reg3 { 891ec5d218eSSebastian Reichel regulator-always-on; 892ec5d218eSSebastian Reichel regulator-boot-on; 893ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 894ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 895ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 896ec5d218eSSebastian Reichel regulator-name = "avcc_1v8_codec_s0"; 897ec5d218eSSebastian Reichel regulator-state-mem { 898ec5d218eSSebastian Reichel regulator-off-in-suspend; 899ec5d218eSSebastian Reichel }; 900ec5d218eSSebastian Reichel }; 901ec5d218eSSebastian Reichel 902ec5d218eSSebastian Reichel vcc_3v3_s3: pldo-reg4 { 903ec5d218eSSebastian Reichel regulator-always-on; 904ec5d218eSSebastian Reichel regulator-boot-on; 905ec5d218eSSebastian Reichel regulator-min-microvolt = <3300000>; 906ec5d218eSSebastian Reichel regulator-max-microvolt = <3300000>; 907ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 908ec5d218eSSebastian Reichel regulator-name = "vcc_3v3_s3"; 909ec5d218eSSebastian Reichel regulator-state-mem { 910ec5d218eSSebastian Reichel regulator-on-in-suspend; 911ec5d218eSSebastian Reichel regulator-suspend-microvolt = <3300000>; 912ec5d218eSSebastian Reichel }; 913ec5d218eSSebastian Reichel }; 914ec5d218eSSebastian Reichel 915ec5d218eSSebastian Reichel vccio_sd_s0: pldo-reg5 { 916ec5d218eSSebastian Reichel regulator-always-on; 917ec5d218eSSebastian Reichel regulator-boot-on; 918ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 919ec5d218eSSebastian Reichel regulator-max-microvolt = <3300000>; 920ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 921ec5d218eSSebastian Reichel regulator-name = "vccio_sd_s0"; 922ec5d218eSSebastian Reichel regulator-state-mem { 923ec5d218eSSebastian Reichel regulator-off-in-suspend; 924ec5d218eSSebastian Reichel }; 925ec5d218eSSebastian Reichel }; 926ec5d218eSSebastian Reichel 927ec5d218eSSebastian Reichel vccio_1v8_s3: pldo-reg6 { 928ec5d218eSSebastian Reichel regulator-always-on; 929ec5d218eSSebastian Reichel regulator-boot-on; 930ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 931ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 932ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 933ec5d218eSSebastian Reichel regulator-name = "vccio_1v8_s3"; 934ec5d218eSSebastian Reichel regulator-state-mem { 935ec5d218eSSebastian Reichel regulator-on-in-suspend; 936ec5d218eSSebastian Reichel regulator-suspend-microvolt = <1800000>; 937ec5d218eSSebastian Reichel }; 938ec5d218eSSebastian Reichel }; 939ec5d218eSSebastian Reichel 940ec5d218eSSebastian Reichel vdd_0v75_s3: nldo-reg1 { 941ec5d218eSSebastian Reichel regulator-always-on; 942ec5d218eSSebastian Reichel regulator-boot-on; 943ec5d218eSSebastian Reichel regulator-min-microvolt = <750000>; 944ec5d218eSSebastian Reichel regulator-max-microvolt = <750000>; 945ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 946ec5d218eSSebastian Reichel regulator-name = "vdd_0v75_s3"; 947ec5d218eSSebastian Reichel regulator-state-mem { 948ec5d218eSSebastian Reichel regulator-on-in-suspend; 949ec5d218eSSebastian Reichel regulator-suspend-microvolt = <750000>; 950ec5d218eSSebastian Reichel }; 951ec5d218eSSebastian Reichel }; 952ec5d218eSSebastian Reichel 953ec5d218eSSebastian Reichel vdd2l_0v9_ddr_s3: nldo-reg2 { 954ec5d218eSSebastian Reichel regulator-always-on; 955ec5d218eSSebastian Reichel regulator-boot-on; 956ec5d218eSSebastian Reichel regulator-min-microvolt = <900000>; 957ec5d218eSSebastian Reichel regulator-max-microvolt = <900000>; 958ec5d218eSSebastian Reichel regulator-name = "vdd2l_0v9_ddr_s3"; 959ec5d218eSSebastian Reichel regulator-state-mem { 960ec5d218eSSebastian Reichel regulator-on-in-suspend; 961ec5d218eSSebastian Reichel regulator-suspend-microvolt = <900000>; 962ec5d218eSSebastian Reichel }; 963ec5d218eSSebastian Reichel }; 964ec5d218eSSebastian Reichel 965ec5d218eSSebastian Reichel vdd_0v75_hdmi_edp_s0: nldo-reg3 { 966ec5d218eSSebastian Reichel regulator-always-on; 967ec5d218eSSebastian Reichel regulator-boot-on; 968ec5d218eSSebastian Reichel regulator-min-microvolt = <750000>; 969ec5d218eSSebastian Reichel regulator-max-microvolt = <750000>; 970ec5d218eSSebastian Reichel regulator-name = "vdd_0v75_hdmi_edp_s0"; 971ec5d218eSSebastian Reichel regulator-state-mem { 972ec5d218eSSebastian Reichel regulator-off-in-suspend; 973ec5d218eSSebastian Reichel }; 974ec5d218eSSebastian Reichel }; 975ec5d218eSSebastian Reichel 976ec5d218eSSebastian Reichel avdd_0v75_s0: nldo-reg4 { 977ec5d218eSSebastian Reichel regulator-always-on; 978ec5d218eSSebastian Reichel regulator-boot-on; 979ec5d218eSSebastian Reichel regulator-min-microvolt = <750000>; 980ec5d218eSSebastian Reichel regulator-max-microvolt = <750000>; 981ec5d218eSSebastian Reichel regulator-name = "avdd_0v75_s0"; 982ec5d218eSSebastian Reichel regulator-state-mem { 983ec5d218eSSebastian Reichel regulator-off-in-suspend; 984ec5d218eSSebastian Reichel }; 985ec5d218eSSebastian Reichel }; 986ec5d218eSSebastian Reichel 987ec5d218eSSebastian Reichel vdd_0v85_s0: nldo-reg5 { 988ec5d218eSSebastian Reichel regulator-always-on; 989ec5d218eSSebastian Reichel regulator-boot-on; 990ec5d218eSSebastian Reichel regulator-min-microvolt = <850000>; 991ec5d218eSSebastian Reichel regulator-max-microvolt = <850000>; 992ec5d218eSSebastian Reichel regulator-name = "vdd_0v85_s0"; 993ec5d218eSSebastian Reichel regulator-state-mem { 994ec5d218eSSebastian Reichel regulator-off-in-suspend; 995ec5d218eSSebastian Reichel }; 996ec5d218eSSebastian Reichel }; 997ec5d218eSSebastian Reichel }; 998ec5d218eSSebastian Reichel }; 999ec5d218eSSebastian Reichel 1000ec5d218eSSebastian Reichel pmic@1 { 1001ec5d218eSSebastian Reichel compatible = "rockchip,rk806"; 1002ec5d218eSSebastian Reichel reg = <0x01>; 1003ec5d218eSSebastian Reichel #gpio-cells = <2>; 1004ec5d218eSSebastian Reichel gpio-controller; 1005ec5d218eSSebastian Reichel interrupt-parent = <&gpio0>; 1006ec5d218eSSebastian Reichel interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 1007ec5d218eSSebastian Reichel pinctrl-0 = <&rk806_slave_dvs1_null>, <&rk806_slave_dvs2_null>, 1008ec5d218eSSebastian Reichel <&rk806_slave_dvs3_null>; 1009ec5d218eSSebastian Reichel pinctrl-names = "default"; 1010ec5d218eSSebastian Reichel spi-max-frequency = <1000000>; 1011ec5d218eSSebastian Reichel 1012ec5d218eSSebastian Reichel vcc1-supply = <&vcc5v0_sys>; 1013ec5d218eSSebastian Reichel vcc2-supply = <&vcc5v0_sys>; 1014ec5d218eSSebastian Reichel vcc3-supply = <&vcc5v0_sys>; 1015ec5d218eSSebastian Reichel vcc4-supply = <&vcc5v0_sys>; 1016ec5d218eSSebastian Reichel vcc5-supply = <&vcc5v0_sys>; 1017ec5d218eSSebastian Reichel vcc6-supply = <&vcc5v0_sys>; 1018ec5d218eSSebastian Reichel vcc7-supply = <&vcc5v0_sys>; 1019ec5d218eSSebastian Reichel vcc8-supply = <&vcc5v0_sys>; 1020ec5d218eSSebastian Reichel vcc9-supply = <&vcc5v0_sys>; 1021ec5d218eSSebastian Reichel vcc10-supply = <&vcc5v0_sys>; 1022ec5d218eSSebastian Reichel vcc11-supply = <&vcc_2v0_pldo_s3>; 1023ec5d218eSSebastian Reichel vcc12-supply = <&vcc5v0_sys>; 1024ec5d218eSSebastian Reichel vcc13-supply = <&vcc_1v1_nldo_s3>; 1025ec5d218eSSebastian Reichel vcc14-supply = <&vcc_2v0_pldo_s3>; 1026ec5d218eSSebastian Reichel vcca-supply = <&vcc5v0_sys>; 1027ec5d218eSSebastian Reichel 1028ec5d218eSSebastian Reichel rk806_slave_dvs1_null: dvs1-null-pins { 1029ec5d218eSSebastian Reichel pins = "gpio_pwrctrl1"; 1030ec5d218eSSebastian Reichel function = "pin_fun0"; 1031ec5d218eSSebastian Reichel }; 1032ec5d218eSSebastian Reichel 1033ec5d218eSSebastian Reichel rk806_slave_dvs2_null: dvs2-null-pins { 1034ec5d218eSSebastian Reichel pins = "gpio_pwrctrl2"; 1035ec5d218eSSebastian Reichel function = "pin_fun0"; 1036ec5d218eSSebastian Reichel }; 1037ec5d218eSSebastian Reichel 1038ec5d218eSSebastian Reichel rk806_slave_dvs3_null: dvs3-null-pins { 1039ec5d218eSSebastian Reichel pins = "gpio_pwrctrl3"; 1040ec5d218eSSebastian Reichel function = "pin_fun0"; 1041ec5d218eSSebastian Reichel }; 1042ec5d218eSSebastian Reichel 1043ec5d218eSSebastian Reichel regulators { 1044ec5d218eSSebastian Reichel vdd_cpu_big1_s0: dcdc-reg1 { 1045ec5d218eSSebastian Reichel regulator-always-on; 1046ec5d218eSSebastian Reichel regulator-boot-on; 10470ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_big1_mem_s0>; 10480ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1049ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 1050ec5d218eSSebastian Reichel regulator-max-microvolt = <1050000>; 1051ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1052ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_big1_s0"; 1053ec5d218eSSebastian Reichel regulator-state-mem { 1054ec5d218eSSebastian Reichel regulator-off-in-suspend; 1055ec5d218eSSebastian Reichel }; 1056ec5d218eSSebastian Reichel }; 1057ec5d218eSSebastian Reichel 1058ec5d218eSSebastian Reichel vdd_cpu_big0_s0: dcdc-reg2 { 1059ec5d218eSSebastian Reichel regulator-always-on; 1060ec5d218eSSebastian Reichel regulator-boot-on; 10610ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_big0_mem_s0>; 10620ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1063ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 1064ec5d218eSSebastian Reichel regulator-max-microvolt = <1050000>; 1065ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1066ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_big0_s0"; 1067ec5d218eSSebastian Reichel regulator-state-mem { 1068ec5d218eSSebastian Reichel regulator-off-in-suspend; 1069ec5d218eSSebastian Reichel }; 1070ec5d218eSSebastian Reichel }; 1071ec5d218eSSebastian Reichel 1072ec5d218eSSebastian Reichel vdd_cpu_lit_s0: dcdc-reg3 { 1073ec5d218eSSebastian Reichel regulator-always-on; 1074ec5d218eSSebastian Reichel regulator-boot-on; 10750ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_lit_mem_s0>; 10760ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1077ec5d218eSSebastian Reichel regulator-min-microvolt = <550000>; 1078ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 1079ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1080ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_lit_s0"; 1081ec5d218eSSebastian Reichel regulator-state-mem { 1082ec5d218eSSebastian Reichel regulator-off-in-suspend; 1083ec5d218eSSebastian Reichel }; 1084ec5d218eSSebastian Reichel }; 1085ec5d218eSSebastian Reichel 1086ec5d218eSSebastian Reichel vcc_3v3_s0: dcdc-reg4 { 1087ec5d218eSSebastian Reichel regulator-always-on; 1088ec5d218eSSebastian Reichel regulator-boot-on; 1089ec5d218eSSebastian Reichel regulator-min-microvolt = <3300000>; 1090ec5d218eSSebastian Reichel regulator-max-microvolt = <3300000>; 1091ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1092ec5d218eSSebastian Reichel regulator-name = "vcc_3v3_s0"; 1093ec5d218eSSebastian Reichel regulator-state-mem { 1094ec5d218eSSebastian Reichel regulator-off-in-suspend; 1095ec5d218eSSebastian Reichel }; 1096ec5d218eSSebastian Reichel }; 1097ec5d218eSSebastian Reichel 1098ec5d218eSSebastian Reichel vdd_cpu_big1_mem_s0: dcdc-reg5 { 1099ec5d218eSSebastian Reichel regulator-always-on; 1100ec5d218eSSebastian Reichel regulator-boot-on; 11010ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_big1_s0>; 11020ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1103ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 1104ec5d218eSSebastian Reichel regulator-max-microvolt = <1050000>; 1105ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1106ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_big1_mem_s0"; 1107ec5d218eSSebastian Reichel regulator-state-mem { 1108ec5d218eSSebastian Reichel regulator-off-in-suspend; 1109ec5d218eSSebastian Reichel }; 1110ec5d218eSSebastian Reichel }; 1111ec5d218eSSebastian Reichel 1112ec5d218eSSebastian Reichel 1113ec5d218eSSebastian Reichel vdd_cpu_big0_mem_s0: dcdc-reg6 { 1114ec5d218eSSebastian Reichel regulator-always-on; 1115ec5d218eSSebastian Reichel regulator-boot-on; 11160ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_big0_s0>; 11170ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1118ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 1119ec5d218eSSebastian Reichel regulator-max-microvolt = <1050000>; 1120ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1121ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_big0_mem_s0"; 1122ec5d218eSSebastian Reichel regulator-state-mem { 1123ec5d218eSSebastian Reichel regulator-off-in-suspend; 1124ec5d218eSSebastian Reichel }; 1125ec5d218eSSebastian Reichel }; 1126ec5d218eSSebastian Reichel 1127ec5d218eSSebastian Reichel vcc_1v8_s0: dcdc-reg7 { 1128ec5d218eSSebastian Reichel regulator-always-on; 1129ec5d218eSSebastian Reichel regulator-boot-on; 1130ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 1131ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 1132ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1133ec5d218eSSebastian Reichel regulator-name = "vcc_1v8_s0"; 1134ec5d218eSSebastian Reichel regulator-state-mem { 1135ec5d218eSSebastian Reichel regulator-off-in-suspend; 1136ec5d218eSSebastian Reichel }; 1137ec5d218eSSebastian Reichel }; 1138ec5d218eSSebastian Reichel 1139ec5d218eSSebastian Reichel vdd_cpu_lit_mem_s0: dcdc-reg8 { 1140ec5d218eSSebastian Reichel regulator-always-on; 1141ec5d218eSSebastian Reichel regulator-boot-on; 11420ba05609SAlexey Charkov regulator-coupled-with = <&vdd_cpu_lit_s0>; 11430ba05609SAlexey Charkov regulator-coupled-max-spread = <10000>; 1144ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 1145ec5d218eSSebastian Reichel regulator-max-microvolt = <950000>; 1146ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1147ec5d218eSSebastian Reichel regulator-name = "vdd_cpu_lit_mem_s0"; 1148ec5d218eSSebastian Reichel regulator-state-mem { 1149ec5d218eSSebastian Reichel regulator-off-in-suspend; 1150ec5d218eSSebastian Reichel }; 1151ec5d218eSSebastian Reichel }; 1152ec5d218eSSebastian Reichel 1153ec5d218eSSebastian Reichel vddq_ddr_s0: dcdc-reg9 { 1154ec5d218eSSebastian Reichel regulator-always-on; 1155ec5d218eSSebastian Reichel regulator-boot-on; 1156ec5d218eSSebastian Reichel regulator-name = "vddq_ddr_s0"; 1157ec5d218eSSebastian Reichel regulator-state-mem { 1158ec5d218eSSebastian Reichel regulator-off-in-suspend; 1159ec5d218eSSebastian Reichel }; 1160ec5d218eSSebastian Reichel }; 1161ec5d218eSSebastian Reichel 1162ec5d218eSSebastian Reichel vdd_ddr_s0: dcdc-reg10 { 1163ec5d218eSSebastian Reichel regulator-always-on; 1164ec5d218eSSebastian Reichel regulator-boot-on; 1165ec5d218eSSebastian Reichel regulator-min-microvolt = <675000>; 1166ec5d218eSSebastian Reichel regulator-max-microvolt = <900000>; 1167ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1168ec5d218eSSebastian Reichel regulator-name = "vdd_ddr_s0"; 1169ec5d218eSSebastian Reichel regulator-state-mem { 1170ec5d218eSSebastian Reichel regulator-off-in-suspend; 1171ec5d218eSSebastian Reichel }; 1172ec5d218eSSebastian Reichel }; 1173ec5d218eSSebastian Reichel 1174ec5d218eSSebastian Reichel vcc_1v8_cam_s0: pldo-reg1 { 1175ec5d218eSSebastian Reichel regulator-always-on; 1176ec5d218eSSebastian Reichel regulator-boot-on; 1177ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 1178ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 1179ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1180ec5d218eSSebastian Reichel regulator-name = "vcc_1v8_cam_s0"; 1181ec5d218eSSebastian Reichel regulator-state-mem { 1182ec5d218eSSebastian Reichel regulator-off-in-suspend; 1183ec5d218eSSebastian Reichel }; 1184ec5d218eSSebastian Reichel }; 1185ec5d218eSSebastian Reichel 1186ec5d218eSSebastian Reichel avdd1v8_ddr_pll_s0: pldo-reg2 { 1187ec5d218eSSebastian Reichel regulator-always-on; 1188ec5d218eSSebastian Reichel regulator-boot-on; 1189ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 1190ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 1191ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1192ec5d218eSSebastian Reichel regulator-name = "avdd1v8_ddr_pll_s0"; 1193ec5d218eSSebastian Reichel regulator-state-mem { 1194ec5d218eSSebastian Reichel regulator-off-in-suspend; 1195ec5d218eSSebastian Reichel }; 1196ec5d218eSSebastian Reichel }; 1197ec5d218eSSebastian Reichel 1198ec5d218eSSebastian Reichel vdd_1v8_pll_s0: pldo-reg3 { 1199ec5d218eSSebastian Reichel regulator-always-on; 1200ec5d218eSSebastian Reichel regulator-boot-on; 1201ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 1202ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 1203ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1204ec5d218eSSebastian Reichel regulator-name = "vdd_1v8_pll_s0"; 1205ec5d218eSSebastian Reichel regulator-state-mem { 1206ec5d218eSSebastian Reichel regulator-off-in-suspend; 1207ec5d218eSSebastian Reichel }; 1208ec5d218eSSebastian Reichel }; 1209ec5d218eSSebastian Reichel 1210ec5d218eSSebastian Reichel vcc_3v3_sd_s0: pldo-reg4 { 1211ec5d218eSSebastian Reichel regulator-always-on; 1212ec5d218eSSebastian Reichel regulator-boot-on; 1213ec5d218eSSebastian Reichel regulator-min-microvolt = <3300000>; 1214ec5d218eSSebastian Reichel regulator-max-microvolt = <3300000>; 1215ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1216ec5d218eSSebastian Reichel regulator-name = "vcc_3v3_sd_s0"; 1217ec5d218eSSebastian Reichel regulator-state-mem { 1218ec5d218eSSebastian Reichel regulator-off-in-suspend; 1219ec5d218eSSebastian Reichel }; 1220ec5d218eSSebastian Reichel }; 1221ec5d218eSSebastian Reichel 1222ec5d218eSSebastian Reichel vcc_2v8_cam_s0: pldo-reg5 { 1223ec5d218eSSebastian Reichel regulator-always-on; 1224ec5d218eSSebastian Reichel regulator-boot-on; 1225ec5d218eSSebastian Reichel regulator-min-microvolt = <2800000>; 1226ec5d218eSSebastian Reichel regulator-max-microvolt = <2800000>; 1227ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1228ec5d218eSSebastian Reichel regulator-name = "vcc_2v8_cam_s0"; 1229ec5d218eSSebastian Reichel regulator-state-mem { 1230ec5d218eSSebastian Reichel regulator-off-in-suspend; 1231ec5d218eSSebastian Reichel }; 1232ec5d218eSSebastian Reichel }; 1233ec5d218eSSebastian Reichel 1234ec5d218eSSebastian Reichel pldo6_s3: pldo-reg6 { 1235ec5d218eSSebastian Reichel regulator-always-on; 1236ec5d218eSSebastian Reichel regulator-boot-on; 1237ec5d218eSSebastian Reichel regulator-min-microvolt = <1800000>; 1238ec5d218eSSebastian Reichel regulator-max-microvolt = <1800000>; 1239ec5d218eSSebastian Reichel regulator-name = "pldo6_s3"; 1240ec5d218eSSebastian Reichel regulator-state-mem { 1241ec5d218eSSebastian Reichel regulator-on-in-suspend; 1242ec5d218eSSebastian Reichel regulator-suspend-microvolt = <1800000>; 1243ec5d218eSSebastian Reichel }; 1244ec5d218eSSebastian Reichel }; 1245ec5d218eSSebastian Reichel 1246ec5d218eSSebastian Reichel vdd_0v75_pll_s0: nldo-reg1 { 1247ec5d218eSSebastian Reichel regulator-always-on; 1248ec5d218eSSebastian Reichel regulator-boot-on; 1249ec5d218eSSebastian Reichel regulator-min-microvolt = <750000>; 1250ec5d218eSSebastian Reichel regulator-max-microvolt = <750000>; 1251ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1252ec5d218eSSebastian Reichel regulator-name = "vdd_0v75_pll_s0"; 1253ec5d218eSSebastian Reichel regulator-state-mem { 1254ec5d218eSSebastian Reichel regulator-off-in-suspend; 1255ec5d218eSSebastian Reichel }; 1256ec5d218eSSebastian Reichel }; 1257ec5d218eSSebastian Reichel 1258ec5d218eSSebastian Reichel vdd_ddr_pll_s0: nldo-reg2 { 1259ec5d218eSSebastian Reichel regulator-always-on; 1260ec5d218eSSebastian Reichel regulator-boot-on; 1261ec5d218eSSebastian Reichel regulator-min-microvolt = <850000>; 1262ec5d218eSSebastian Reichel regulator-max-microvolt = <850000>; 1263ec5d218eSSebastian Reichel regulator-name = "vdd_ddr_pll_s0"; 1264ec5d218eSSebastian Reichel regulator-state-mem { 1265ec5d218eSSebastian Reichel regulator-off-in-suspend; 1266ec5d218eSSebastian Reichel }; 1267ec5d218eSSebastian Reichel }; 1268ec5d218eSSebastian Reichel 1269ec5d218eSSebastian Reichel avdd_0v85_s0: nldo-reg3 { 1270ec5d218eSSebastian Reichel regulator-always-on; 1271ec5d218eSSebastian Reichel regulator-boot-on; 1272ec5d218eSSebastian Reichel regulator-min-microvolt = <850000>; 1273ec5d218eSSebastian Reichel regulator-max-microvolt = <850000>; 1274ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1275ec5d218eSSebastian Reichel regulator-name = "avdd_0v85_s0"; 1276ec5d218eSSebastian Reichel regulator-state-mem { 1277ec5d218eSSebastian Reichel regulator-off-in-suspend; 1278ec5d218eSSebastian Reichel }; 1279ec5d218eSSebastian Reichel }; 1280ec5d218eSSebastian Reichel 1281ec5d218eSSebastian Reichel avdd_1v2_cam_s0: nldo-reg4 { 1282ec5d218eSSebastian Reichel regulator-always-on; 1283ec5d218eSSebastian Reichel regulator-boot-on; 1284ec5d218eSSebastian Reichel regulator-min-microvolt = <1200000>; 1285ec5d218eSSebastian Reichel regulator-max-microvolt = <1200000>; 1286ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1287ec5d218eSSebastian Reichel regulator-name = "avdd_1v2_cam_s0"; 1288ec5d218eSSebastian Reichel regulator-state-mem { 1289ec5d218eSSebastian Reichel regulator-off-in-suspend; 1290ec5d218eSSebastian Reichel }; 1291ec5d218eSSebastian Reichel }; 1292ec5d218eSSebastian Reichel 1293ec5d218eSSebastian Reichel avdd_1v2_s0: nldo-reg5 { 1294ec5d218eSSebastian Reichel regulator-always-on; 1295ec5d218eSSebastian Reichel regulator-boot-on; 1296ec5d218eSSebastian Reichel regulator-min-microvolt = <1200000>; 1297ec5d218eSSebastian Reichel regulator-max-microvolt = <1200000>; 1298ec5d218eSSebastian Reichel regulator-ramp-delay = <12500>; 1299ec5d218eSSebastian Reichel regulator-name = "avdd_1v2_s0"; 1300ec5d218eSSebastian Reichel regulator-state-mem { 1301ec5d218eSSebastian Reichel regulator-off-in-suspend; 1302ec5d218eSSebastian Reichel }; 1303ec5d218eSSebastian Reichel }; 1304ec5d218eSSebastian Reichel }; 1305ec5d218eSSebastian Reichel }; 1306ec5d218eSSebastian Reichel}; 1307ec5d218eSSebastian Reichel 13089c7f2494SSebastian Reichel&sata0 { 13099c7f2494SSebastian Reichel status = "okay"; 13109c7f2494SSebastian Reichel}; 13119c7f2494SSebastian Reichel 13122f8064b9SAlexey Charkov&tsadc { 13132f8064b9SAlexey Charkov status = "okay"; 13142f8064b9SAlexey Charkov}; 13152f8064b9SAlexey Charkov 1316b37146b5SSebastian Reichel&u2phy0 { 1317b37146b5SSebastian Reichel status = "okay"; 1318b37146b5SSebastian Reichel}; 1319b37146b5SSebastian Reichel 1320b37146b5SSebastian Reichel&u2phy0_otg { 1321b37146b5SSebastian Reichel status = "okay"; 1322b37146b5SSebastian Reichel}; 1323b37146b5SSebastian Reichel 1324b37146b5SSebastian Reichel&u2phy1 { 1325b37146b5SSebastian Reichel status = "okay"; 1326b37146b5SSebastian Reichel}; 1327b37146b5SSebastian Reichel 1328b37146b5SSebastian Reichel&u2phy1_otg { 1329b37146b5SSebastian Reichel status = "okay"; 1330b37146b5SSebastian Reichel}; 1331b37146b5SSebastian Reichel 1332e39da107SSebastian Reichel&u2phy2 { 1333e39da107SSebastian Reichel status = "okay"; 1334e39da107SSebastian Reichel}; 1335e39da107SSebastian Reichel 1336e39da107SSebastian Reichel&u2phy2_host { 1337e39da107SSebastian Reichel phy-supply = <&vcc5v0_host>; 1338e39da107SSebastian Reichel status = "okay"; 1339e39da107SSebastian Reichel}; 1340e39da107SSebastian Reichel 1341e39da107SSebastian Reichel&u2phy3 { 1342e39da107SSebastian Reichel status = "okay"; 1343e39da107SSebastian Reichel}; 1344e39da107SSebastian Reichel 1345e39da107SSebastian Reichel&u2phy3_host { 1346e39da107SSebastian Reichel phy-supply = <&vcc5v0_host>; 1347e39da107SSebastian Reichel status = "okay"; 1348e39da107SSebastian Reichel}; 1349e39da107SSebastian Reichel 1350e904ca92SKever Yang&uart2 { 1351e904ca92SKever Yang pinctrl-0 = <&uart2m0_xfer>; 1352e904ca92SKever Yang status = "okay"; 1353e904ca92SKever Yang}; 1354e39da107SSebastian Reichel 1355e39da107SSebastian Reichel&usb_host0_ehci { 1356e39da107SSebastian Reichel status = "okay"; 1357e39da107SSebastian Reichel}; 1358e39da107SSebastian Reichel 1359e39da107SSebastian Reichel&usb_host0_ohci { 1360e39da107SSebastian Reichel status = "okay"; 1361e39da107SSebastian Reichel}; 1362e39da107SSebastian Reichel 1363e39da107SSebastian Reichel&usb_host1_ehci { 1364e39da107SSebastian Reichel status = "okay"; 1365e39da107SSebastian Reichel}; 1366e39da107SSebastian Reichel 1367e39da107SSebastian Reichel&usb_host1_ohci { 1368e39da107SSebastian Reichel status = "okay"; 1369e39da107SSebastian Reichel}; 1370b37146b5SSebastian Reichel 1371b37146b5SSebastian Reichel&usbdp_phy0 { 1372b37146b5SSebastian Reichel mode-switch; 1373b37146b5SSebastian Reichel orientation-switch; 1374b37146b5SSebastian Reichel sbu1-dc-gpios = <&gpio4 RK_PA6 GPIO_ACTIVE_HIGH>; 1375b37146b5SSebastian Reichel sbu2-dc-gpios = <&gpio4 RK_PA7 GPIO_ACTIVE_HIGH>; 1376b37146b5SSebastian Reichel status = "okay"; 1377b37146b5SSebastian Reichel 1378b37146b5SSebastian Reichel port { 1379b37146b5SSebastian Reichel #address-cells = <1>; 1380b37146b5SSebastian Reichel #size-cells = <0>; 1381b37146b5SSebastian Reichel 1382b37146b5SSebastian Reichel usbdp_phy0_orientation_switch: endpoint@0 { 1383b37146b5SSebastian Reichel reg = <0>; 1384b37146b5SSebastian Reichel remote-endpoint = <&usbc0_orien_sw>; 1385b37146b5SSebastian Reichel }; 1386b37146b5SSebastian Reichel 1387b37146b5SSebastian Reichel usbdp_phy0_dp_altmode_mux: endpoint@1 { 1388b37146b5SSebastian Reichel reg = <1>; 1389b37146b5SSebastian Reichel remote-endpoint = <&dp_altmode_mux>; 1390b37146b5SSebastian Reichel }; 1391b37146b5SSebastian Reichel }; 1392b37146b5SSebastian Reichel}; 1393b37146b5SSebastian Reichel 1394b37146b5SSebastian Reichel&usbdp_phy1 { 1395b37146b5SSebastian Reichel /* 1396b37146b5SSebastian Reichel * USBDP PHY1 is wired to a female USB3 Type-A connector. Additionally 1397b37146b5SSebastian Reichel * the differential pairs 2+3 and the aux channel are wired to a RTD2166, 1398b37146b5SSebastian Reichel * which converts the DP signal into VGA. This is exposed on the 1399b37146b5SSebastian Reichel * board via a female VGA connector. 1400b37146b5SSebastian Reichel */ 1401b37146b5SSebastian Reichel rockchip,dp-lane-mux = <2 3>; 1402b37146b5SSebastian Reichel status = "okay"; 1403b37146b5SSebastian Reichel}; 1404b37146b5SSebastian Reichel 1405b37146b5SSebastian Reichel&usb_host0_xhci { 1406b37146b5SSebastian Reichel dr_mode = "otg"; 1407b37146b5SSebastian Reichel usb-role-switch; 1408b37146b5SSebastian Reichel status = "okay"; 1409b37146b5SSebastian Reichel 1410b37146b5SSebastian Reichel port { 1411b37146b5SSebastian Reichel #address-cells = <1>; 1412b37146b5SSebastian Reichel #size-cells = <0>; 1413b37146b5SSebastian Reichel 1414b37146b5SSebastian Reichel dwc3_0_role_switch: endpoint@0 { 1415b37146b5SSebastian Reichel reg = <0>; 1416b37146b5SSebastian Reichel remote-endpoint = <&usbc0_role_sw>; 1417b37146b5SSebastian Reichel }; 1418b37146b5SSebastian Reichel }; 1419b37146b5SSebastian Reichel}; 1420b37146b5SSebastian Reichel 1421b37146b5SSebastian Reichel&usb_host1_xhci { 1422b37146b5SSebastian Reichel dr_mode = "host"; 1423b37146b5SSebastian Reichel status = "okay"; 1424b37146b5SSebastian Reichel}; 1425de9001b2SCristian Ciocaltea 14265c2d6181SCristian Ciocaltea&vop { 1427de9001b2SCristian Ciocaltea status = "okay"; 1428de9001b2SCristian Ciocaltea}; 1429de9001b2SCristian Ciocaltea 14305c2d6181SCristian Ciocaltea&vop_mmu { 1431de9001b2SCristian Ciocaltea status = "okay"; 1432de9001b2SCristian Ciocaltea}; 1433de9001b2SCristian Ciocaltea 1434de9001b2SCristian Ciocaltea&vp0 { 1435de9001b2SCristian Ciocaltea vp0_out_hdmi0: endpoint@ROCKCHIP_VOP2_EP_HDMI0 { 1436de9001b2SCristian Ciocaltea reg = <ROCKCHIP_VOP2_EP_HDMI0>; 1437de9001b2SCristian Ciocaltea remote-endpoint = <&hdmi0_in_vp0>; 1438de9001b2SCristian Ciocaltea }; 1439de9001b2SCristian Ciocaltea}; 14405c2d6181SCristian Ciocaltea 14415c2d6181SCristian Ciocaltea&vp1 { 14425c2d6181SCristian Ciocaltea vp1_out_hdmi1: endpoint@ROCKCHIP_VOP2_EP_HDMI1 { 14435c2d6181SCristian Ciocaltea reg = <ROCKCHIP_VOP2_EP_HDMI1>; 14445c2d6181SCristian Ciocaltea remote-endpoint = <&hdmi1_in_vp1>; 14455c2d6181SCristian Ciocaltea }; 14465c2d6181SCristian Ciocaltea}; 1447