Kever Yang | c61ad66 | 2016-07-19 21:16:58 +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 <dt-bindings/pwm/pwm.h> |
| 9 | #include "rk3399.dtsi" |
| 10 | |
| 11 | / { |
| 12 | model = "Rockchip RK3399 Evaluation Board"; |
| 13 | compatible = "rockchip,rk3399-evb", "rockchip,rk3399", |
| 14 | "google,rk3399evb-rev2"; |
| 15 | |
| 16 | chosen { |
| 17 | stdout-path = &uart2; |
| 18 | }; |
| 19 | |
| 20 | vdd_center: vdd-center { |
| 21 | compatible = "pwm-regulator"; |
| 22 | pwms = <&pwm3 0 25000 0>; |
| 23 | regulator-name = "vdd_center"; |
| 24 | regulator-min-microvolt = <800000>; |
| 25 | regulator-max-microvolt = <1400000>; |
| 26 | regulator-always-on; |
| 27 | regulator-boot-on; |
| 28 | status = "okay"; |
| 29 | }; |
| 30 | |
| 31 | vcc3v3_sys: vcc3v3-sys { |
| 32 | compatible = "regulator-fixed"; |
| 33 | regulator-name = "vcc3v3_sys"; |
| 34 | regulator-always-on; |
| 35 | regulator-boot-on; |
| 36 | regulator-min-microvolt = <3300000>; |
| 37 | regulator-max-microvolt = <3300000>; |
| 38 | }; |
| 39 | |
| 40 | vcc_phy: vcc-phy-regulator { |
| 41 | compatible = "regulator-fixed"; |
| 42 | regulator-name = "vcc_phy"; |
| 43 | regulator-always-on; |
| 44 | regulator-boot-on; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | &emmc_phy { |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
| 52 | &pwm0 { |
| 53 | status = "okay"; |
| 54 | }; |
| 55 | |
| 56 | &pwm2 { |
| 57 | status = "okay"; |
| 58 | }; |
| 59 | |
| 60 | &pwm3 { |
| 61 | status = "okay"; |
| 62 | }; |
| 63 | |
Kever Yang | 7017616 | 2016-08-04 11:44:59 +0800 | [diff] [blame] | 64 | &sdmmc { |
| 65 | status = "okay"; |
| 66 | }; |
| 67 | |
Kever Yang | c61ad66 | 2016-07-19 21:16:58 +0800 | [diff] [blame] | 68 | &sdhci { |
| 69 | bus-width = <8>; |
| 70 | mmc-hs400-1_8v; |
| 71 | mmc-hs400-enhanced-strobe; |
| 72 | non-removable; |
| 73 | status = "okay"; |
| 74 | }; |
| 75 | |
| 76 | &uart2 { |
| 77 | status = "okay"; |
| 78 | }; |
| 79 | |
| 80 | &usb_host0_ehci { |
| 81 | status = "okay"; |
| 82 | }; |
| 83 | |
| 84 | &usb_host0_ohci { |
| 85 | status = "okay"; |
| 86 | }; |
| 87 | |
| 88 | &usb_host1_ehci { |
| 89 | status = "okay"; |
| 90 | }; |
| 91 | |
| 92 | &usb_host1_ohci { |
| 93 | status = "okay"; |
| 94 | }; |
| 95 | |
| 96 | &pinctrl { |
| 97 | pmic { |
| 98 | pmic_int_l: pmic-int-l { |
| 99 | rockchip,pins = |
| 100 | <1 21 RK_FUNC_GPIO &pcfg_pull_up>; |
| 101 | }; |
| 102 | |
| 103 | pmic_dvs2: pmic-dvs2 { |
| 104 | rockchip,pins = |
| 105 | <1 18 RK_FUNC_GPIO &pcfg_pull_down>; |
| 106 | }; |
| 107 | }; |
| 108 | }; |