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. Note that we
79 * won't throttle the GPU lower than 400 MHz due to CPU
80 * heat--we'll let the GPU do the rest itself.
83 trip = <&cpu_alert_warm>;
85 <&cpu0 THERMAL_NO_LIMIT 4>;
89 * Add some discrete steps to help throttling system deal
90 * with the fact that there are two passive cooling devices:
91 * the CPU and the GPU.
93 * - 1.2 GHz - 1.0 GHz (almost hot)
95 * - 800 MHz - 696 MHz (hotter)
96 * - 696 MHz - min (very hot)
99 * - 800 MHz appears to be a "sweet spot" for me. I can run
100 * some pretty serious workload here and be happy.
101 * - After 696 MHz we stop lowering voltage, so throttling
102 * past there is less effective.
104 cpu_almost_hot_limit_cpu {
105 trip = <&cpu_alert_almost_hot>;
110 trip = <&cpu_alert_hot>;
114 cpu_hotter_limit_cpu {
115 trip = <&cpu_alert_hotter>;
119 cpu_very_hot_limit_cpu {
120 trip = <&cpu_alert_very_hot>;
122 <&cpu0 8 THERMAL_NO_LIMIT>;
128 /delete-property/mmc-hs200-1_8v;
141 clock-names = "i2s_hclk", "i2s_clk", "i2s_clk_out";
142 clocks = <&cru HCLK_I2S0>, <&cru SCLK_I2S0>, <&cru SCLK_I2S0_OUT>;
146 pinctrl-names = "default";
147 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
148 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
149 <&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
151 /delete-property/ vcc6-supply;
152 /delete-property/ vcc12-supply;
154 vcc11-supply = <&vcc33_sys>;
157 /* vcc33_io is sourced directly from vcc33_sys */
158 /delete-node/ LDO_REG1;
159 /delete-node/ LDO_REG7;
161 /* This is not a pwren anymore, but the real power supply */
162 vdd10_lcd: LDO_REG7 {
165 regulator-min-microvolt = <1000000>;
166 regulator-max-microvolt = <1000000>;
167 regulator-name = "vdd10_lcd";
168 regulator-suspend-mem-disabled;
171 vcc18_lcd: LDO_REG8 {
174 regulator-min-microvolt = <1800000>;
175 regulator-max-microvolt = <1800000>;
176 regulator-name = "vcc18_lcd";
177 regulator-suspend-mem-disabled;
184 power_hdmi_on: power-hdmi-on {
185 rockchip,pins = <7 11 RK_FUNC_GPIO &pcfg_pull_none>;
191 rockchip,pins = <7 12 RK_FUNC_GPIO &pcfg_pull_down>;
195 rockchip,pins = <7 15 RK_FUNC_GPIO &pcfg_pull_down>;
210 gpio = <&gpio7 RK_PB3 GPIO_ACTIVE_HIGH>;
211 pinctrl-names = "default";
212 pinctrl-0 = <&power_hdmi_on>;