Kever Yang | fc281b7 | 2017-02-23 15:37:50 +0800 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2016 Rockchip Electronics Co., Ltd |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | /dts-v1/; |
| 8 | #include "rk3328.dtsi" |
| 9 | |
| 10 | / { |
| 11 | model = "Rockchip RK3328 EVB"; |
| 12 | compatible = "rockchip,rk3328-evb", "rockchip,rk3328"; |
| 13 | |
| 14 | chosen { |
| 15 | stdout-path = &uart2; |
| 16 | }; |
Meng Dongyang | 776a09c | 2017-06-28 19:22:41 +0800 | [diff] [blame] | 17 | |
| 18 | vcc5v0_host_xhci: vcc5v0-host-xhci-drv { |
| 19 | compatible = "regulator-fixed"; |
| 20 | enable-active-high; |
| 21 | regulator-name = "vcc5v0_host_xhci"; |
| 22 | gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| 23 | regulator-min-microvolt = <5000000>; |
| 24 | regulator-max-microvolt = <5000000>; |
| 25 | }; |
Kever Yang | fc281b7 | 2017-02-23 15:37:50 +0800 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | &uart2 { |
| 29 | status = "okay"; |
| 30 | }; |
| 31 | |
| 32 | &sdmmc { |
| 33 | bus-width = <4>; |
| 34 | cap-mmc-highspeed; |
| 35 | cap-sd-highspeed; |
| 36 | card-detect-delay = <200>; |
| 37 | disable-wp; |
| 38 | num-slots = <1>; |
| 39 | pinctrl-names = "default"; |
| 40 | pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>; |
| 41 | status = "okay"; |
| 42 | }; |
| 43 | |
| 44 | &emmc { |
| 45 | bus-width = <8>; |
| 46 | cap-mmc-highspeed; |
| 47 | supports-emmc; |
| 48 | disable-wp; |
| 49 | non-removable; |
| 50 | num-slots = <1>; |
| 51 | pinctrl-names = "default"; |
| 52 | pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; |
| 53 | status = "okay"; |
| 54 | }; |
Meng Dongyang | 4fd2d8f | 2017-05-17 18:21:46 +0800 | [diff] [blame] | 55 | |
| 56 | &usb_host0_ehci { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | &usb_host0_ohci { |
| 61 | status = "okay"; |
| 62 | }; |
Meng Dongyang | 820d112 | 2017-05-17 18:25:28 +0800 | [diff] [blame] | 63 | |
| 64 | &usb_host0_xhci { |
Meng Dongyang | 776a09c | 2017-06-28 19:22:41 +0800 | [diff] [blame] | 65 | vbus-supply = <&vcc5v0_host_xhci>; |
Meng Dongyang | 820d112 | 2017-05-17 18:25:28 +0800 | [diff] [blame] | 66 | status = "okay"; |
| 67 | }; |