| /* |
| * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
| * |
| * SPDX-License-Identifier: GPL-2.0+ |
| */ |
| |
| /dts-v1/; |
| #include "rk3328.dtsi" |
| |
| / { |
| model = "Rockchip RK3328 EVB"; |
| compatible = "rockchip,rk3328-evb", "rockchip,rk3328"; |
| |
| chosen { |
| stdout-path = &uart2; |
| }; |
| |
| vcc3v3_sdmmc: sdmmc-pwren { |
| compatible = "regulator-fixed"; |
| regulator-name = "vcc3v3"; |
| gpio = <&gpio0 30 GPIO_ACTIVE_LOW>; |
| regulator-always-on; |
| regulator-boot-on; |
| }; |
| |
| vcc5v0_otg: vcc5v0-otg-drv { |
| compatible = "regulator-fixed"; |
| enable-active-high; |
| regulator-name = "vcc5v0_otg"; |
| gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>; |
| regulator-min-microvolt = <5000000>; |
| regulator-max-microvolt = <5000000>; |
| }; |
| |
| vcc5v0_host_xhci: vcc5v0-host-xhci-drv { |
| compatible = "regulator-fixed"; |
| enable-active-high; |
| regulator-name = "vcc5v0_host_xhci"; |
| gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| regulator-min-microvolt = <5000000>; |
| regulator-max-microvolt = <5000000>; |
| }; |
| }; |
| |
| &uart2 { |
| status = "okay"; |
| }; |
| |
| &sdmmc { |
| bus-width = <4>; |
| cap-mmc-highspeed; |
| cap-sd-highspeed; |
| card-detect-delay = <200>; |
| disable-wp; |
| num-slots = <1>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>; |
| status = "okay"; |
| }; |
| |
| &emmc { |
| bus-width = <8>; |
| cap-mmc-highspeed; |
| supports-emmc; |
| disable-wp; |
| non-removable; |
| num-slots = <1>; |
| pinctrl-names = "default"; |
| pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; |
| status = "okay"; |
| }; |
| |
| &usb_host0_ehci { |
| status = "okay"; |
| }; |
| |
| &usb_host0_ohci { |
| status = "okay"; |
| }; |
| |
| &usb20_otg { |
| vbus-supply = <&vcc5v0_otg>; |
| status = "okay"; |
| }; |
| |
| &usb_host0_xhci { |
| vbus-supply = <&vcc5v0_host_xhci>; |
| status = "okay"; |
| }; |