18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 28c2ecf20Sopenharmony_ci/dts-v1/; 38c2ecf20Sopenharmony_ci#include <dt-bindings/pwm/pwm.h> 48c2ecf20Sopenharmony_ci#include <dt-bindings/input/input.h> 58c2ecf20Sopenharmony_ci#include "rk3399.dtsi" 68c2ecf20Sopenharmony_ci#include "rk3399-opp.dtsi" 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci/ { 98c2ecf20Sopenharmony_ci model = "Hugsun X99 TV BOX"; 108c2ecf20Sopenharmony_ci compatible = "hugsun,x99", "rockchip,rk3399"; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci chosen { 138c2ecf20Sopenharmony_ci stdout-path = "serial2:1500000n8"; 148c2ecf20Sopenharmony_ci }; 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci clkin_gmac: external-gmac-clock { 178c2ecf20Sopenharmony_ci compatible = "fixed-clock"; 188c2ecf20Sopenharmony_ci clock-frequency = <125000000>; 198c2ecf20Sopenharmony_ci clock-output-names = "clkin_gmac"; 208c2ecf20Sopenharmony_ci #clock-cells = <0>; 218c2ecf20Sopenharmony_ci }; 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci dc_5v: dc-5v { 248c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 258c2ecf20Sopenharmony_ci regulator-name = "dc_5v"; 268c2ecf20Sopenharmony_ci regulator-always-on; 278c2ecf20Sopenharmony_ci regulator-boot-on; 288c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 298c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 308c2ecf20Sopenharmony_ci }; 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci ir-receiver { 338c2ecf20Sopenharmony_ci compatible = "gpio-ir-receiver"; 348c2ecf20Sopenharmony_ci gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; 358c2ecf20Sopenharmony_ci pinctrl-names = "default"; 368c2ecf20Sopenharmony_ci pinctrl-0 = <&ir_rx>; 378c2ecf20Sopenharmony_ci }; 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci leds { 408c2ecf20Sopenharmony_ci compatible = "gpio-leds"; 418c2ecf20Sopenharmony_ci pinctrl-names = "default"; 428c2ecf20Sopenharmony_ci pinctrl-0 = <&power_led_pin>; 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci power_led: led-0 { 458c2ecf20Sopenharmony_ci label = "blue:power"; 468c2ecf20Sopenharmony_ci gpios = <&gpio4 RK_PC2 GPIO_ACTIVE_HIGH>; 478c2ecf20Sopenharmony_ci default-state = "on"; 488c2ecf20Sopenharmony_ci linux,default-trigger = "default-on"; 498c2ecf20Sopenharmony_ci }; 508c2ecf20Sopenharmony_ci }; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci vcc_sys: vcc-sys { 538c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 548c2ecf20Sopenharmony_ci regulator-name = "vcc_sys"; 558c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 568c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 578c2ecf20Sopenharmony_ci regulator-always-on; 588c2ecf20Sopenharmony_ci vin-supply = <&dc_5v>; 598c2ecf20Sopenharmony_ci }; 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci vcc_phy: vcc-phy-regulator { 628c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 638c2ecf20Sopenharmony_ci regulator-name = "vcc_phy"; 648c2ecf20Sopenharmony_ci regulator-always-on; 658c2ecf20Sopenharmony_ci regulator-boot-on; 668c2ecf20Sopenharmony_ci }; 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ci vcc1v8_s0: vcc1v8-s0 { 698c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 708c2ecf20Sopenharmony_ci regulator-name = "vcc1v8_s0"; 718c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 728c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 738c2ecf20Sopenharmony_ci regulator-always-on; 748c2ecf20Sopenharmony_ci }; 758c2ecf20Sopenharmony_ci 768c2ecf20Sopenharmony_ci vcc3v3_sys: vcc3v3-sys { 778c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 788c2ecf20Sopenharmony_ci regulator-name = "vcc3v3_sys"; 798c2ecf20Sopenharmony_ci regulator-min-microvolt = <3300000>; 808c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 818c2ecf20Sopenharmony_ci regulator-always-on; 828c2ecf20Sopenharmony_ci vin-supply = <&vcc_sys>; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci 858c2ecf20Sopenharmony_ci vcc5v0_host: vcc5v0-host-regulator { 868c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 878c2ecf20Sopenharmony_ci enable-active-high; 888c2ecf20Sopenharmony_ci gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; 898c2ecf20Sopenharmony_ci pinctrl-names = "default"; 908c2ecf20Sopenharmony_ci pinctrl-0 = <&host_vbus_drv>; 918c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_host"; 928c2ecf20Sopenharmony_ci regulator-always-on; 938c2ecf20Sopenharmony_ci }; 948c2ecf20Sopenharmony_ci 958c2ecf20Sopenharmony_ci vcc5v0_typec: vcc5v0-typec-regulator { 968c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 978c2ecf20Sopenharmony_ci enable-active-high; 988c2ecf20Sopenharmony_ci gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; 998c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1008c2ecf20Sopenharmony_ci pinctrl-0 = <&vcc5v0_typec_en>; 1018c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_typec"; 1028c2ecf20Sopenharmony_ci regulator-always-on; 1038c2ecf20Sopenharmony_ci vin-supply = <&vcc5v0_usb>; 1048c2ecf20Sopenharmony_ci }; 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ci vcc5v0_usb: vcc5v0-usb { 1078c2ecf20Sopenharmony_ci compatible = "regulator-fixed"; 1088c2ecf20Sopenharmony_ci regulator-name = "vcc5v0_usb"; 1098c2ecf20Sopenharmony_ci regulator-always-on; 1108c2ecf20Sopenharmony_ci regulator-boot-on; 1118c2ecf20Sopenharmony_ci regulator-min-microvolt = <5000000>; 1128c2ecf20Sopenharmony_ci regulator-max-microvolt = <5000000>; 1138c2ecf20Sopenharmony_ci vin-supply = <&dc_5v>; 1148c2ecf20Sopenharmony_ci }; 1158c2ecf20Sopenharmony_ci 1168c2ecf20Sopenharmony_ci vdd_log: vdd-log { 1178c2ecf20Sopenharmony_ci compatible = "pwm-regulator"; 1188c2ecf20Sopenharmony_ci pwms = <&pwm2 0 25000 1>; 1198c2ecf20Sopenharmony_ci pwm-supply = <&vcc_sys>; 1208c2ecf20Sopenharmony_ci regulator-name = "vdd_log"; 1218c2ecf20Sopenharmony_ci regulator-min-microvolt = <800000>; 1228c2ecf20Sopenharmony_ci regulator-max-microvolt = <1400000>; 1238c2ecf20Sopenharmony_ci regulator-always-on; 1248c2ecf20Sopenharmony_ci regulator-boot-on; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci sdio_pwrseq: sdio-pwrseq { 1288c2ecf20Sopenharmony_ci compatible = "mmc-pwrseq-simple"; 1298c2ecf20Sopenharmony_ci clocks = <&rk808 1>; 1308c2ecf20Sopenharmony_ci clock-names = "ext_clock"; 1318c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1328c2ecf20Sopenharmony_ci pinctrl-0 = <&wifi_reg_on_h>; 1338c2ecf20Sopenharmony_ci reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; 1348c2ecf20Sopenharmony_ci }; 1358c2ecf20Sopenharmony_ci 1368c2ecf20Sopenharmony_ci}; 1378c2ecf20Sopenharmony_ci 1388c2ecf20Sopenharmony_ci&cpu_l0 { 1398c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_l>; 1408c2ecf20Sopenharmony_ci}; 1418c2ecf20Sopenharmony_ci 1428c2ecf20Sopenharmony_ci&cpu_l1 { 1438c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_l>; 1448c2ecf20Sopenharmony_ci}; 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ci&cpu_l2 { 1478c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_l>; 1488c2ecf20Sopenharmony_ci}; 1498c2ecf20Sopenharmony_ci 1508c2ecf20Sopenharmony_ci&cpu_l3 { 1518c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_l>; 1528c2ecf20Sopenharmony_ci}; 1538c2ecf20Sopenharmony_ci 1548c2ecf20Sopenharmony_ci&cpu_b0 { 1558c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_b>; 1568c2ecf20Sopenharmony_ci}; 1578c2ecf20Sopenharmony_ci 1588c2ecf20Sopenharmony_ci&cpu_b1 { 1598c2ecf20Sopenharmony_ci cpu-supply = <&vdd_cpu_b>; 1608c2ecf20Sopenharmony_ci}; 1618c2ecf20Sopenharmony_ci 1628c2ecf20Sopenharmony_ci&emmc_phy { 1638c2ecf20Sopenharmony_ci status = "okay"; 1648c2ecf20Sopenharmony_ci}; 1658c2ecf20Sopenharmony_ci 1668c2ecf20Sopenharmony_ci&gmac { 1678c2ecf20Sopenharmony_ci assigned-clocks = <&cru SCLK_RMII_SRC>; 1688c2ecf20Sopenharmony_ci assigned-clock-parents = <&clkin_gmac>; 1698c2ecf20Sopenharmony_ci clock_in_out = "input"; 1708c2ecf20Sopenharmony_ci phy-supply = <&vcc_phy>; 1718c2ecf20Sopenharmony_ci phy-mode = "rgmii"; 1728c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1738c2ecf20Sopenharmony_ci pinctrl-0 = <&rgmii_pins>; 1748c2ecf20Sopenharmony_ci snps,reset-gpio = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>; 1758c2ecf20Sopenharmony_ci snps,reset-active-low; 1768c2ecf20Sopenharmony_ci snps,reset-delays-us = <0 10000 50000>; 1778c2ecf20Sopenharmony_ci tx_delay = <0x28>; 1788c2ecf20Sopenharmony_ci rx_delay = <0x11>; 1798c2ecf20Sopenharmony_ci status = "okay"; 1808c2ecf20Sopenharmony_ci}; 1818c2ecf20Sopenharmony_ci 1828c2ecf20Sopenharmony_ci&gpu { 1838c2ecf20Sopenharmony_ci status = "okay"; 1848c2ecf20Sopenharmony_ci mali-supply = <&vdd_gpu>; 1858c2ecf20Sopenharmony_ci}; 1868c2ecf20Sopenharmony_ci 1878c2ecf20Sopenharmony_ci&hdmi { 1888c2ecf20Sopenharmony_ci ddc-i2c-bus = <&i2c3>; 1898c2ecf20Sopenharmony_ci pinctrl-names = "default"; 1908c2ecf20Sopenharmony_ci pinctrl-0 = <&hdmi_cec>; 1918c2ecf20Sopenharmony_ci status = "okay"; 1928c2ecf20Sopenharmony_ci}; 1938c2ecf20Sopenharmony_ci 1948c2ecf20Sopenharmony_ci&hdmi_sound { 1958c2ecf20Sopenharmony_ci status = "okay"; 1968c2ecf20Sopenharmony_ci}; 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ci&i2c0 { 1998c2ecf20Sopenharmony_ci status = "okay"; 2008c2ecf20Sopenharmony_ci i2c-scl-rising-time-ns = <180>; 2018c2ecf20Sopenharmony_ci i2c-scl-falling-time-ns = <30>; 2028c2ecf20Sopenharmony_ci clock-frequency = <400000>; 2038c2ecf20Sopenharmony_ci 2048c2ecf20Sopenharmony_ci vdd_cpu_b: syr827@40 { 2058c2ecf20Sopenharmony_ci compatible = "silergy,syr827"; 2068c2ecf20Sopenharmony_ci reg = <0x40>; 2078c2ecf20Sopenharmony_ci regulator-compatible = "fan53555-reg"; 2088c2ecf20Sopenharmony_ci pinctrl-0 = <&vsel1_pin>; 2098c2ecf20Sopenharmony_ci regulator-name = "vdd_cpu_b"; 2108c2ecf20Sopenharmony_ci regulator-min-microvolt = <712500>; 2118c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 2128c2ecf20Sopenharmony_ci regulator-ramp-delay = <1000>; 2138c2ecf20Sopenharmony_ci fcs,suspend-voltage-selector = <1>; 2148c2ecf20Sopenharmony_ci regulator-always-on; 2158c2ecf20Sopenharmony_ci regulator-boot-on; 2168c2ecf20Sopenharmony_ci vin-supply = <&vcc_sys>; 2178c2ecf20Sopenharmony_ci regulator-state-mem { 2188c2ecf20Sopenharmony_ci regulator-off-in-suspend; 2198c2ecf20Sopenharmony_ci }; 2208c2ecf20Sopenharmony_ci }; 2218c2ecf20Sopenharmony_ci 2228c2ecf20Sopenharmony_ci vdd_gpu: syr828@41 { 2238c2ecf20Sopenharmony_ci compatible = "silergy,syr828"; 2248c2ecf20Sopenharmony_ci reg = <0x41>; 2258c2ecf20Sopenharmony_ci regulator-compatible = "fan53555-reg"; 2268c2ecf20Sopenharmony_ci pinctrl-0 = <&vsel2_pin>; 2278c2ecf20Sopenharmony_ci regulator-name = "vdd_gpu"; 2288c2ecf20Sopenharmony_ci regulator-min-microvolt = <712500>; 2298c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 2308c2ecf20Sopenharmony_ci regulator-ramp-delay = <1000>; 2318c2ecf20Sopenharmony_ci fcs,suspend-voltage-selector = <1>; 2328c2ecf20Sopenharmony_ci regulator-always-on; 2338c2ecf20Sopenharmony_ci regulator-boot-on; 2348c2ecf20Sopenharmony_ci vin-supply = <&vcc_sys>; 2358c2ecf20Sopenharmony_ci regulator-initial-mode = <1>; 2368c2ecf20Sopenharmony_ci regulator-state-mem { 2378c2ecf20Sopenharmony_ci regulator-off-in-suspend; 2388c2ecf20Sopenharmony_ci }; 2398c2ecf20Sopenharmony_ci }; 2408c2ecf20Sopenharmony_ci 2418c2ecf20Sopenharmony_ci rk808: pmic@1b { 2428c2ecf20Sopenharmony_ci compatible = "rockchip,rk808"; 2438c2ecf20Sopenharmony_ci reg = <0x1b>; 2448c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 2458c2ecf20Sopenharmony_ci interrupts = <21 IRQ_TYPE_LEVEL_LOW>; 2468c2ecf20Sopenharmony_ci pinctrl-names = "default"; 2478c2ecf20Sopenharmony_ci pinctrl-0 = <&pmic_int_l>; 2488c2ecf20Sopenharmony_ci rockchip,system-power-controller; 2498c2ecf20Sopenharmony_ci wakeup-source; 2508c2ecf20Sopenharmony_ci #clock-cells = <1>; 2518c2ecf20Sopenharmony_ci clock-output-names = "xin32k", "rtc_clko_wifi"; 2528c2ecf20Sopenharmony_ci 2538c2ecf20Sopenharmony_ci vcc1-supply = <&vcc_sys>; 2548c2ecf20Sopenharmony_ci vcc2-supply = <&vcc_sys>; 2558c2ecf20Sopenharmony_ci vcc3-supply = <&vcc_sys>; 2568c2ecf20Sopenharmony_ci vcc4-supply = <&vcc_sys>; 2578c2ecf20Sopenharmony_ci vcc6-supply = <&vcc_sys>; 2588c2ecf20Sopenharmony_ci vcc7-supply = <&vcc_sys>; 2598c2ecf20Sopenharmony_ci vcc8-supply = <&vcc3v3_sys>; 2608c2ecf20Sopenharmony_ci vcc9-supply = <&vcc_sys>; 2618c2ecf20Sopenharmony_ci vcc10-supply = <&vcc_sys>; 2628c2ecf20Sopenharmony_ci vcc11-supply = <&vcc_sys>; 2638c2ecf20Sopenharmony_ci vcc12-supply = <&vcc3v3_sys>; 2648c2ecf20Sopenharmony_ci vddio-supply = <&vcc_1v8>; 2658c2ecf20Sopenharmony_ci 2668c2ecf20Sopenharmony_ci regulators { 2678c2ecf20Sopenharmony_ci vdd_center: DCDC_REG1 { 2688c2ecf20Sopenharmony_ci regulator-name = "vdd_center"; 2698c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 2708c2ecf20Sopenharmony_ci regulator-max-microvolt = <900000>; 2718c2ecf20Sopenharmony_ci regulator-ramp-delay = <6001>; 2728c2ecf20Sopenharmony_ci regulator-always-on; 2738c2ecf20Sopenharmony_ci regulator-boot-on; 2748c2ecf20Sopenharmony_ci regulator-state-mem { 2758c2ecf20Sopenharmony_ci regulator-off-in-suspend; 2768c2ecf20Sopenharmony_ci }; 2778c2ecf20Sopenharmony_ci }; 2788c2ecf20Sopenharmony_ci 2798c2ecf20Sopenharmony_ci vdd_cpu_l: DCDC_REG2 { 2808c2ecf20Sopenharmony_ci regulator-name = "vdd_cpu_l"; 2818c2ecf20Sopenharmony_ci regulator-min-microvolt = <750000>; 2828c2ecf20Sopenharmony_ci regulator-max-microvolt = <1350000>; 2838c2ecf20Sopenharmony_ci regulator-ramp-delay = <6001>; 2848c2ecf20Sopenharmony_ci regulator-always-on; 2858c2ecf20Sopenharmony_ci regulator-boot-on; 2868c2ecf20Sopenharmony_ci regulator-state-mem { 2878c2ecf20Sopenharmony_ci regulator-off-in-suspend; 2888c2ecf20Sopenharmony_ci }; 2898c2ecf20Sopenharmony_ci }; 2908c2ecf20Sopenharmony_ci 2918c2ecf20Sopenharmony_ci vcc_ddr: DCDC_REG3 { 2928c2ecf20Sopenharmony_ci regulator-name = "vcc_ddr"; 2938c2ecf20Sopenharmony_ci regulator-always-on; 2948c2ecf20Sopenharmony_ci regulator-boot-on; 2958c2ecf20Sopenharmony_ci regulator-state-mem { 2968c2ecf20Sopenharmony_ci regulator-on-in-suspend; 2978c2ecf20Sopenharmony_ci }; 2988c2ecf20Sopenharmony_ci }; 2998c2ecf20Sopenharmony_ci 3008c2ecf20Sopenharmony_ci vcc_1v8: DCDC_REG4 { 3018c2ecf20Sopenharmony_ci regulator-name = "vcc_1v8"; 3028c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 3038c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 3048c2ecf20Sopenharmony_ci regulator-always-on; 3058c2ecf20Sopenharmony_ci regulator-boot-on; 3068c2ecf20Sopenharmony_ci regulator-state-mem { 3078c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3088c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <1800000>; 3098c2ecf20Sopenharmony_ci }; 3108c2ecf20Sopenharmony_ci }; 3118c2ecf20Sopenharmony_ci 3128c2ecf20Sopenharmony_ci vcc1v8_dvp: LDO_REG1 { 3138c2ecf20Sopenharmony_ci regulator-name = "vcc1v8_dvp"; 3148c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 3158c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 3168c2ecf20Sopenharmony_ci regulator-always-on; 3178c2ecf20Sopenharmony_ci regulator-boot-on; 3188c2ecf20Sopenharmony_ci regulator-state-mem { 3198c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3208c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <1800000>; 3218c2ecf20Sopenharmony_ci }; 3228c2ecf20Sopenharmony_ci }; 3238c2ecf20Sopenharmony_ci 3248c2ecf20Sopenharmony_ci vcca1v8_hdmi: LDO_REG2 { 3258c2ecf20Sopenharmony_ci regulator-name = "vcca1v8_hdmi"; 3268c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 3278c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 3288c2ecf20Sopenharmony_ci regulator-always-on; 3298c2ecf20Sopenharmony_ci regulator-boot-on; 3308c2ecf20Sopenharmony_ci regulator-state-mem { 3318c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3328c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <1800000>; 3338c2ecf20Sopenharmony_ci }; 3348c2ecf20Sopenharmony_ci }; 3358c2ecf20Sopenharmony_ci 3368c2ecf20Sopenharmony_ci vcca_1v8: LDO_REG3 { 3378c2ecf20Sopenharmony_ci regulator-name = "vcca_1v8"; 3388c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 3398c2ecf20Sopenharmony_ci regulator-max-microvolt = <1800000>; 3408c2ecf20Sopenharmony_ci regulator-always-on; 3418c2ecf20Sopenharmony_ci regulator-boot-on; 3428c2ecf20Sopenharmony_ci regulator-state-mem { 3438c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3448c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <1800000>; 3458c2ecf20Sopenharmony_ci }; 3468c2ecf20Sopenharmony_ci }; 3478c2ecf20Sopenharmony_ci 3488c2ecf20Sopenharmony_ci vcc_sd: LDO_REG4 { 3498c2ecf20Sopenharmony_ci regulator-name = "vcc_sd"; 3508c2ecf20Sopenharmony_ci regulator-min-microvolt = <1800000>; 3518c2ecf20Sopenharmony_ci regulator-max-microvolt = <3300000>; 3528c2ecf20Sopenharmony_ci regulator-always-on; 3538c2ecf20Sopenharmony_ci regulator-boot-on; 3548c2ecf20Sopenharmony_ci regulator-state-mem { 3558c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3568c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <3300000>; 3578c2ecf20Sopenharmony_ci }; 3588c2ecf20Sopenharmony_ci }; 3598c2ecf20Sopenharmony_ci 3608c2ecf20Sopenharmony_ci vcc3v0_sd: LDO_REG5 { 3618c2ecf20Sopenharmony_ci regulator-name = "vcc3v0_sd"; 3628c2ecf20Sopenharmony_ci regulator-min-microvolt = <3000000>; 3638c2ecf20Sopenharmony_ci regulator-max-microvolt = <3000000>; 3648c2ecf20Sopenharmony_ci regulator-always-on; 3658c2ecf20Sopenharmony_ci regulator-boot-on; 3668c2ecf20Sopenharmony_ci regulator-state-mem { 3678c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3688c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <3000000>; 3698c2ecf20Sopenharmony_ci }; 3708c2ecf20Sopenharmony_ci }; 3718c2ecf20Sopenharmony_ci 3728c2ecf20Sopenharmony_ci vcc_1v5: LDO_REG6 { 3738c2ecf20Sopenharmony_ci regulator-name = "vcc_1v5"; 3748c2ecf20Sopenharmony_ci regulator-min-microvolt = <1500000>; 3758c2ecf20Sopenharmony_ci regulator-max-microvolt = <1500000>; 3768c2ecf20Sopenharmony_ci regulator-always-on; 3778c2ecf20Sopenharmony_ci regulator-boot-on; 3788c2ecf20Sopenharmony_ci regulator-state-mem { 3798c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3808c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <1500000>; 3818c2ecf20Sopenharmony_ci }; 3828c2ecf20Sopenharmony_ci }; 3838c2ecf20Sopenharmony_ci 3848c2ecf20Sopenharmony_ci vcca0v9_hdmi: LDO_REG7 { 3858c2ecf20Sopenharmony_ci regulator-name = "vcca0v9_hdmi"; 3868c2ecf20Sopenharmony_ci regulator-min-microvolt = <900000>; 3878c2ecf20Sopenharmony_ci regulator-max-microvolt = <900000>; 3888c2ecf20Sopenharmony_ci regulator-always-on; 3898c2ecf20Sopenharmony_ci regulator-boot-on; 3908c2ecf20Sopenharmony_ci regulator-state-mem { 3918c2ecf20Sopenharmony_ci regulator-on-in-suspend; 3928c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <900000>; 3938c2ecf20Sopenharmony_ci }; 3948c2ecf20Sopenharmony_ci }; 3958c2ecf20Sopenharmony_ci 3968c2ecf20Sopenharmony_ci vcc_3v0: LDO_REG8 { 3978c2ecf20Sopenharmony_ci regulator-name = "vcc_3v0"; 3988c2ecf20Sopenharmony_ci regulator-min-microvolt = <3000000>; 3998c2ecf20Sopenharmony_ci regulator-max-microvolt = <3000000>; 4008c2ecf20Sopenharmony_ci regulator-always-on; 4018c2ecf20Sopenharmony_ci regulator-boot-on; 4028c2ecf20Sopenharmony_ci regulator-state-mem { 4038c2ecf20Sopenharmony_ci regulator-on-in-suspend; 4048c2ecf20Sopenharmony_ci regulator-suspend-microvolt = <3000000>; 4058c2ecf20Sopenharmony_ci }; 4068c2ecf20Sopenharmony_ci }; 4078c2ecf20Sopenharmony_ci 4088c2ecf20Sopenharmony_ci vcc3v3_s3: SWITCH_REG1 { 4098c2ecf20Sopenharmony_ci regulator-name = "vcc3v3_s3"; 4108c2ecf20Sopenharmony_ci regulator-always-on; 4118c2ecf20Sopenharmony_ci regulator-boot-on; 4128c2ecf20Sopenharmony_ci regulator-state-mem { 4138c2ecf20Sopenharmony_ci regulator-on-in-suspend; 4148c2ecf20Sopenharmony_ci }; 4158c2ecf20Sopenharmony_ci }; 4168c2ecf20Sopenharmony_ci 4178c2ecf20Sopenharmony_ci vcc3v3_s0: SWITCH_REG2 { 4188c2ecf20Sopenharmony_ci regulator-name = "vcc3v3_s0"; 4198c2ecf20Sopenharmony_ci regulator-always-on; 4208c2ecf20Sopenharmony_ci regulator-boot-on; 4218c2ecf20Sopenharmony_ci regulator-state-mem { 4228c2ecf20Sopenharmony_ci regulator-on-in-suspend; 4238c2ecf20Sopenharmony_ci }; 4248c2ecf20Sopenharmony_ci }; 4258c2ecf20Sopenharmony_ci }; 4268c2ecf20Sopenharmony_ci }; 4278c2ecf20Sopenharmony_ci}; 4288c2ecf20Sopenharmony_ci 4298c2ecf20Sopenharmony_ci&i2c1 { 4308c2ecf20Sopenharmony_ci i2c-scl-rising-time-ns = <300>; 4318c2ecf20Sopenharmony_ci i2c-scl-falling-time-ns = <15>; 4328c2ecf20Sopenharmony_ci status = "okay"; 4338c2ecf20Sopenharmony_ci}; 4348c2ecf20Sopenharmony_ci 4358c2ecf20Sopenharmony_ci&i2c3 { 4368c2ecf20Sopenharmony_ci i2c-scl-rising-time-ns = <450>; 4378c2ecf20Sopenharmony_ci i2c-scl-falling-time-ns = <15>; 4388c2ecf20Sopenharmony_ci status = "okay"; 4398c2ecf20Sopenharmony_ci}; 4408c2ecf20Sopenharmony_ci 4418c2ecf20Sopenharmony_ci&i2c4 { 4428c2ecf20Sopenharmony_ci i2c-scl-rising-time-ns = <600>; 4438c2ecf20Sopenharmony_ci i2c-scl-falling-time-ns = <40>; 4448c2ecf20Sopenharmony_ci status = "okay"; 4458c2ecf20Sopenharmony_ci 4468c2ecf20Sopenharmony_ci fusb0: typec-portc@22 { 4478c2ecf20Sopenharmony_ci compatible = "fcs,fusb302"; 4488c2ecf20Sopenharmony_ci reg = <0x22>; 4498c2ecf20Sopenharmony_ci interrupt-parent = <&gpio1>; 4508c2ecf20Sopenharmony_ci interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>; 4518c2ecf20Sopenharmony_ci pinctrl-names = "default"; 4528c2ecf20Sopenharmony_ci pinctrl-0 = <&fusb0_int>; 4538c2ecf20Sopenharmony_ci vbus-supply = <&vcc5v0_typec>; 4548c2ecf20Sopenharmony_ci status = "okay"; 4558c2ecf20Sopenharmony_ci }; 4568c2ecf20Sopenharmony_ci}; 4578c2ecf20Sopenharmony_ci 4588c2ecf20Sopenharmony_ci&i2c7 { 4598c2ecf20Sopenharmony_ci status = "okay"; 4608c2ecf20Sopenharmony_ci}; 4618c2ecf20Sopenharmony_ci 4628c2ecf20Sopenharmony_ci&i2s0 { 4638c2ecf20Sopenharmony_ci rockchip,playback-channels = <8>; 4648c2ecf20Sopenharmony_ci rockchip,capture-channels = <8>; 4658c2ecf20Sopenharmony_ci status = "okay"; 4668c2ecf20Sopenharmony_ci}; 4678c2ecf20Sopenharmony_ci 4688c2ecf20Sopenharmony_ci&i2s1 { 4698c2ecf20Sopenharmony_ci rockchip,playback-channels = <2>; 4708c2ecf20Sopenharmony_ci rockchip,capture-channels = <2>; 4718c2ecf20Sopenharmony_ci status = "okay"; 4728c2ecf20Sopenharmony_ci}; 4738c2ecf20Sopenharmony_ci 4748c2ecf20Sopenharmony_ci&i2s2 { 4758c2ecf20Sopenharmony_ci status = "okay"; 4768c2ecf20Sopenharmony_ci}; 4778c2ecf20Sopenharmony_ci 4788c2ecf20Sopenharmony_ci&io_domains { 4798c2ecf20Sopenharmony_ci status = "okay"; 4808c2ecf20Sopenharmony_ci audio-supply = <&vcc1v8_s0>; 4818c2ecf20Sopenharmony_ci bt656-supply = <&vcc1v8_s0>; 4828c2ecf20Sopenharmony_ci gpio1830-supply = <&vcc_3v0>; 4838c2ecf20Sopenharmony_ci sdmmc-supply = <&vcc_sd>; 4848c2ecf20Sopenharmony_ci}; 4858c2ecf20Sopenharmony_ci 4868c2ecf20Sopenharmony_ci&pmu_io_domains { 4878c2ecf20Sopenharmony_ci status = "okay"; 4888c2ecf20Sopenharmony_ci pmu1830-supply = <&vcc_1v8>; 4898c2ecf20Sopenharmony_ci}; 4908c2ecf20Sopenharmony_ci 4918c2ecf20Sopenharmony_ci&pinctrl { 4928c2ecf20Sopenharmony_ci fusb30x { 4938c2ecf20Sopenharmony_ci fusb0_int: fusb0-int { 4948c2ecf20Sopenharmony_ci rockchip,pins = 4958c2ecf20Sopenharmony_ci <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>; 4968c2ecf20Sopenharmony_ci }; 4978c2ecf20Sopenharmony_ci }; 4988c2ecf20Sopenharmony_ci 4998c2ecf20Sopenharmony_ci gmac { 5008c2ecf20Sopenharmony_ci rgmii_sleep_pins: rgmii-sleep-pins { 5018c2ecf20Sopenharmony_ci rockchip,pins = 5028c2ecf20Sopenharmony_ci <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>; 5038c2ecf20Sopenharmony_ci }; 5048c2ecf20Sopenharmony_ci }; 5058c2ecf20Sopenharmony_ci 5068c2ecf20Sopenharmony_ci ir { 5078c2ecf20Sopenharmony_ci ir_rx: ir-rx { 5088c2ecf20Sopenharmony_ci rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>; 5098c2ecf20Sopenharmony_ci }; 5108c2ecf20Sopenharmony_ci }; 5118c2ecf20Sopenharmony_ci 5128c2ecf20Sopenharmony_ci leds { 5138c2ecf20Sopenharmony_ci power_led_pin: power-led-pin { 5148c2ecf20Sopenharmony_ci rockchip,pins = <4 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; 5158c2ecf20Sopenharmony_ci }; 5168c2ecf20Sopenharmony_ci }; 5178c2ecf20Sopenharmony_ci 5188c2ecf20Sopenharmony_ci pmic { 5198c2ecf20Sopenharmony_ci pmic_int_l: pmic-int-l { 5208c2ecf20Sopenharmony_ci rockchip,pins = 5218c2ecf20Sopenharmony_ci <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; 5228c2ecf20Sopenharmony_ci }; 5238c2ecf20Sopenharmony_ci 5248c2ecf20Sopenharmony_ci vsel1_pin: vsel1-pin { 5258c2ecf20Sopenharmony_ci rockchip,pins = 5268c2ecf20Sopenharmony_ci <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>; 5278c2ecf20Sopenharmony_ci }; 5288c2ecf20Sopenharmony_ci 5298c2ecf20Sopenharmony_ci vsel2_pin: vsel2-pin { 5308c2ecf20Sopenharmony_ci rockchip,pins = 5318c2ecf20Sopenharmony_ci <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>; 5328c2ecf20Sopenharmony_ci }; 5338c2ecf20Sopenharmony_ci }; 5348c2ecf20Sopenharmony_ci 5358c2ecf20Sopenharmony_ci sdio { 5368c2ecf20Sopenharmony_ci bt_host_wake_l: bt-host-wake-l { 5378c2ecf20Sopenharmony_ci rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; 5388c2ecf20Sopenharmony_ci }; 5398c2ecf20Sopenharmony_ci 5408c2ecf20Sopenharmony_ci bt_reg_on_h: bt-reg-on-h { 5418c2ecf20Sopenharmony_ci /* external pullup to VCC1V8_PMUPLL */ 5428c2ecf20Sopenharmony_ci rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>; 5438c2ecf20Sopenharmony_ci }; 5448c2ecf20Sopenharmony_ci 5458c2ecf20Sopenharmony_ci bt_wake_l: bt-wake-l { 5468c2ecf20Sopenharmony_ci rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 5478c2ecf20Sopenharmony_ci }; 5488c2ecf20Sopenharmony_ci 5498c2ecf20Sopenharmony_ci wifi_reg_on_h: wifi-reg_on-h { 5508c2ecf20Sopenharmony_ci rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 5518c2ecf20Sopenharmony_ci }; 5528c2ecf20Sopenharmony_ci }; 5538c2ecf20Sopenharmony_ci 5548c2ecf20Sopenharmony_ci wifi { 5558c2ecf20Sopenharmony_ci wifi_host_wake_l: wifi-host-wake-l { 5568c2ecf20Sopenharmony_ci rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; 5578c2ecf20Sopenharmony_ci }; 5588c2ecf20Sopenharmony_ci }; 5598c2ecf20Sopenharmony_ci 5608c2ecf20Sopenharmony_ci usb-typec { 5618c2ecf20Sopenharmony_ci vcc5v0_typec_en: vcc5v0_typec_en { 5628c2ecf20Sopenharmony_ci rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>; 5638c2ecf20Sopenharmony_ci }; 5648c2ecf20Sopenharmony_ci }; 5658c2ecf20Sopenharmony_ci 5668c2ecf20Sopenharmony_ci usb2 { 5678c2ecf20Sopenharmony_ci host_vbus_drv: host-vbus-drv { 5688c2ecf20Sopenharmony_ci rockchip,pins = 5698c2ecf20Sopenharmony_ci <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; 5708c2ecf20Sopenharmony_ci }; 5718c2ecf20Sopenharmony_ci }; 5728c2ecf20Sopenharmony_ci}; 5738c2ecf20Sopenharmony_ci 5748c2ecf20Sopenharmony_ci&pwm2 { 5758c2ecf20Sopenharmony_ci status = "okay"; 5768c2ecf20Sopenharmony_ci pinctrl-0 = <&pwm2_pin_pull_down>; 5778c2ecf20Sopenharmony_ci}; 5788c2ecf20Sopenharmony_ci 5798c2ecf20Sopenharmony_ci&saradc { 5808c2ecf20Sopenharmony_ci vref-supply = <&vcc1v8_s0>; 5818c2ecf20Sopenharmony_ci status = "okay"; 5828c2ecf20Sopenharmony_ci}; 5838c2ecf20Sopenharmony_ci 5848c2ecf20Sopenharmony_ci&sdmmc { 5858c2ecf20Sopenharmony_ci clock-frequency = <150000000>; 5868c2ecf20Sopenharmony_ci max-frequency = <150000000>; 5878c2ecf20Sopenharmony_ci bus-width = <4>; 5888c2ecf20Sopenharmony_ci cap-mmc-highspeed; 5898c2ecf20Sopenharmony_ci cap-sd-highspeed; 5908c2ecf20Sopenharmony_ci disable-wp; 5918c2ecf20Sopenharmony_ci vqmmc-supply = <&vcc_sd>; 5928c2ecf20Sopenharmony_ci pinctrl-names = "default"; 5938c2ecf20Sopenharmony_ci pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; 5948c2ecf20Sopenharmony_ci card-detect-delay = <800>; 5958c2ecf20Sopenharmony_ci status = "okay"; 5968c2ecf20Sopenharmony_ci}; 5978c2ecf20Sopenharmony_ci 5988c2ecf20Sopenharmony_ci&sdhci { 5998c2ecf20Sopenharmony_ci bus-width = <8>; 6008c2ecf20Sopenharmony_ci mmc-hs400-1_8v; 6018c2ecf20Sopenharmony_ci mmc-hs400-enhanced-strobe; 6028c2ecf20Sopenharmony_ci non-removable; 6038c2ecf20Sopenharmony_ci keep-power-in-suspend; 6048c2ecf20Sopenharmony_ci status = "okay"; 6058c2ecf20Sopenharmony_ci}; 6068c2ecf20Sopenharmony_ci 6078c2ecf20Sopenharmony_ci&sdio0 { 6088c2ecf20Sopenharmony_ci bus-width = <4>; 6098c2ecf20Sopenharmony_ci clock-frequency = <50000000>; 6108c2ecf20Sopenharmony_ci cap-sdio-irq; 6118c2ecf20Sopenharmony_ci cap-sd-highspeed; 6128c2ecf20Sopenharmony_ci keep-power-in-suspend; 6138c2ecf20Sopenharmony_ci mmc-pwrseq = <&sdio_pwrseq>; 6148c2ecf20Sopenharmony_ci non-removable; 6158c2ecf20Sopenharmony_ci pinctrl-names = "default"; 6168c2ecf20Sopenharmony_ci pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; 6178c2ecf20Sopenharmony_ci sd-uhs-sdr104; 6188c2ecf20Sopenharmony_ci #address-cells = <1>; 6198c2ecf20Sopenharmony_ci #size-cells = <0>; 6208c2ecf20Sopenharmony_ci status = "okay"; 6218c2ecf20Sopenharmony_ci 6228c2ecf20Sopenharmony_ci brcmf: wifi@1 { 6238c2ecf20Sopenharmony_ci compatible = "brcm,bcm4329-fmac"; 6248c2ecf20Sopenharmony_ci reg = <1>; 6258c2ecf20Sopenharmony_ci interrupt-parent = <&gpio0>; 6268c2ecf20Sopenharmony_ci interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; 6278c2ecf20Sopenharmony_ci interrupt-names = "host-wake"; 6288c2ecf20Sopenharmony_ci pinctrl-names = "default"; 6298c2ecf20Sopenharmony_ci pinctrl-0 = <&wifi_host_wake_l>; 6308c2ecf20Sopenharmony_ci }; 6318c2ecf20Sopenharmony_ci}; 6328c2ecf20Sopenharmony_ci 6338c2ecf20Sopenharmony_ci&spdif { 6348c2ecf20Sopenharmony_ci status = "okay"; 6358c2ecf20Sopenharmony_ci pinctrl-0 = <&spdif_bus_1>; 6368c2ecf20Sopenharmony_ci}; 6378c2ecf20Sopenharmony_ci 6388c2ecf20Sopenharmony_ci&spi1 { 6398c2ecf20Sopenharmony_ci status = "okay"; 6408c2ecf20Sopenharmony_ci 6418c2ecf20Sopenharmony_ci flash@0 { 6428c2ecf20Sopenharmony_ci compatible = "jedec,spi-nor"; 6438c2ecf20Sopenharmony_ci #address-cells = <1>; 6448c2ecf20Sopenharmony_ci #size-cells = <1>; 6458c2ecf20Sopenharmony_ci reg = <0>; 6468c2ecf20Sopenharmony_ci spi-max-frequency = <10000000>; 6478c2ecf20Sopenharmony_ci }; 6488c2ecf20Sopenharmony_ci}; 6498c2ecf20Sopenharmony_ci 6508c2ecf20Sopenharmony_ci&tcphy0 { 6518c2ecf20Sopenharmony_ci status = "okay"; 6528c2ecf20Sopenharmony_ci}; 6538c2ecf20Sopenharmony_ci 6548c2ecf20Sopenharmony_ci&tcphy1 { 6558c2ecf20Sopenharmony_ci status = "okay"; 6568c2ecf20Sopenharmony_ci}; 6578c2ecf20Sopenharmony_ci 6588c2ecf20Sopenharmony_ci&tsadc { 6598c2ecf20Sopenharmony_ci /* tshut mode 0:CRU 1:GPIO */ 6608c2ecf20Sopenharmony_ci rockchip,hw-tshut-mode = <1>; 6618c2ecf20Sopenharmony_ci /* tshut polarity 0:LOW 1:HIGH */ 6628c2ecf20Sopenharmony_ci rockchip,hw-tshut-polarity = <1>; 6638c2ecf20Sopenharmony_ci rockchip,hw-tshut-temp = <110000>; 6648c2ecf20Sopenharmony_ci status = "okay"; 6658c2ecf20Sopenharmony_ci}; 6668c2ecf20Sopenharmony_ci 6678c2ecf20Sopenharmony_ci&u2phy0 { 6688c2ecf20Sopenharmony_ci status = "okay"; 6698c2ecf20Sopenharmony_ci 6708c2ecf20Sopenharmony_ci u2phy0_host: host-port { 6718c2ecf20Sopenharmony_ci phy-supply = <&vcc5v0_typec>; 6728c2ecf20Sopenharmony_ci status = "okay"; 6738c2ecf20Sopenharmony_ci }; 6748c2ecf20Sopenharmony_ci 6758c2ecf20Sopenharmony_ci u2phy0_otg: otg-port { 6768c2ecf20Sopenharmony_ci status = "okay"; 6778c2ecf20Sopenharmony_ci }; 6788c2ecf20Sopenharmony_ci}; 6798c2ecf20Sopenharmony_ci 6808c2ecf20Sopenharmony_ci&u2phy1 { 6818c2ecf20Sopenharmony_ci status = "okay"; 6828c2ecf20Sopenharmony_ci 6838c2ecf20Sopenharmony_ci u2phy1_host: host-port { 6848c2ecf20Sopenharmony_ci phy-supply = <&vcc5v0_host>; 6858c2ecf20Sopenharmony_ci status = "okay"; 6868c2ecf20Sopenharmony_ci }; 6878c2ecf20Sopenharmony_ci 6888c2ecf20Sopenharmony_ci u2phy1_otg: otg-port { 6898c2ecf20Sopenharmony_ci status = "okay"; 6908c2ecf20Sopenharmony_ci }; 6918c2ecf20Sopenharmony_ci}; 6928c2ecf20Sopenharmony_ci 6938c2ecf20Sopenharmony_ci&uart0 { 6948c2ecf20Sopenharmony_ci pinctrl-names = "default"; 6958c2ecf20Sopenharmony_ci pinctrl-0 = <&uart0_xfer &uart0_rts &uart0_cts>; 6968c2ecf20Sopenharmony_ci status = "okay"; 6978c2ecf20Sopenharmony_ci 6988c2ecf20Sopenharmony_ci bluetooth { 6998c2ecf20Sopenharmony_ci compatible = "brcm,bcm43438-bt"; 7008c2ecf20Sopenharmony_ci clocks = <&rk808 1>; 7018c2ecf20Sopenharmony_ci clock-names = "ext_clock"; 7028c2ecf20Sopenharmony_ci device-wakeup-gpios = <&gpio2 RK_PD2 GPIO_ACTIVE_HIGH>; 7038c2ecf20Sopenharmony_ci host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; 7048c2ecf20Sopenharmony_ci shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; 7058c2ecf20Sopenharmony_ci max-speed = <4000000>; 7068c2ecf20Sopenharmony_ci pinctrl-names = "default"; 7078c2ecf20Sopenharmony_ci pinctrl-0 = <&bt_reg_on_h &bt_host_wake_l &bt_wake_l>; 7088c2ecf20Sopenharmony_ci vbat-supply = <&vcc3v3_sys>; 7098c2ecf20Sopenharmony_ci vddio-supply = <&vcc_1v8>; 7108c2ecf20Sopenharmony_ci }; 7118c2ecf20Sopenharmony_ci}; 7128c2ecf20Sopenharmony_ci 7138c2ecf20Sopenharmony_ci&uart2 { 7148c2ecf20Sopenharmony_ci status = "okay"; 7158c2ecf20Sopenharmony_ci}; 7168c2ecf20Sopenharmony_ci 7178c2ecf20Sopenharmony_ci&usb_host0_ehci { 7188c2ecf20Sopenharmony_ci status = "okay"; 7198c2ecf20Sopenharmony_ci}; 7208c2ecf20Sopenharmony_ci 7218c2ecf20Sopenharmony_ci&usb_host0_ohci { 7228c2ecf20Sopenharmony_ci status = "okay"; 7238c2ecf20Sopenharmony_ci}; 7248c2ecf20Sopenharmony_ci 7258c2ecf20Sopenharmony_ci&usb_host1_ehci { 7268c2ecf20Sopenharmony_ci status = "okay"; 7278c2ecf20Sopenharmony_ci}; 7288c2ecf20Sopenharmony_ci 7298c2ecf20Sopenharmony_ci&usb_host1_ohci { 7308c2ecf20Sopenharmony_ci status = "okay"; 7318c2ecf20Sopenharmony_ci}; 7328c2ecf20Sopenharmony_ci 7338c2ecf20Sopenharmony_ci&usbdrd3_0 { 7348c2ecf20Sopenharmony_ci status = "okay"; 7358c2ecf20Sopenharmony_ci}; 7368c2ecf20Sopenharmony_ci 7378c2ecf20Sopenharmony_ci&usbdrd_dwc3_0 { 7388c2ecf20Sopenharmony_ci status = "okay"; 7398c2ecf20Sopenharmony_ci dr_mode = "host"; 7408c2ecf20Sopenharmony_ci}; 7418c2ecf20Sopenharmony_ci 7428c2ecf20Sopenharmony_ci&usbdrd3_1 { 7438c2ecf20Sopenharmony_ci status = "okay"; 7448c2ecf20Sopenharmony_ci}; 7458c2ecf20Sopenharmony_ci 7468c2ecf20Sopenharmony_ci&usbdrd_dwc3_1 { 7478c2ecf20Sopenharmony_ci status = "okay"; 7488c2ecf20Sopenharmony_ci dr_mode = "host"; 7498c2ecf20Sopenharmony_ci}; 7508c2ecf20Sopenharmony_ci 7518c2ecf20Sopenharmony_ci&vopb { 7528c2ecf20Sopenharmony_ci status = "okay"; 7538c2ecf20Sopenharmony_ci}; 7548c2ecf20Sopenharmony_ci 7558c2ecf20Sopenharmony_ci&vopb_mmu { 7568c2ecf20Sopenharmony_ci status = "okay"; 7578c2ecf20Sopenharmony_ci}; 758