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 | |
Kever Yang | f12b8cc | 2017-06-08 15:32:06 +0800 | [diff] [blame] | 18 | vcc3v3_sdmmc: sdmmc-pwren { |
| 19 | compatible = "regulator-fixed"; |
| 20 | regulator-name = "vcc3v3"; |
| 21 | gpio = <&gpio0 30 GPIO_ACTIVE_LOW>; |
| 22 | regulator-always-on; |
| 23 | regulator-boot-on; |
| 24 | }; |
| 25 | |
Meng Dongyang | c27dcf9 | 2017-06-28 19:22:45 +0800 | [diff] [blame] | 26 | vcc5v0_otg: vcc5v0-otg-drv { |
| 27 | compatible = "regulator-fixed"; |
| 28 | enable-active-high; |
| 29 | regulator-name = "vcc5v0_otg"; |
| 30 | gpio = <&gpio0 27 GPIO_ACTIVE_HIGH>; |
| 31 | regulator-min-microvolt = <5000000>; |
| 32 | regulator-max-microvolt = <5000000>; |
| 33 | }; |
| 34 | |
Meng Dongyang | 776a09c | 2017-06-28 19:22:41 +0800 | [diff] [blame] | 35 | vcc5v0_host_xhci: vcc5v0-host-xhci-drv { |
| 36 | compatible = "regulator-fixed"; |
| 37 | enable-active-high; |
| 38 | regulator-name = "vcc5v0_host_xhci"; |
| 39 | gpio = <&gpio0 0 GPIO_ACTIVE_HIGH>; |
| 40 | regulator-min-microvolt = <5000000>; |
| 41 | regulator-max-microvolt = <5000000>; |
| 42 | }; |
Kever Yang | fc281b7 | 2017-02-23 15:37:50 +0800 | [diff] [blame] | 43 | }; |
| 44 | |
David Wu | c28a610 | 2017-09-20 14:44:23 +0800 | [diff] [blame^] | 45 | &saradc { |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
Kever Yang | fc281b7 | 2017-02-23 15:37:50 +0800 | [diff] [blame] | 49 | &uart2 { |
| 50 | status = "okay"; |
| 51 | }; |
| 52 | |
| 53 | &sdmmc { |
| 54 | bus-width = <4>; |
| 55 | cap-mmc-highspeed; |
| 56 | cap-sd-highspeed; |
| 57 | card-detect-delay = <200>; |
| 58 | disable-wp; |
| 59 | num-slots = <1>; |
| 60 | pinctrl-names = "default"; |
| 61 | pinctrl-0 = <&sdmmc0_clk>, <&sdmmc0_cmd>, <&sdmmc0_dectn>, <&sdmmc0_bus4>; |
| 62 | status = "okay"; |
| 63 | }; |
| 64 | |
| 65 | &emmc { |
| 66 | bus-width = <8>; |
| 67 | cap-mmc-highspeed; |
| 68 | supports-emmc; |
| 69 | disable-wp; |
| 70 | non-removable; |
| 71 | num-slots = <1>; |
| 72 | pinctrl-names = "default"; |
| 73 | pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; |
| 74 | status = "okay"; |
| 75 | }; |
Meng Dongyang | 4fd2d8f | 2017-05-17 18:21:46 +0800 | [diff] [blame] | 76 | |
| 77 | &usb_host0_ehci { |
| 78 | status = "okay"; |
| 79 | }; |
| 80 | |
| 81 | &usb_host0_ohci { |
| 82 | status = "okay"; |
| 83 | }; |
Meng Dongyang | 820d112 | 2017-05-17 18:25:28 +0800 | [diff] [blame] | 84 | |
Meng Dongyang | c27dcf9 | 2017-06-28 19:22:45 +0800 | [diff] [blame] | 85 | &usb20_otg { |
| 86 | vbus-supply = <&vcc5v0_otg>; |
| 87 | status = "okay"; |
| 88 | }; |
| 89 | |
Meng Dongyang | 820d112 | 2017-05-17 18:25:28 +0800 | [diff] [blame] | 90 | &usb_host0_xhci { |
Meng Dongyang | 776a09c | 2017-06-28 19:22:41 +0800 | [diff] [blame] | 91 | vbus-supply = <&vcc5v0_host_xhci>; |
Meng Dongyang | 820d112 | 2017-05-17 18:25:28 +0800 | [diff] [blame] | 92 | status = "okay"; |
| 93 | }; |