2 * Copyright (c) 2016 Fuzhou Rockchip Electronics Co., Ltd
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
9 * a) This file is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
14 * This file is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
21 * b) Permission is hereby granted, free of charge, to any person
22 * obtaining a copy of this software and associated documentation
23 * files (the "Software"), to deal in the Software without
24 * restriction, including without limitation the rights to use,
25 * copy, modify, merge, publish, distribute, sublicense, and/or
26 * sell copies of the Software, and to permit persons to whom the
27 * Software is furnished to do so, subject to the following
30 * The above copyright notice and this permission notice shall be
31 * included in all copies or substantial portions of the Software.
33 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40 * OTHER DEALINGS IN THE SOFTWARE.
43 #include "rk3399-evb.dtsi"
46 compatible = "rockchip,rk3399-evb-rev1", "rockchip,rk3399";
49 compatible = "pwm-regulator";
50 pwms = <&pwm2 0 25000 0>;
51 regulator-name = "vdd_log";
52 regulator-min-microvolt = <800000>;
53 regulator-max-microvolt = <1400000>;
60 dynamic-power-coefficient = <121>;
64 dynamic-power-coefficient = <1068>;
68 sustainable-power = <1600>; /* milliwatts */
74 <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
75 contribution = <10240>;
80 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
81 contribution = <1024>;
86 <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
87 contribution = <10240>;
93 dynamic-power = <1780>;
98 compatible = "fairchild,fusb302";
100 pinctrl-names = "default";
101 pinctrl-0 = <&fusb0_int>;
102 vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
103 int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
108 compatible = "mps,mp8865";
111 vdd_gpu: mp8865_dcdc1 {
112 regulator-name = "vdd_gpu";
113 regulator-min-microvolt = <712500>;
114 regulator-max-microvolt = <1500000>;
122 compatible = "rockchip,rk808";
124 interrupt-parent = <&gpio1>;
125 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
128 rockchip,system-power-controller;
131 clock-output-names = "xin32k", "rk808-clkout2";
133 vcc1-supply = <&vcc3v3_sys>;
134 vcc2-supply = <&vcc3v3_sys>;
135 vcc3-supply = <&vcc3v3_sys>;
136 vcc4-supply = <&vcc3v3_sys>;
137 vcc6-supply = <&vcc3v3_sys>;
138 vcc7-supply = <&vcc3v3_sys>;
139 vcc8-supply = <&vcc3v3_sys>;
140 vcc9-supply = <&vcc3v3_sys>;
141 vcc10-supply = <&vcc3v3_sys>;
142 vcc11-supply = <&vcc3v3_sys>;
143 vcc12-supply = <&vcc3v3_sys>;
144 vddio-supply = <&vcc1v8_pmu>;
147 vdd_cpu_b: DCDC_REG1 {
150 regulator-min-microvolt = <750000>;
151 regulator-max-microvolt = <1350000>;
152 regulator-name = "vdd_cpu_b";
153 regulator-state-mem {
154 regulator-off-in-suspend;
158 vdd_cpu_l: DCDC_REG2 {
161 regulator-min-microvolt = <750000>;
162 regulator-max-microvolt = <1350000>;
163 regulator-name = "vdd_cpu_l";
164 regulator-state-mem {
165 regulator-off-in-suspend;
172 regulator-name = "vcc_ddr";
173 regulator-state-mem {
174 regulator-on-in-suspend;
181 regulator-min-microvolt = <1800000>;
182 regulator-max-microvolt = <1800000>;
183 regulator-name = "vcc_1v8";
184 regulator-state-mem {
185 regulator-on-in-suspend;
186 regulator-suspend-microvolt = <1800000>;
190 vcc1v8_dvp: LDO_REG1 {
193 regulator-min-microvolt = <1800000>;
194 regulator-max-microvolt = <1800000>;
195 regulator-name = "vcc1v8_dvp";
196 regulator-state-mem {
197 regulator-on-in-suspend;
198 regulator-suspend-microvolt = <1800000>;
202 vcc3v0_tp: LDO_REG2 {
205 regulator-min-microvolt = <3000000>;
206 regulator-max-microvolt = <3000000>;
207 regulator-name = "vcc3v0_tp";
208 regulator-state-mem {
209 regulator-off-in-suspend;
213 vcc1v8_pmu: LDO_REG3 {
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
218 regulator-name = "vcc1v8_pmu";
219 regulator-state-mem {
220 regulator-on-in-suspend;
221 regulator-suspend-microvolt = <1800000>;
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <3300000>;
230 regulator-name = "vcc_sd";
231 regulator-state-mem {
232 regulator-on-in-suspend;
233 regulator-suspend-microvolt = <3300000>;
237 vcca3v0_codec: LDO_REG5 {
240 regulator-min-microvolt = <3000000>;
241 regulator-max-microvolt = <3000000>;
242 regulator-name = "vcca3v0_codec";
243 regulator-state-mem {
244 regulator-on-in-suspend;
245 regulator-suspend-microvolt = <3000000>;
252 regulator-min-microvolt = <1500000>;
253 regulator-max-microvolt = <1500000>;
254 regulator-name = "vcc_1v5";
255 regulator-state-mem {
256 regulator-on-in-suspend;
257 regulator-suspend-microvolt = <1500000>;
261 vcca1v8_codec: LDO_REG7 {
264 regulator-min-microvolt = <1800000>;
265 regulator-max-microvolt = <1800000>;
266 regulator-name = "vcca1v8_codec";
267 regulator-state-mem {
268 regulator-on-in-suspend;
269 regulator-suspend-microvolt = <1800000>;
276 regulator-min-microvolt = <3000000>;
277 regulator-max-microvolt = <3000000>;
278 regulator-name = "vcc_3v0";
279 regulator-state-mem {
280 regulator-on-in-suspend;
281 regulator-suspend-microvolt = <3000000>;
285 vcc3v3_s3: SWITCH_REG1 {
288 regulator-name = "vcc3v3_s3";
289 regulator-state-mem {
290 regulator-on-in-suspend;
294 vcc3v3_s0: SWITCH_REG2 {
297 regulator-name = "vcc3v3_s0";
298 regulator-state-mem {
299 regulator-on-in-suspend;
308 compatible = "fairchild,fusb302";
310 pinctrl-names = "default";
311 pinctrl-0 = <&fusb1_int>;
312 vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
313 int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
322 rockchip,utmi-avalid;