1b97ee269SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2b97ee269SEmmanuel Vadot/* 3b97ee269SEmmanuel Vadot * Copyright (c) 2019 Akash Gajjar <akash@openedev.com> 4b97ee269SEmmanuel Vadot * Copyright (c) 2019 Jagan Teki <jagan@openedev.com> 5b97ee269SEmmanuel Vadot */ 6b97ee269SEmmanuel Vadot 7b97ee269SEmmanuel Vadot/dts-v1/; 87d0873ebSEmmanuel Vadot 97d0873ebSEmmanuel Vadot#include <dt-bindings/leds/common.h> 10b97ee269SEmmanuel Vadot#include "rk3308.dtsi" 11b97ee269SEmmanuel Vadot 12b97ee269SEmmanuel Vadot/ { 13b97ee269SEmmanuel Vadot model = "Radxa ROCK Pi S"; 14b97ee269SEmmanuel Vadot compatible = "radxa,rockpis", "rockchip,rk3308"; 15b97ee269SEmmanuel Vadot 16b97ee269SEmmanuel Vadot aliases { 17b97ee269SEmmanuel Vadot ethernet0 = &gmac; 18b97ee269SEmmanuel Vadot mmc0 = &emmc; 19b97ee269SEmmanuel Vadot mmc1 = &sdmmc; 20*0e8011faSEmmanuel Vadot mmc2 = &sdio; 21b97ee269SEmmanuel Vadot }; 22b97ee269SEmmanuel Vadot 23b97ee269SEmmanuel Vadot chosen { 24b97ee269SEmmanuel Vadot stdout-path = "serial0:1500000n8"; 25b97ee269SEmmanuel Vadot }; 26b97ee269SEmmanuel Vadot 27b97ee269SEmmanuel Vadot leds { 28b97ee269SEmmanuel Vadot compatible = "gpio-leds"; 29b97ee269SEmmanuel Vadot pinctrl-names = "default"; 307d0873ebSEmmanuel Vadot pinctrl-0 = <&green_led>, <&heartbeat_led>; 31b97ee269SEmmanuel Vadot 32b97ee269SEmmanuel Vadot green-led { 337d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_GREEN>; 34b97ee269SEmmanuel Vadot default-state = "on"; 357d0873ebSEmmanuel Vadot function = LED_FUNCTION_POWER; 36b97ee269SEmmanuel Vadot gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; 37b97ee269SEmmanuel Vadot label = "rockpis:green:power"; 38b97ee269SEmmanuel Vadot linux,default-trigger = "default-on"; 39b97ee269SEmmanuel Vadot }; 40b97ee269SEmmanuel Vadot 41b97ee269SEmmanuel Vadot blue-led { 427d0873ebSEmmanuel Vadot color = <LED_COLOR_ID_BLUE>; 43b97ee269SEmmanuel Vadot default-state = "on"; 447d0873ebSEmmanuel Vadot function = LED_FUNCTION_HEARTBEAT; 45b97ee269SEmmanuel Vadot gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>; 46b97ee269SEmmanuel Vadot label = "rockpis:blue:user"; 47b97ee269SEmmanuel Vadot linux,default-trigger = "heartbeat"; 48b97ee269SEmmanuel Vadot }; 49b97ee269SEmmanuel Vadot }; 50b97ee269SEmmanuel Vadot 51b97ee269SEmmanuel Vadot sdio_pwrseq: sdio-pwrseq { 52b97ee269SEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 53b97ee269SEmmanuel Vadot pinctrl-0 = <&wifi_enable_h>; 54b97ee269SEmmanuel Vadot pinctrl-names = "default"; 55b97ee269SEmmanuel Vadot reset-gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; 56b97ee269SEmmanuel Vadot }; 57b97ee269SEmmanuel Vadot 58b97ee269SEmmanuel Vadot vcc_1v8: vcc-1v8 { 59b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 60b97ee269SEmmanuel Vadot regulator-name = "vcc_1v8"; 61b97ee269SEmmanuel Vadot regulator-always-on; 62b97ee269SEmmanuel Vadot regulator-boot-on; 63b97ee269SEmmanuel Vadot regulator-min-microvolt = <1800000>; 64b97ee269SEmmanuel Vadot regulator-max-microvolt = <1800000>; 65b97ee269SEmmanuel Vadot vin-supply = <&vcc_io>; 66b97ee269SEmmanuel Vadot }; 67b97ee269SEmmanuel Vadot 68b97ee269SEmmanuel Vadot vcc_io: vcc-io { 69b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 70b97ee269SEmmanuel Vadot regulator-name = "vcc_io"; 71b97ee269SEmmanuel Vadot regulator-always-on; 72b97ee269SEmmanuel Vadot regulator-boot-on; 73b97ee269SEmmanuel Vadot regulator-min-microvolt = <3300000>; 74b97ee269SEmmanuel Vadot regulator-max-microvolt = <3300000>; 75b97ee269SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 76b97ee269SEmmanuel Vadot }; 77b97ee269SEmmanuel Vadot 78b97ee269SEmmanuel Vadot vcc_ddr: vcc-ddr { 79b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 80b97ee269SEmmanuel Vadot regulator-name = "vcc_ddr"; 81b97ee269SEmmanuel Vadot regulator-always-on; 82b97ee269SEmmanuel Vadot regulator-boot-on; 83b97ee269SEmmanuel Vadot regulator-min-microvolt = <1500000>; 84b97ee269SEmmanuel Vadot regulator-max-microvolt = <1500000>; 85b97ee269SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 86b97ee269SEmmanuel Vadot }; 87b97ee269SEmmanuel Vadot 88b97ee269SEmmanuel Vadot vcc5v0_otg: vcc5v0-otg { 89b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 90b97ee269SEmmanuel Vadot enable-active-high; 91b97ee269SEmmanuel Vadot gpio = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; 92b97ee269SEmmanuel Vadot pinctrl-names = "default"; 93b97ee269SEmmanuel Vadot pinctrl-0 = <&otg_vbus_drv>; 94b97ee269SEmmanuel Vadot regulator-name = "vcc5v0_otg"; 95b97ee269SEmmanuel Vadot regulator-always-on; 96b97ee269SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 97b97ee269SEmmanuel Vadot }; 98b97ee269SEmmanuel Vadot 99b97ee269SEmmanuel Vadot vcc5v0_sys: vcc5v0-sys { 100b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 101b97ee269SEmmanuel Vadot regulator-name = "vcc5v0_sys"; 102b97ee269SEmmanuel Vadot regulator-always-on; 103b97ee269SEmmanuel Vadot regulator-boot-on; 104b97ee269SEmmanuel Vadot regulator-min-microvolt = <5000000>; 105b97ee269SEmmanuel Vadot regulator-max-microvolt = <5000000>; 106b97ee269SEmmanuel Vadot }; 107b97ee269SEmmanuel Vadot 108b97ee269SEmmanuel Vadot vdd_core: vdd-core { 109b97ee269SEmmanuel Vadot compatible = "pwm-regulator"; 110b97ee269SEmmanuel Vadot pwms = <&pwm0 0 5000 1>; 111b97ee269SEmmanuel Vadot pwm-supply = <&vcc5v0_sys>; 112b97ee269SEmmanuel Vadot regulator-name = "vdd_core"; 113b97ee269SEmmanuel Vadot regulator-min-microvolt = <827000>; 114b97ee269SEmmanuel Vadot regulator-max-microvolt = <1340000>; 115b97ee269SEmmanuel Vadot regulator-settling-time-up-us = <250>; 116b97ee269SEmmanuel Vadot regulator-always-on; 117b97ee269SEmmanuel Vadot regulator-boot-on; 118b97ee269SEmmanuel Vadot }; 119b97ee269SEmmanuel Vadot 120b97ee269SEmmanuel Vadot vdd_log: vdd-log { 121b97ee269SEmmanuel Vadot compatible = "regulator-fixed"; 122b97ee269SEmmanuel Vadot regulator-name = "vdd_log"; 123b97ee269SEmmanuel Vadot regulator-always-on; 124b97ee269SEmmanuel Vadot regulator-boot-on; 125b97ee269SEmmanuel Vadot regulator-min-microvolt = <1050000>; 126b97ee269SEmmanuel Vadot regulator-max-microvolt = <1050000>; 127b97ee269SEmmanuel Vadot vin-supply = <&vcc5v0_sys>; 128b97ee269SEmmanuel Vadot }; 129b97ee269SEmmanuel Vadot}; 130b97ee269SEmmanuel Vadot 131b97ee269SEmmanuel Vadot&cpu0 { 132b97ee269SEmmanuel Vadot cpu-supply = <&vdd_core>; 133b97ee269SEmmanuel Vadot}; 134b97ee269SEmmanuel Vadot 135b97ee269SEmmanuel Vadot&emmc { 136b97ee269SEmmanuel Vadot cap-mmc-highspeed; 1377d0873ebSEmmanuel Vadot cap-sd-highspeed; 1387d0873ebSEmmanuel Vadot no-sdio; 139b97ee269SEmmanuel Vadot non-removable; 1407d0873ebSEmmanuel Vadot pinctrl-names = "default"; 1417d0873ebSEmmanuel Vadot pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; 142b97ee269SEmmanuel Vadot vmmc-supply = <&vcc_io>; 143b97ee269SEmmanuel Vadot status = "okay"; 144b97ee269SEmmanuel Vadot}; 145b97ee269SEmmanuel Vadot 146b97ee269SEmmanuel Vadot&gmac { 147b97ee269SEmmanuel Vadot clock_in_out = "output"; 148*0e8011faSEmmanuel Vadot phy-handle = <&rtl8201f>; 149b97ee269SEmmanuel Vadot phy-supply = <&vcc_io>; 150b97ee269SEmmanuel Vadot status = "okay"; 151*0e8011faSEmmanuel Vadot 152*0e8011faSEmmanuel Vadot mdio { 153*0e8011faSEmmanuel Vadot compatible = "snps,dwmac-mdio"; 154*0e8011faSEmmanuel Vadot #address-cells = <1>; 155*0e8011faSEmmanuel Vadot #size-cells = <0>; 156*0e8011faSEmmanuel Vadot 157*0e8011faSEmmanuel Vadot rtl8201f: ethernet-phy@1 { 158*0e8011faSEmmanuel Vadot compatible = "ethernet-phy-ieee802.3-c22"; 159*0e8011faSEmmanuel Vadot reg = <1>; 160*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 161*0e8011faSEmmanuel Vadot pinctrl-0 = <&mac_rst>; 162*0e8011faSEmmanuel Vadot reset-assert-us = <20000>; 163*0e8011faSEmmanuel Vadot reset-deassert-us = <50000>; 164*0e8011faSEmmanuel Vadot reset-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>; 165*0e8011faSEmmanuel Vadot }; 166*0e8011faSEmmanuel Vadot }; 167b97ee269SEmmanuel Vadot}; 168b97ee269SEmmanuel Vadot 1698d13bc63SEmmanuel Vadot&gpio0 { 1708d13bc63SEmmanuel Vadot gpio-line-names = 1718d13bc63SEmmanuel Vadot /* GPIO0_A0 - A7 */ 1728d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", "", 1738d13bc63SEmmanuel Vadot /* GPIO0_B0 - B7 */ 1748d13bc63SEmmanuel Vadot "", "", "", "header1-pin3 [GPIO0_B3]", 1758d13bc63SEmmanuel Vadot "header1-pin5 [GPIO0_B4]", "", "", 1768d13bc63SEmmanuel Vadot "header1-pin11 [GPIO0_B7]", 1778d13bc63SEmmanuel Vadot /* GPIO0_C0 - C7 */ 1788d13bc63SEmmanuel Vadot "header1-pin13 [GPIO0_C0]", 1798d13bc63SEmmanuel Vadot "header1-pin15 [GPIO0_C1]", "", "", "", 1808d13bc63SEmmanuel Vadot "", "", "", 1818d13bc63SEmmanuel Vadot /* GPIO0_D0 - D7 */ 1828d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", ""; 1838d13bc63SEmmanuel Vadot}; 1848d13bc63SEmmanuel Vadot 1858d13bc63SEmmanuel Vadot&gpio1 { 1868d13bc63SEmmanuel Vadot gpio-line-names = 1878d13bc63SEmmanuel Vadot /* GPIO1_A0 - A7 */ 1888d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", "", 1898d13bc63SEmmanuel Vadot /* GPIO1_B0 - B7 */ 1908d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", "", 1918d13bc63SEmmanuel Vadot /* GPIO1_C0 - C7 */ 1928d13bc63SEmmanuel Vadot "", "", "", "", "", "", "header1-pin21 [GPIO1_C6]", 1938d13bc63SEmmanuel Vadot "header1-pin19 [GPIO1_C7]", 1948d13bc63SEmmanuel Vadot /* GPIO1_D0 - D7 */ 1958d13bc63SEmmanuel Vadot "header1-pin23 [GPIO1_D0]", "header1-pin24 [GPIO1_D1]", 1968d13bc63SEmmanuel Vadot "", "", "", "", "", ""; 1978d13bc63SEmmanuel Vadot}; 1988d13bc63SEmmanuel Vadot 1998d13bc63SEmmanuel Vadot&gpio2 { 2008d13bc63SEmmanuel Vadot gpio-line-names = 2018d13bc63SEmmanuel Vadot /* GPIO2_A0 - A7 */ 2028d13bc63SEmmanuel Vadot "header1-pin10 [GPIO2_A0]", "header1-pin8 [GPIO2_A1]", 2038d13bc63SEmmanuel Vadot "", "", 2048d13bc63SEmmanuel Vadot "header1-pin7 [GPIO2_A4]", "header1-pin12 [GPIO2_A5]", 2058d13bc63SEmmanuel Vadot "header2-pin46 [GPIO2_A6]", "header1-pin22 [GPIO1_A7]", 2068d13bc63SEmmanuel Vadot /* GPIO2_B0 - B7 */ 2078d13bc63SEmmanuel Vadot "header2-pin45 [GPIO2_B0]", "header1-pin18 [GPIO2_B1]", 2088d13bc63SEmmanuel Vadot "header1-pin16 [GPIO2_B2]", "header2-pin44 [GPIO2_B3]", 2098d13bc63SEmmanuel Vadot "header2-pin43 [GPIO2_B4]", "header2-pin28 [GPIO2_B5]", 2108d13bc63SEmmanuel Vadot "header2-pin30 [GPIO2_B6]", "header2-pin32 [GPIO2_B7]", 2118d13bc63SEmmanuel Vadot /* GPIO2_C0 - C7 */ 2128d13bc63SEmmanuel Vadot "header2-pin34 [GPIO2_C0]", "", "", "", "", "", "", "", 2138d13bc63SEmmanuel Vadot /* GPIO2_D0 - D7 */ 2148d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", ""; 2158d13bc63SEmmanuel Vadot}; 2168d13bc63SEmmanuel Vadot 2178d13bc63SEmmanuel Vadot&gpio3 { 2188d13bc63SEmmanuel Vadot gpio-line-names = 2198d13bc63SEmmanuel Vadot /* GPIO3_A0 - A7 */ 2208d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", "", 2218d13bc63SEmmanuel Vadot /* GPIO3_B0 - B7 */ 2228d13bc63SEmmanuel Vadot "", "", "header2-pin42 [GPIO3_B2]", 2238d13bc63SEmmanuel Vadot "header2-pin41 [GPIO3_B3]", "header2-pin40 [GPIO3_B4]", 2248d13bc63SEmmanuel Vadot "header2-pin39 [GPIO3_B5]", "", "", 2258d13bc63SEmmanuel Vadot /* GPIO3_C0 - C7 */ 2268d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", "", 2278d13bc63SEmmanuel Vadot /* GPIO3_D0 - D7 */ 2288d13bc63SEmmanuel Vadot "", "", "", "", "", "", "", ""; 2298d13bc63SEmmanuel Vadot}; 2308d13bc63SEmmanuel Vadot 231b97ee269SEmmanuel Vadot&i2c1 { 232b97ee269SEmmanuel Vadot status = "okay"; 233b97ee269SEmmanuel Vadot}; 234b97ee269SEmmanuel Vadot 235*0e8011faSEmmanuel Vadot&io_domains { 236*0e8011faSEmmanuel Vadot vccio0-supply = <&vcc_io>; 237*0e8011faSEmmanuel Vadot vccio1-supply = <&vcc_io>; 238*0e8011faSEmmanuel Vadot vccio2-supply = <&vcc_io>; 239*0e8011faSEmmanuel Vadot vccio3-supply = <&vcc_io>; 240*0e8011faSEmmanuel Vadot vccio4-supply = <&vcc_1v8>; 241*0e8011faSEmmanuel Vadot vccio5-supply = <&vcc_io>; 242*0e8011faSEmmanuel Vadot status = "okay"; 243*0e8011faSEmmanuel Vadot}; 244*0e8011faSEmmanuel Vadot 245b97ee269SEmmanuel Vadot&pinctrl { 246b97ee269SEmmanuel Vadot pinctrl-names = "default"; 247b97ee269SEmmanuel Vadot pinctrl-0 = <&rtc_32k>; 248b97ee269SEmmanuel Vadot 249*0e8011faSEmmanuel Vadot bluetooth { 250*0e8011faSEmmanuel Vadot bt_reg_on: bt-reg-on { 251*0e8011faSEmmanuel Vadot rockchip,pins = <4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; 252*0e8011faSEmmanuel Vadot }; 253*0e8011faSEmmanuel Vadot 254*0e8011faSEmmanuel Vadot bt_wake_host: bt-wake-host { 255*0e8011faSEmmanuel Vadot rockchip,pins = <4 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>; 256*0e8011faSEmmanuel Vadot }; 257*0e8011faSEmmanuel Vadot 258*0e8011faSEmmanuel Vadot host_wake_bt: host-wake-bt { 259*0e8011faSEmmanuel Vadot rockchip,pins = <4 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 260*0e8011faSEmmanuel Vadot }; 261*0e8011faSEmmanuel Vadot }; 262*0e8011faSEmmanuel Vadot 263*0e8011faSEmmanuel Vadot gmac { 264*0e8011faSEmmanuel Vadot mac_rst: mac-rst { 265*0e8011faSEmmanuel Vadot rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_none>; 266*0e8011faSEmmanuel Vadot }; 267*0e8011faSEmmanuel Vadot }; 268*0e8011faSEmmanuel Vadot 269b97ee269SEmmanuel Vadot leds { 2707d0873ebSEmmanuel Vadot green_led: green-led { 271b97ee269SEmmanuel Vadot rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 272b97ee269SEmmanuel Vadot }; 273b97ee269SEmmanuel Vadot 2747d0873ebSEmmanuel Vadot heartbeat_led: heartbeat-led { 275b97ee269SEmmanuel Vadot rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; 276b97ee269SEmmanuel Vadot }; 277b97ee269SEmmanuel Vadot }; 278b97ee269SEmmanuel Vadot 279b97ee269SEmmanuel Vadot usb { 280b97ee269SEmmanuel Vadot otg_vbus_drv: otg-vbus-drv { 281b97ee269SEmmanuel Vadot rockchip,pins = <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>; 282b97ee269SEmmanuel Vadot }; 283b97ee269SEmmanuel Vadot }; 284b97ee269SEmmanuel Vadot 285b97ee269SEmmanuel Vadot sdio-pwrseq { 286b97ee269SEmmanuel Vadot wifi_enable_h: wifi-enable-h { 287b97ee269SEmmanuel Vadot rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 288b97ee269SEmmanuel Vadot }; 289b97ee269SEmmanuel Vadot 290b97ee269SEmmanuel Vadot wifi_host_wake: wifi-host-wake { 291b97ee269SEmmanuel Vadot rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_down>; 292b97ee269SEmmanuel Vadot }; 293b97ee269SEmmanuel Vadot }; 294b97ee269SEmmanuel Vadot}; 295b97ee269SEmmanuel Vadot 296b97ee269SEmmanuel Vadot&pwm0 { 297b97ee269SEmmanuel Vadot status = "okay"; 298b97ee269SEmmanuel Vadot pinctrl-0 = <&pwm0_pin_pull_down>; 299b97ee269SEmmanuel Vadot}; 300b97ee269SEmmanuel Vadot 301b97ee269SEmmanuel Vadot&saradc { 302b97ee269SEmmanuel Vadot vref-supply = <&vcc_1v8>; 303b97ee269SEmmanuel Vadot status = "okay"; 304b97ee269SEmmanuel Vadot}; 305b97ee269SEmmanuel Vadot 306b97ee269SEmmanuel Vadot&sdio { 307b97ee269SEmmanuel Vadot #address-cells = <1>; 308b97ee269SEmmanuel Vadot #size-cells = <0>; 309b97ee269SEmmanuel Vadot cap-sd-highspeed; 310b97ee269SEmmanuel Vadot cap-sdio-irq; 311b97ee269SEmmanuel Vadot keep-power-in-suspend; 312*0e8011faSEmmanuel Vadot max-frequency = <100000000>; 313b97ee269SEmmanuel Vadot mmc-pwrseq = <&sdio_pwrseq>; 314*0e8011faSEmmanuel Vadot no-mmc; 315*0e8011faSEmmanuel Vadot no-sd; 316b97ee269SEmmanuel Vadot non-removable; 317*0e8011faSEmmanuel Vadot sd-uhs-sdr50; 318*0e8011faSEmmanuel Vadot vmmc-supply = <&vcc_io>; 319*0e8011faSEmmanuel Vadot vqmmc-supply = <&vcc_1v8>; 320b97ee269SEmmanuel Vadot status = "okay"; 321*0e8011faSEmmanuel Vadot 322*0e8011faSEmmanuel Vadot rtl8723ds: wifi@1 { 323*0e8011faSEmmanuel Vadot reg = <1>; 324*0e8011faSEmmanuel Vadot interrupt-parent = <&gpio0>; 325*0e8011faSEmmanuel Vadot interrupts = <RK_PA0 IRQ_TYPE_LEVEL_HIGH>; 326*0e8011faSEmmanuel Vadot interrupt-names = "host-wake"; 327*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 328*0e8011faSEmmanuel Vadot pinctrl-0 = <&wifi_host_wake>; 329*0e8011faSEmmanuel Vadot }; 330b97ee269SEmmanuel Vadot}; 331b97ee269SEmmanuel Vadot 332b97ee269SEmmanuel Vadot&sdmmc { 333*0e8011faSEmmanuel Vadot cap-mmc-highspeed; 334b97ee269SEmmanuel Vadot cap-sd-highspeed; 335*0e8011faSEmmanuel Vadot disable-wp; 336*0e8011faSEmmanuel Vadot vmmc-supply = <&vcc_io>; 337b97ee269SEmmanuel Vadot status = "okay"; 338b97ee269SEmmanuel Vadot}; 339b97ee269SEmmanuel Vadot 340b97ee269SEmmanuel Vadot&u2phy { 341b97ee269SEmmanuel Vadot status = "okay"; 342b97ee269SEmmanuel Vadot 343b97ee269SEmmanuel Vadot u2phy_host: host-port { 344b97ee269SEmmanuel Vadot phy-supply = <&vcc5v0_otg>; 345b97ee269SEmmanuel Vadot status = "okay"; 346b97ee269SEmmanuel Vadot }; 347b97ee269SEmmanuel Vadot 348b97ee269SEmmanuel Vadot u2phy_otg: otg-port { 349b97ee269SEmmanuel Vadot phy-supply = <&vcc5v0_otg>; 350b97ee269SEmmanuel Vadot status = "okay"; 351b97ee269SEmmanuel Vadot }; 352b97ee269SEmmanuel Vadot}; 353b97ee269SEmmanuel Vadot 354b97ee269SEmmanuel Vadot&uart0 { 355*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 356*0e8011faSEmmanuel Vadot pinctrl-0 = <&uart0_xfer>; 357b97ee269SEmmanuel Vadot status = "okay"; 358b97ee269SEmmanuel Vadot}; 359b97ee269SEmmanuel Vadot 360b97ee269SEmmanuel Vadot&uart4 { 361*0e8011faSEmmanuel Vadot uart-has-rtscts; 362b97ee269SEmmanuel Vadot status = "okay"; 363b97ee269SEmmanuel Vadot 364b97ee269SEmmanuel Vadot bluetooth { 365*0e8011faSEmmanuel Vadot compatible = "realtek,rtl8723ds-bt"; 366*0e8011faSEmmanuel Vadot device-wake-gpios = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 367*0e8011faSEmmanuel Vadot enable-gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_HIGH>; 368b97ee269SEmmanuel Vadot host-wake-gpios = <&gpio4 RK_PB4 GPIO_ACTIVE_HIGH>; 369*0e8011faSEmmanuel Vadot pinctrl-names = "default"; 370*0e8011faSEmmanuel Vadot pinctrl-0 = <&bt_reg_on &bt_wake_host &host_wake_bt>; 371b97ee269SEmmanuel Vadot }; 372b97ee269SEmmanuel Vadot}; 373b97ee269SEmmanuel Vadot 374b97ee269SEmmanuel Vadot&usb_host_ehci { 375b97ee269SEmmanuel Vadot status = "okay"; 376b97ee269SEmmanuel Vadot}; 377b97ee269SEmmanuel Vadot 378b97ee269SEmmanuel Vadot&usb_host_ohci { 379b97ee269SEmmanuel Vadot status = "okay"; 380b97ee269SEmmanuel Vadot}; 381b97ee269SEmmanuel Vadot 382b97ee269SEmmanuel Vadot&usb20_otg { 383b97ee269SEmmanuel Vadot dr_mode = "peripheral"; 384b97ee269SEmmanuel Vadot status = "okay"; 385b97ee269SEmmanuel Vadot}; 386b97ee269SEmmanuel Vadot 387b97ee269SEmmanuel Vadot&wdt { 388b97ee269SEmmanuel Vadot status = "okay"; 389b97ee269SEmmanuel Vadot}; 390