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 rockchip,pwm_id = <2>;
51 rockchip,pwm_voltage = <900000>;
52 pwms = <&pwm2 0 25000 0>;
53 regulator-name = "vdd_log";
54 regulator-min-microvolt = <800000>;
55 regulator-max-microvolt = <1400000>;
60 vdd_center: vdd-center {
61 compatible = "pwm-regulator";
62 rockchip,pwm_id = <3>;
63 rockchip,pwm_voltage = <900000>;
64 pwms = <&pwm3 0 25000 0>;
65 regulator-name = "vdd_center";
66 regulator-min-microvolt = <800000>;
67 regulator-max-microvolt = <1400000>;
74 dynamic-power-coefficient = <121>;
78 dynamic-power-coefficient = <1068>;
82 sustainable-power = <1600>; /* milliwatts */
88 <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
89 contribution = <10240>;
94 <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
95 contribution = <1024>;
100 <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
101 contribution = <10240>;
107 dynamic-power = <1780>;
112 compatible = "fairchild,fusb302";
114 pinctrl-names = "default";
115 pinctrl-0 = <&fusb0_int>;
116 vbus-5v-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
117 int-n-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
122 compatible = "mps,mp8865";
125 vdd_gpu: mp8865_dcdc1 {
126 regulator-name = "vdd_gpu";
127 regulator-min-microvolt = <712500>;
128 regulator-max-microvolt = <1500000>;
129 regulator-ramp-delay = <8000>;
137 compatible = "rockchip,rk808";
139 interrupt-parent = <&gpio1>;
140 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
141 pinctrl-names = "default";
142 pinctrl-0 = <&pmic_int_l &pmic_dvs2>;
143 rockchip,system-power-controller;
146 clock-output-names = "xin32k", "rk808-clkout2";
148 vcc1-supply = <&vcc3v3_sys>;
149 vcc2-supply = <&vcc3v3_sys>;
150 vcc3-supply = <&vcc3v3_sys>;
151 vcc4-supply = <&vcc3v3_sys>;
152 vcc6-supply = <&vcc3v3_sys>;
153 vcc7-supply = <&vcc3v3_sys>;
154 vcc8-supply = <&vcc3v3_sys>;
155 vcc9-supply = <&vcc3v3_sys>;
156 vcc10-supply = <&vcc3v3_sys>;
157 vcc11-supply = <&vcc3v3_sys>;
158 vcc12-supply = <&vcc3v3_sys>;
159 vddio-supply = <&vcc1v8_pmu>;
162 vdd_cpu_b: DCDC_REG1 {
165 regulator-min-microvolt = <750000>;
166 regulator-max-microvolt = <1350000>;
167 regulator-ramp-delay = <6001>;
168 regulator-name = "vdd_cpu_b";
169 regulator-state-mem {
170 regulator-off-in-suspend;
174 vdd_cpu_l: DCDC_REG2 {
177 regulator-min-microvolt = <750000>;
178 regulator-max-microvolt = <1350000>;
179 regulator-ramp-delay = <6001>;
180 regulator-name = "vdd_cpu_l";
181 regulator-state-mem {
182 regulator-off-in-suspend;
189 regulator-name = "vcc_ddr";
190 regulator-state-mem {
191 regulator-on-in-suspend;
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
200 regulator-name = "vcc_1v8";
201 regulator-state-mem {
202 regulator-on-in-suspend;
203 regulator-suspend-microvolt = <1800000>;
207 vcc1v8_dvp: LDO_REG1 {
210 regulator-min-microvolt = <1800000>;
211 regulator-max-microvolt = <1800000>;
212 regulator-name = "vcc1v8_dvp";
213 regulator-state-mem {
214 regulator-on-in-suspend;
215 regulator-suspend-microvolt = <1800000>;
219 vcc3v0_tp: LDO_REG2 {
222 regulator-min-microvolt = <3000000>;
223 regulator-max-microvolt = <3000000>;
224 regulator-name = "vcc3v0_tp";
225 regulator-state-mem {
226 regulator-off-in-suspend;
230 vcc1v8_pmu: LDO_REG3 {
233 regulator-min-microvolt = <1800000>;
234 regulator-max-microvolt = <1800000>;
235 regulator-name = "vcc1v8_pmu";
236 regulator-state-mem {
237 regulator-on-in-suspend;
238 regulator-suspend-microvolt = <1800000>;
245 regulator-min-microvolt = <1800000>;
246 regulator-max-microvolt = <3300000>;
247 regulator-name = "vcc_sd";
248 regulator-state-mem {
249 regulator-on-in-suspend;
250 regulator-suspend-microvolt = <3300000>;
254 vcca3v0_codec: LDO_REG5 {
257 regulator-min-microvolt = <3000000>;
258 regulator-max-microvolt = <3000000>;
259 regulator-name = "vcca3v0_codec";
260 regulator-state-mem {
261 regulator-on-in-suspend;
262 regulator-suspend-microvolt = <3000000>;
269 regulator-min-microvolt = <1500000>;
270 regulator-max-microvolt = <1500000>;
271 regulator-name = "vcc_1v5";
272 regulator-state-mem {
273 regulator-on-in-suspend;
274 regulator-suspend-microvolt = <1500000>;
278 vcca1v8_codec: LDO_REG7 {
281 regulator-min-microvolt = <1800000>;
282 regulator-max-microvolt = <1800000>;
283 regulator-name = "vcca1v8_codec";
284 regulator-state-mem {
285 regulator-on-in-suspend;
286 regulator-suspend-microvolt = <1800000>;
293 regulator-min-microvolt = <3000000>;
294 regulator-max-microvolt = <3000000>;
295 regulator-name = "vcc_3v0";
296 regulator-state-mem {
297 regulator-on-in-suspend;
298 regulator-suspend-microvolt = <3000000>;
302 vcc3v3_s3: SWITCH_REG1 {
305 regulator-name = "vcc3v3_s3";
306 regulator-state-mem {
307 regulator-on-in-suspend;
311 vcc3v3_s0: SWITCH_REG2 {
314 regulator-name = "vcc3v3_s0";
315 regulator-state-mem {
316 regulator-on-in-suspend;
325 compatible = "fairchild,fusb302";
327 pinctrl-names = "default";
328 pinctrl-0 = <&fusb1_int>;
329 vbus-5v-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
330 int-n-gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
343 rockchip,utmi-avalid;