16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 26be33864SEmmanuel Vadot/* 36be33864SEmmanuel Vadot * Copyright (c) 2020 David Bauer <mail@david-bauer.net> 46be33864SEmmanuel Vadot */ 56be33864SEmmanuel Vadot 66be33864SEmmanuel Vadot/dts-v1/; 76be33864SEmmanuel Vadot 86be33864SEmmanuel Vadot#include <dt-bindings/input/input.h> 96be33864SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 106be33864SEmmanuel Vadot#include "rk3328.dtsi" 116be33864SEmmanuel Vadot 126be33864SEmmanuel Vadot/ { 136be33864SEmmanuel Vadot model = "FriendlyElec NanoPi R2S"; 146be33864SEmmanuel Vadot compatible = "friendlyarm,nanopi-r2s", "rockchip,rk3328"; 156be33864SEmmanuel Vadot 162eb4d8dcSEmmanuel Vadot aliases { 17*8d13bc63SEmmanuel Vadot ethernet0 = &gmac2io; 185956d97fSEmmanuel Vadot ethernet1 = &rtl8153; 192eb4d8dcSEmmanuel Vadot mmc0 = &sdmmc; 202eb4d8dcSEmmanuel Vadot }; 212eb4d8dcSEmmanuel Vadot 226be33864SEmmanuel Vadot chosen { 236be33864SEmmanuel Vadot stdout-path = "serial2:1500000n8"; 246be33864SEmmanuel Vadot }; 256be33864SEmmanuel Vadot 266be33864SEmmanuel Vadot gmac_clk: gmac-clock { 276be33864SEmmanuel Vadot compatible = "fixed-clock"; 286be33864SEmmanuel Vadot clock-frequency = <125000000>; 296be33864SEmmanuel Vadot clock-output-names = "gmac_clkin"; 306be33864SEmmanuel Vadot #clock-cells = <0>; 316be33864SEmmanuel Vadot }; 326be33864SEmmanuel Vadot 336be33864SEmmanuel Vadot keys { 346be33864SEmmanuel Vadot compatible = "gpio-keys"; 356be33864SEmmanuel Vadot pinctrl-0 = <&reset_button_pin>; 366be33864SEmmanuel Vadot pinctrl-names = "default"; 376be33864SEmmanuel Vadot 38b97ee269SEmmanuel Vadot key-reset { 396be33864SEmmanuel Vadot label = "reset"; 406be33864SEmmanuel Vadot gpios = <&gpio0 RK_PA0 GPIO_ACTIVE_LOW>; 416be33864SEmmanuel Vadot linux,code = <KEY_RESTART>; 426be33864SEmmanuel Vadot debounce-interval = <50>; 436be33864SEmmanuel Vadot }; 446be33864SEmmanuel Vadot }; 456be33864SEmmanuel Vadot 466be33864SEmmanuel Vadot leds { 476be33864SEmmanuel Vadot compatible = "gpio-leds"; 486be33864SEmmanuel Vadot pinctrl-0 = <&lan_led_pin>, <&sys_led_pin>, <&wan_led_pin>; 496be33864SEmmanuel Vadot pinctrl-names = "default"; 506be33864SEmmanuel Vadot 516be33864SEmmanuel Vadot lan_led: led-0 { 526be33864SEmmanuel Vadot gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; 536be33864SEmmanuel Vadot label = "nanopi-r2s:green:lan"; 546be33864SEmmanuel Vadot }; 556be33864SEmmanuel Vadot 566be33864SEmmanuel Vadot sys_led: led-1 { 576be33864SEmmanuel Vadot gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>; 586be33864SEmmanuel Vadot label = "nanopi-r2s:red:sys"; 595def4c47SEmmanuel Vadot default-state = "on"; 606be33864SEmmanuel Vadot }; 616be33864SEmmanuel Vadot 626be33864SEmmanuel Vadot wan_led: led-2 { 636be33864SEmmanuel Vadot gpios = <&gpio2 RK_PC2 GPIO_ACTIVE_HIGH>; 646be33864SEmmanuel Vadot label = "nanopi-r2s:green:wan"; 656be33864SEmmanuel Vadot }; 666be33864SEmmanuel Vadot }; 676be33864SEmmanuel Vadot 686be33864SEmmanuel Vadot vcc_io_sdio: sdmmcio-regulator { 696be33864SEmmanuel Vadot compatible = "regulator-gpio"; 706be33864SEmmanuel Vadot enable-active-high; 716be33864SEmmanuel Vadot gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>; 726be33864SEmmanuel Vadot pinctrl-0 = <&sdio_vcc_pin>; 736be33864SEmmanuel Vadot pinctrl-names = "default"; 746be33864SEmmanuel Vadot regulator-name = "vcc_io_sdio"; 756be33864SEmmanuel Vadot regulator-always-on; 766be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 776be33864SEmmanuel Vadot regulator-max-microvolt = <3300000>; 786be33864SEmmanuel Vadot regulator-settling-time-us = <5000>; 796be33864SEmmanuel Vadot regulator-type = "voltage"; 806be33864SEmmanuel Vadot startup-delay-us = <2000>; 815956d97fSEmmanuel Vadot states = <1800000 0x1>, 825956d97fSEmmanuel Vadot <3300000 0x0>; 836be33864SEmmanuel Vadot vin-supply = <&vcc_io_33>; 846be33864SEmmanuel Vadot }; 856be33864SEmmanuel Vadot 866be33864SEmmanuel Vadot vcc_sd: sdmmc-regulator { 876be33864SEmmanuel Vadot compatible = "regulator-fixed"; 886be33864SEmmanuel Vadot gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>; 896be33864SEmmanuel Vadot pinctrl-0 = <&sdmmc0m1_pin>; 906be33864SEmmanuel Vadot pinctrl-names = "default"; 916be33864SEmmanuel Vadot regulator-name = "vcc_sd"; 926be33864SEmmanuel Vadot regulator-boot-on; 936be33864SEmmanuel Vadot regulator-min-microvolt = <3300000>; 946be33864SEmmanuel Vadot regulator-max-microvolt = <3300000>; 956be33864SEmmanuel Vadot vin-supply = <&vcc_io_33>; 966be33864SEmmanuel Vadot }; 976be33864SEmmanuel Vadot 986be33864SEmmanuel Vadot vdd_5v: vdd-5v { 996be33864SEmmanuel Vadot compatible = "regulator-fixed"; 1006be33864SEmmanuel Vadot regulator-name = "vdd_5v"; 1016be33864SEmmanuel Vadot regulator-always-on; 1026be33864SEmmanuel Vadot regulator-boot-on; 1036be33864SEmmanuel Vadot regulator-min-microvolt = <5000000>; 1046be33864SEmmanuel Vadot regulator-max-microvolt = <5000000>; 1056be33864SEmmanuel Vadot }; 1065956d97fSEmmanuel Vadot 1075956d97fSEmmanuel Vadot vdd_5v_lan: vdd-5v-lan { 1085956d97fSEmmanuel Vadot compatible = "regulator-fixed"; 1095956d97fSEmmanuel Vadot enable-active-high; 1105956d97fSEmmanuel Vadot gpio = <&gpio2 RK_PC6 GPIO_ACTIVE_HIGH>; 1115956d97fSEmmanuel Vadot pinctrl-0 = <&lan_vdd_pin>; 1125956d97fSEmmanuel Vadot pinctrl-names = "default"; 1135956d97fSEmmanuel Vadot regulator-name = "vdd_5v_lan"; 1145956d97fSEmmanuel Vadot regulator-always-on; 1155956d97fSEmmanuel Vadot regulator-boot-on; 1165956d97fSEmmanuel Vadot vin-supply = <&vdd_5v>; 1175956d97fSEmmanuel Vadot }; 1186be33864SEmmanuel Vadot}; 1196be33864SEmmanuel Vadot 1206be33864SEmmanuel Vadot&cpu0 { 1216be33864SEmmanuel Vadot cpu-supply = <&vdd_arm>; 1226be33864SEmmanuel Vadot}; 1236be33864SEmmanuel Vadot 1246be33864SEmmanuel Vadot&cpu1 { 1256be33864SEmmanuel Vadot cpu-supply = <&vdd_arm>; 1266be33864SEmmanuel Vadot}; 1276be33864SEmmanuel Vadot 1286be33864SEmmanuel Vadot&cpu2 { 1296be33864SEmmanuel Vadot cpu-supply = <&vdd_arm>; 1306be33864SEmmanuel Vadot}; 1316be33864SEmmanuel Vadot 1326be33864SEmmanuel Vadot&cpu3 { 1336be33864SEmmanuel Vadot cpu-supply = <&vdd_arm>; 1346be33864SEmmanuel Vadot}; 1356be33864SEmmanuel Vadot 1365def4c47SEmmanuel Vadot&display_subsystem { 1375def4c47SEmmanuel Vadot status = "disabled"; 1385def4c47SEmmanuel Vadot}; 1395def4c47SEmmanuel Vadot 1406be33864SEmmanuel Vadot&gmac2io { 1416be33864SEmmanuel Vadot assigned-clocks = <&cru SCLK_MAC2IO>, <&cru SCLK_MAC2IO_EXT>; 1426be33864SEmmanuel Vadot assigned-clock-parents = <&gmac_clk>, <&gmac_clk>; 1436be33864SEmmanuel Vadot clock_in_out = "input"; 1446be33864SEmmanuel Vadot phy-handle = <&rtl8211e>; 1456be33864SEmmanuel Vadot phy-mode = "rgmii"; 1466be33864SEmmanuel Vadot phy-supply = <&vcc_io_33>; 1476be33864SEmmanuel Vadot pinctrl-0 = <&rgmiim1_pins>; 1486be33864SEmmanuel Vadot pinctrl-names = "default"; 1496be33864SEmmanuel Vadot rx_delay = <0x18>; 1506be33864SEmmanuel Vadot snps,aal; 1516be33864SEmmanuel Vadot tx_delay = <0x24>; 1526be33864SEmmanuel Vadot status = "okay"; 1536be33864SEmmanuel Vadot 1546be33864SEmmanuel Vadot mdio { 1556be33864SEmmanuel Vadot compatible = "snps,dwmac-mdio"; 1566be33864SEmmanuel Vadot #address-cells = <1>; 1576be33864SEmmanuel Vadot #size-cells = <0>; 1586be33864SEmmanuel Vadot 1596be33864SEmmanuel Vadot rtl8211e: ethernet-phy@1 { 1606be33864SEmmanuel Vadot reg = <1>; 1616be33864SEmmanuel Vadot pinctrl-0 = <ð_phy_reset_pin>; 1626be33864SEmmanuel Vadot pinctrl-names = "default"; 1636be33864SEmmanuel Vadot reset-assert-us = <10000>; 1646be33864SEmmanuel Vadot reset-deassert-us = <50000>; 1656be33864SEmmanuel Vadot reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; 1666be33864SEmmanuel Vadot }; 1676be33864SEmmanuel Vadot }; 1686be33864SEmmanuel Vadot}; 1696be33864SEmmanuel Vadot 1706be33864SEmmanuel Vadot&i2c1 { 1716be33864SEmmanuel Vadot status = "okay"; 1726be33864SEmmanuel Vadot 1736be33864SEmmanuel Vadot rk805: pmic@18 { 1746be33864SEmmanuel Vadot compatible = "rockchip,rk805"; 1756be33864SEmmanuel Vadot reg = <0x18>; 1766be33864SEmmanuel Vadot interrupt-parent = <&gpio1>; 1776be33864SEmmanuel Vadot interrupts = <24 IRQ_TYPE_LEVEL_LOW>; 1786be33864SEmmanuel Vadot #clock-cells = <1>; 1796be33864SEmmanuel Vadot clock-output-names = "xin32k", "rk805-clkout2"; 1806be33864SEmmanuel Vadot gpio-controller; 1816be33864SEmmanuel Vadot #gpio-cells = <2>; 1826be33864SEmmanuel Vadot pinctrl-0 = <&pmic_int_l>; 1836be33864SEmmanuel Vadot pinctrl-names = "default"; 1846be33864SEmmanuel Vadot rockchip,system-power-controller; 1856be33864SEmmanuel Vadot wakeup-source; 1866be33864SEmmanuel Vadot 1876be33864SEmmanuel Vadot vcc1-supply = <&vdd_5v>; 1886be33864SEmmanuel Vadot vcc2-supply = <&vdd_5v>; 1896be33864SEmmanuel Vadot vcc3-supply = <&vdd_5v>; 1906be33864SEmmanuel Vadot vcc4-supply = <&vdd_5v>; 1916be33864SEmmanuel Vadot vcc5-supply = <&vcc_io_33>; 1926be33864SEmmanuel Vadot vcc6-supply = <&vdd_5v>; 1936be33864SEmmanuel Vadot 1946be33864SEmmanuel Vadot regulators { 1956be33864SEmmanuel Vadot vdd_log: DCDC_REG1 { 1966be33864SEmmanuel Vadot regulator-name = "vdd_log"; 1976be33864SEmmanuel Vadot regulator-always-on; 1986be33864SEmmanuel Vadot regulator-boot-on; 1996be33864SEmmanuel Vadot regulator-min-microvolt = <712500>; 2006be33864SEmmanuel Vadot regulator-max-microvolt = <1450000>; 2016be33864SEmmanuel Vadot regulator-ramp-delay = <12500>; 2026be33864SEmmanuel Vadot 2036be33864SEmmanuel Vadot regulator-state-mem { 2046be33864SEmmanuel Vadot regulator-on-in-suspend; 2056be33864SEmmanuel Vadot regulator-suspend-microvolt = <1000000>; 2066be33864SEmmanuel Vadot }; 2076be33864SEmmanuel Vadot }; 2086be33864SEmmanuel Vadot 2096be33864SEmmanuel Vadot vdd_arm: DCDC_REG2 { 2106be33864SEmmanuel Vadot regulator-name = "vdd_arm"; 2116be33864SEmmanuel Vadot regulator-always-on; 2126be33864SEmmanuel Vadot regulator-boot-on; 2136be33864SEmmanuel Vadot regulator-min-microvolt = <712500>; 2146be33864SEmmanuel Vadot regulator-max-microvolt = <1450000>; 2156be33864SEmmanuel Vadot regulator-ramp-delay = <12500>; 2166be33864SEmmanuel Vadot 2176be33864SEmmanuel Vadot regulator-state-mem { 2186be33864SEmmanuel Vadot regulator-on-in-suspend; 2196be33864SEmmanuel Vadot regulator-suspend-microvolt = <950000>; 2206be33864SEmmanuel Vadot }; 2216be33864SEmmanuel Vadot }; 2226be33864SEmmanuel Vadot 2236be33864SEmmanuel Vadot vcc_ddr: DCDC_REG3 { 2246be33864SEmmanuel Vadot regulator-name = "vcc_ddr"; 2256be33864SEmmanuel Vadot regulator-always-on; 2266be33864SEmmanuel Vadot regulator-boot-on; 2276be33864SEmmanuel Vadot 2286be33864SEmmanuel Vadot regulator-state-mem { 2296be33864SEmmanuel Vadot regulator-on-in-suspend; 2306be33864SEmmanuel Vadot }; 2316be33864SEmmanuel Vadot }; 2326be33864SEmmanuel Vadot 2336be33864SEmmanuel Vadot vcc_io_33: DCDC_REG4 { 2346be33864SEmmanuel Vadot regulator-name = "vcc_io_33"; 2356be33864SEmmanuel Vadot regulator-always-on; 2366be33864SEmmanuel Vadot regulator-boot-on; 2376be33864SEmmanuel Vadot regulator-min-microvolt = <3300000>; 2386be33864SEmmanuel Vadot regulator-max-microvolt = <3300000>; 2396be33864SEmmanuel Vadot 2406be33864SEmmanuel Vadot regulator-state-mem { 2416be33864SEmmanuel Vadot regulator-on-in-suspend; 2426be33864SEmmanuel Vadot regulator-suspend-microvolt = <3300000>; 2436be33864SEmmanuel Vadot }; 2446be33864SEmmanuel Vadot }; 2456be33864SEmmanuel Vadot 2466be33864SEmmanuel Vadot vcc_18: LDO_REG1 { 2476be33864SEmmanuel Vadot regulator-name = "vcc_18"; 2486be33864SEmmanuel Vadot regulator-always-on; 2496be33864SEmmanuel Vadot regulator-boot-on; 2506be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2516be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2526be33864SEmmanuel Vadot 2536be33864SEmmanuel Vadot regulator-state-mem { 2546be33864SEmmanuel Vadot regulator-on-in-suspend; 2556be33864SEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 2566be33864SEmmanuel Vadot }; 2576be33864SEmmanuel Vadot }; 2586be33864SEmmanuel Vadot 2596be33864SEmmanuel Vadot vcc18_emmc: LDO_REG2 { 2606be33864SEmmanuel Vadot regulator-name = "vcc18_emmc"; 2616be33864SEmmanuel Vadot regulator-always-on; 2626be33864SEmmanuel Vadot regulator-boot-on; 2636be33864SEmmanuel Vadot regulator-min-microvolt = <1800000>; 2646be33864SEmmanuel Vadot regulator-max-microvolt = <1800000>; 2656be33864SEmmanuel Vadot 2666be33864SEmmanuel Vadot regulator-state-mem { 2676be33864SEmmanuel Vadot regulator-on-in-suspend; 2686be33864SEmmanuel Vadot regulator-suspend-microvolt = <1800000>; 2696be33864SEmmanuel Vadot }; 2706be33864SEmmanuel Vadot }; 2716be33864SEmmanuel Vadot 2726be33864SEmmanuel Vadot vdd_10: LDO_REG3 { 2736be33864SEmmanuel Vadot regulator-name = "vdd_10"; 2746be33864SEmmanuel Vadot regulator-always-on; 2756be33864SEmmanuel Vadot regulator-boot-on; 2766be33864SEmmanuel Vadot regulator-min-microvolt = <1000000>; 2776be33864SEmmanuel Vadot regulator-max-microvolt = <1000000>; 2786be33864SEmmanuel Vadot 2796be33864SEmmanuel Vadot regulator-state-mem { 2806be33864SEmmanuel Vadot regulator-on-in-suspend; 2816be33864SEmmanuel Vadot regulator-suspend-microvolt = <1000000>; 2826be33864SEmmanuel Vadot }; 2836be33864SEmmanuel Vadot }; 2846be33864SEmmanuel Vadot }; 2856be33864SEmmanuel Vadot }; 2866be33864SEmmanuel Vadot}; 2876be33864SEmmanuel Vadot 2886be33864SEmmanuel Vadot&io_domains { 2896be33864SEmmanuel Vadot pmuio-supply = <&vcc_io_33>; 2906be33864SEmmanuel Vadot vccio1-supply = <&vcc_io_33>; 2916be33864SEmmanuel Vadot vccio2-supply = <&vcc18_emmc>; 2926be33864SEmmanuel Vadot vccio3-supply = <&vcc_io_sdio>; 2936be33864SEmmanuel Vadot vccio4-supply = <&vcc_18>; 2946be33864SEmmanuel Vadot vccio5-supply = <&vcc_io_33>; 2956be33864SEmmanuel Vadot vccio6-supply = <&vcc_io_33>; 2966be33864SEmmanuel Vadot status = "okay"; 2976be33864SEmmanuel Vadot}; 2986be33864SEmmanuel Vadot 2996be33864SEmmanuel Vadot&pinctrl { 3006be33864SEmmanuel Vadot button { 3016be33864SEmmanuel Vadot reset_button_pin: reset-button-pin { 3026be33864SEmmanuel Vadot rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; 3036be33864SEmmanuel Vadot }; 3046be33864SEmmanuel Vadot }; 3056be33864SEmmanuel Vadot 3065def4c47SEmmanuel Vadot gmac2io { 3076be33864SEmmanuel Vadot eth_phy_reset_pin: eth-phy-reset-pin { 3086be33864SEmmanuel Vadot rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>; 3096be33864SEmmanuel Vadot }; 3106be33864SEmmanuel Vadot }; 3116be33864SEmmanuel Vadot 3126be33864SEmmanuel Vadot leds { 3136be33864SEmmanuel Vadot lan_led_pin: lan-led-pin { 3146be33864SEmmanuel Vadot rockchip,pins = <2 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>; 3156be33864SEmmanuel Vadot }; 3166be33864SEmmanuel Vadot 3176be33864SEmmanuel Vadot sys_led_pin: sys-led-pin { 3186be33864SEmmanuel Vadot rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 3196be33864SEmmanuel Vadot }; 3206be33864SEmmanuel Vadot 3216be33864SEmmanuel Vadot wan_led_pin: wan-led-pin { 3226be33864SEmmanuel Vadot rockchip,pins = <2 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; 3236be33864SEmmanuel Vadot }; 3246be33864SEmmanuel Vadot }; 3256be33864SEmmanuel Vadot 3265956d97fSEmmanuel Vadot lan { 3275956d97fSEmmanuel Vadot lan_vdd_pin: lan-vdd-pin { 3285956d97fSEmmanuel Vadot rockchip,pins = <2 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; 3295956d97fSEmmanuel Vadot }; 3305956d97fSEmmanuel Vadot }; 3315956d97fSEmmanuel Vadot 3326be33864SEmmanuel Vadot pmic { 3336be33864SEmmanuel Vadot pmic_int_l: pmic-int-l { 3346be33864SEmmanuel Vadot rockchip,pins = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>; 3356be33864SEmmanuel Vadot }; 3366be33864SEmmanuel Vadot }; 3376be33864SEmmanuel Vadot 3386be33864SEmmanuel Vadot sd { 3396be33864SEmmanuel Vadot sdio_vcc_pin: sdio-vcc-pin { 3406be33864SEmmanuel Vadot rockchip,pins = <1 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>; 3416be33864SEmmanuel Vadot }; 3426be33864SEmmanuel Vadot }; 3436be33864SEmmanuel Vadot}; 3446be33864SEmmanuel Vadot 3456be33864SEmmanuel Vadot&pwm2 { 3466be33864SEmmanuel Vadot status = "okay"; 3476be33864SEmmanuel Vadot}; 3486be33864SEmmanuel Vadot 3496be33864SEmmanuel Vadot&sdmmc { 3506be33864SEmmanuel Vadot bus-width = <4>; 3516be33864SEmmanuel Vadot cap-sd-highspeed; 3526be33864SEmmanuel Vadot disable-wp; 3536be33864SEmmanuel Vadot pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>; 3546be33864SEmmanuel Vadot pinctrl-names = "default"; 3556be33864SEmmanuel Vadot sd-uhs-sdr12; 3566be33864SEmmanuel Vadot sd-uhs-sdr25; 3576be33864SEmmanuel Vadot sd-uhs-sdr50; 3586be33864SEmmanuel Vadot sd-uhs-sdr104; 3596be33864SEmmanuel Vadot vmmc-supply = <&vcc_sd>; 3606be33864SEmmanuel Vadot vqmmc-supply = <&vcc_io_sdio>; 3616be33864SEmmanuel Vadot status = "okay"; 3626be33864SEmmanuel Vadot}; 3636be33864SEmmanuel Vadot 3646be33864SEmmanuel Vadot&tsadc { 3656be33864SEmmanuel Vadot rockchip,hw-tshut-mode = <0>; 3666be33864SEmmanuel Vadot rockchip,hw-tshut-polarity = <0>; 3676be33864SEmmanuel Vadot status = "okay"; 3686be33864SEmmanuel Vadot}; 3696be33864SEmmanuel Vadot 3706be33864SEmmanuel Vadot&u2phy { 3716be33864SEmmanuel Vadot status = "okay"; 3726be33864SEmmanuel Vadot}; 3736be33864SEmmanuel Vadot 3746be33864SEmmanuel Vadot&u2phy_host { 3756be33864SEmmanuel Vadot status = "okay"; 3766be33864SEmmanuel Vadot}; 3776be33864SEmmanuel Vadot 3786be33864SEmmanuel Vadot&u2phy_otg { 3796be33864SEmmanuel Vadot status = "okay"; 3806be33864SEmmanuel Vadot}; 3816be33864SEmmanuel Vadot 3826be33864SEmmanuel Vadot&uart2 { 3836be33864SEmmanuel Vadot status = "okay"; 3846be33864SEmmanuel Vadot}; 3856be33864SEmmanuel Vadot 3866be33864SEmmanuel Vadot&usb20_otg { 3876be33864SEmmanuel Vadot status = "okay"; 3886be33864SEmmanuel Vadot dr_mode = "host"; 3896be33864SEmmanuel Vadot}; 3906be33864SEmmanuel Vadot 3915956d97fSEmmanuel Vadot&usbdrd3 { 3925956d97fSEmmanuel Vadot dr_mode = "host"; 3935956d97fSEmmanuel Vadot status = "okay"; 3945956d97fSEmmanuel Vadot #address-cells = <1>; 3955956d97fSEmmanuel Vadot #size-cells = <0>; 3965956d97fSEmmanuel Vadot 3975956d97fSEmmanuel Vadot /* Second port is for USB 3.0 */ 3985956d97fSEmmanuel Vadot rtl8153: device@2 { 3995956d97fSEmmanuel Vadot compatible = "usbbda,8153"; 4005956d97fSEmmanuel Vadot reg = <2>; 4015956d97fSEmmanuel Vadot }; 4025956d97fSEmmanuel Vadot}; 4035956d97fSEmmanuel Vadot 4046be33864SEmmanuel Vadot&usb_host0_ehci { 4056be33864SEmmanuel Vadot status = "okay"; 4066be33864SEmmanuel Vadot}; 4076be33864SEmmanuel Vadot 4086be33864SEmmanuel Vadot&usb_host0_ohci { 4096be33864SEmmanuel Vadot status = "okay"; 4106be33864SEmmanuel Vadot}; 411