1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Veyron Mickey Rev 0 board device tree source
5 * Copyright 2015 Google, Inc
9 #include "rk3288-veyron.dtsi"
12 model = "Google Mickey";
13 compatible = "google,veyron-mickey-rev8", "google,veyron-mickey-rev7",
14 "google,veyron-mickey-rev6", "google,veyron-mickey-rev5",
15 "google,veyron-mickey-rev4", "google,veyron-mickey-rev3",
16 "google,veyron-mickey-rev2", "google,veyron-mickey-rev1",
17 "google,veyron-mickey-rev0", "google,veyron-mickey",
18 "google,veyron", "rockchip,rk3288";
21 vin-supply = <&vcc33_sys>;
25 compatible = "regulator-fixed";
26 regulator-name = "vcc33_io";
29 vin-supply = <&vcc33_sys>;
35 /delete-node/ cooling-maps;
38 cpu_alert_almost_warm: cpu_alert_almost_warm {
39 temperature = <63000>; /* millicelsius */
40 hysteresis = <2000>; /* millicelsius */
43 cpu_alert_warm: cpu_alert_warm {
44 temperature = <65000>; /* millicelsius */
45 hysteresis = <2000>; /* millicelsius */
48 cpu_alert_almost_hot: cpu_alert_almost_hot {
49 temperature = <80000>; /* millicelsius */
50 hysteresis = <2000>; /* millicelsius */
53 cpu_alert_hot: cpu_alert_hot {
54 temperature = <82000>; /* millicelsius */
55 hysteresis = <2000>; /* millicelsius */
58 cpu_alert_hotter: cpu_alert_hotter {
59 temperature = <84000>; /* millicelsius */
60 hysteresis = <2000>; /* millicelsius */
63 cpu_alert_very_hot: cpu_alert_very_hot {
64 temperature = <85000>; /* millicelsius */
65 hysteresis = <2000>; /* millicelsius */
69 temperature = <90000>; /* millicelsius */
70 hysteresis = <2000>; /* millicelsius */
77 * After 1st level, throttle the CPU down to as low as 1.4 GHz
78 * and don't let the GPU go faster than 400 MHz.
81 trip = <&cpu_alert_warm>;
82 cooling-device = <&cpu0 THERMAL_NO_LIMIT 4>,
83 <&cpu1 THERMAL_NO_LIMIT 4>,
84 <&cpu2 THERMAL_NO_LIMIT 4>,
85 <&cpu3 THERMAL_NO_LIMIT 4>;
88 trip = <&cpu_alert_warm>;
89 cooling-device = <&gpu 1 1>;
93 * Add some discrete steps to help throttling system deal
94 * with the fact that there are two passive cooling devices:
95 * the CPU and the GPU.
97 * - 1.2 GHz - 1.0 GHz (almost hot)
99 * - 800 MHz - 696 MHz (hotter)
100 * - 696 MHz - min (very hot)
103 * - 800 MHz appears to be a "sweet spot" for me. I can run
104 * some pretty serious workload here and be happy.
105 * - After 696 MHz we stop lowering voltage, so throttling
106 * past there is less effective.
108 cpu_almost_hot_limit_cpu {
109 trip = <&cpu_alert_almost_hot>;
110 cooling-device = <&cpu0 5 6>, <&cpu1 5 6>, <&cpu2 5 6>,
114 trip = <&cpu_alert_hot>;
115 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>, <&cpu2 7 7>,
118 cpu_hotter_limit_cpu {
119 trip = <&cpu_alert_hotter>;
120 cooling-device = <&cpu0 7 8>, <&cpu1 7 8>, <&cpu2 7 8>,
123 cpu_very_hot_limit_cpu {
124 trip = <&cpu_alert_very_hot>;
125 cooling-device = <&cpu0 8 THERMAL_NO_LIMIT>,
126 <&cpu1 8 THERMAL_NO_LIMIT>,
127 <&cpu2 8 THERMAL_NO_LIMIT>,
128 <&cpu3 8 THERMAL_NO_LIMIT>;
131 /* At very hot, don't let GPU go over 300 MHz */
132 cpu_very_hot_limit_gpu {
133 trip = <&cpu_alert_very_hot>;
134 cooling-device = <&gpu 2 2>;
141 /delete-node/ cooling-maps;
144 gpu_alert_warmish: gpu_alert_warmish {
145 temperature = <60000>; /* millicelsius */
146 hysteresis = <2000>; /* millicelsius */
149 gpu_alert_warm: gpu_alert_warm {
150 temperature = <65000>; /* millicelsius */
151 hysteresis = <2000>; /* millicelsius */
154 gpu_alert_hotter: gpu_alert_hotter {
155 temperature = <84000>; /* millicelsius */
156 hysteresis = <2000>; /* millicelsius */
159 gpu_alert_very_very_hot: gpu_alert_very_very_hot {
160 temperature = <86000>; /* millicelsius */
161 hysteresis = <2000>; /* millicelsius */
165 temperature = <90000>; /* millicelsius */
166 hysteresis = <2000>; /* millicelsius */
172 /* After 1st level throttle the GPU down to as low as 400 MHz */
173 gpu_warmish_limit_gpu {
174 trip = <&gpu_alert_warmish>;
175 cooling-device = <&gpu THERMAL_NO_LIMIT 1>;
179 * Slightly after we throttle the GPU, we'll also make sure that
180 * the CPU can't go faster than 1.4 GHz. Note that we won't
181 * throttle the CPU lower than 1.4 GHz due to GPU heat--we'll
182 * let the CPU do the rest itself.
185 trip = <&gpu_alert_warm>;
186 cooling-device = <&cpu0 4 4>,
192 /* When hot, GPU goes down to 300 MHz */
193 gpu_hotter_limit_gpu {
194 trip = <&gpu_alert_hotter>;
195 cooling-device = <&gpu 2 2>;
198 /* When really hot, don't let GPU go _above_ 300 MHz */
199 gpu_very_very_hot_limit_gpu {
200 trip = <&gpu_alert_very_very_hot>;
201 cooling-device = <&gpu 2 THERMAL_NO_LIMIT>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
221 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
222 <&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
224 /delete-property/ vcc6-supply;
225 /delete-property/ vcc12-supply;
227 vcc11-supply = <&vcc33_sys>;
230 /* vcc33_io is sourced directly from vcc33_sys */
231 /delete-node/ LDO_REG1;
232 /delete-node/ LDO_REG7;
234 /* This is not a pwren anymore, but the real power supply */
235 vdd10_lcd: LDO_REG7 {
238 regulator-min-microvolt = <1000000>;
239 regulator-max-microvolt = <1000000>;
240 regulator-name = "vdd10_lcd";
241 regulator-suspend-mem-disabled;
244 vcc18_lcd: LDO_REG8 {
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
249 regulator-name = "vcc18_lcd";
250 regulator-suspend-mem-disabled;
256 gpio-line-names = "PMIC_SLEEP_AP",
267 * RECOVERY_SW_L is Chrome OS ABI. Schematics call
284 gpio-line-names = "CONFIG0",
298 gpio-line-names = "FLASH0_D0",
316 "FLASH0_CS2/EMMC_CMD",
318 "FLASH0_DQS/EMMC_CLKO";
322 gpio-line-names = "",
360 gpio-line-names = "",
367 * AP_FLASH_WP_L is Chrome OS ABI. Schematics call
393 gpio-line-names = "RAM_ID0",
408 power_hdmi_on: power-hdmi-on {
409 rockchip,pins = <7 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
415 rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
419 rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
434 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>;
435 pinctrl-names = "default";
436 pinctrl-0 = <&power_hdmi_on>;