1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid HC1 board device tree source
5 * Copyright (c) 2017 Marek Szyprowski
6 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
11 #include <dt-bindings/leds/common.h>
12 #include "exynos5422-odroid-core.dtsi"
15 model = "Hardkernel Odroid HC1";
16 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
20 compatible = "pwm-leds";
23 function = LED_FUNCTION_HEARTBEAT;
24 color = <LED_COLOR_ID_BLUE>;
25 pwms = <&pwm 2 2000000 0>;
27 max-brightness = <255>;
28 linux,default-trigger = "heartbeat";
33 cpu0_thermal: cpu0-thermal {
34 thermal-sensors = <&tmu_cpu0>;
36 cpu0_alert0: cpu-alert-0 {
37 temperature = <70000>; /* millicelsius */
38 hysteresis = <10000>; /* millicelsius */
41 cpu0_alert1: cpu-alert-1 {
42 temperature = <85000>; /* millicelsius */
43 hysteresis = <10000>; /* millicelsius */
46 cpu0_crit0: cpu-crit-0 {
47 temperature = <120000>; /* millicelsius */
48 hysteresis = <0>; /* millicelsius */
55 * When reaching cpu0_alert0, reduce CPU
56 * by 2 steps. On Exynos5422/5800 that would
57 * be: 1600 MHz and 1100 MHz.
60 trip = <&cpu0_alert0>;
61 cooling-device = <&cpu0 0 2>,
71 * When reaching cpu0_alert1, reduce CPU
72 * further, down to 600 MHz (12 steps for big,
73 * 7 steps for LITTLE).
76 trip = <&cpu0_alert1>;
77 cooling-device = <&cpu0 3 8>,
88 cpu1_thermal: cpu1-thermal {
89 thermal-sensors = <&tmu_cpu1>;
91 cpu1_alert0: cpu-alert-0 {
92 temperature = <70000>;
96 cpu1_alert1: cpu-alert-1 {
97 temperature = <85000>;
101 cpu1_crit0: cpu-crit-0 {
102 temperature = <120000>;
109 trip = <&cpu1_alert0>;
110 cooling-device = <&cpu0 0 2>,
120 trip = <&cpu1_alert1>;
121 cooling-device = <&cpu0 3 8>,
132 cpu2_thermal: cpu2-thermal {
133 thermal-sensors = <&tmu_cpu2>;
135 cpu2_alert0: cpu-alert-0 {
136 temperature = <70000>;
137 hysteresis = <10000>;
140 cpu2_alert1: cpu-alert-1 {
141 temperature = <85000>;
142 hysteresis = <10000>;
145 cpu2_crit0: cpu-crit-0 {
146 temperature = <120000>;
153 trip = <&cpu2_alert0>;
154 cooling-device = <&cpu0 0 2>,
164 trip = <&cpu2_alert1>;
165 cooling-device = <&cpu0 3 8>,
176 cpu3_thermal: cpu3-thermal {
177 thermal-sensors = <&tmu_cpu3>;
179 cpu3_alert0: cpu-alert-0 {
180 temperature = <70000>;
181 hysteresis = <10000>;
184 cpu3_alert1: cpu-alert-1 {
185 temperature = <85000>;
186 hysteresis = <10000>;
189 cpu3_crit0: cpu-crit-0 {
190 temperature = <120000>;
197 trip = <&cpu3_alert0>;
198 cooling-device = <&cpu0 0 2>,
208 trip = <&cpu3_alert1>;
209 cooling-device = <&cpu0 3 8>,
220 gpu_thermal: gpu-thermal {
221 thermal-sensors = <&tmu_gpu>;
223 gpu_alert0: gpu-alert-0 {
224 temperature = <70000>;
225 hysteresis = <10000>;
228 gpu_alert1: gpu-alert-1 {
229 temperature = <85000>;
230 hysteresis = <10000>;
233 gpu_crit0: gpu-crit-0 {
234 temperature = <120000>;
241 trip = <&gpu_alert0>;
242 cooling-device = <&gpu 0 2>;
245 trip = <&gpu_alert1>;
246 cooling-device = <&gpu 3 6>;
258 pinctrl-0 = <&pwm2_out>;
259 pinctrl-names = "default";
260 samsung,pwm-outputs = <2>;