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 "exynos5422-odroid-core.dtsi"
14 model = "Hardkernel Odroid HC1";
15 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
19 compatible = "pwm-leds";
22 label = "blue:heartbeat";
23 pwms = <&pwm 2 2000000 0>;
25 max_brightness = <255>;
26 linux,default-trigger = "heartbeat";
31 cpu0_thermal: cpu0-thermal {
32 thermal-sensors = <&tmu_cpu0 0>;
34 cpu0_alert0: cpu-alert-0 {
35 temperature = <70000>; /* millicelsius */
36 hysteresis = <10000>; /* millicelsius */
39 cpu0_alert1: cpu-alert-1 {
40 temperature = <85000>; /* millicelsius */
41 hysteresis = <10000>; /* millicelsius */
44 cpu0_crit0: cpu-crit-0 {
45 temperature = <120000>; /* millicelsius */
46 hysteresis = <0>; /* millicelsius */
53 * When reaching cpu0_alert0, reduce CPU
54 * by 2 steps. On Exynos5422/5800 that would
55 * be: 1600 MHz and 1100 MHz.
58 trip = <&cpu0_alert0>;
59 cooling-device = <&cpu0 0 2>,
69 * When reaching cpu0_alert1, reduce CPU
70 * further, down to 600 MHz (12 steps for big,
71 * 7 steps for LITTLE).
74 trip = <&cpu0_alert1>;
75 cooling-device = <&cpu0 3 8>,
86 cpu1_thermal: cpu1-thermal {
87 thermal-sensors = <&tmu_cpu1 0>;
89 cpu1_alert0: cpu-alert-0 {
90 temperature = <70000>;
94 cpu1_alert1: cpu-alert-1 {
95 temperature = <85000>;
99 cpu1_crit0: cpu-crit-0 {
100 temperature = <120000>;
107 trip = <&cpu1_alert0>;
108 cooling-device = <&cpu0 0 2>,
118 trip = <&cpu1_alert1>;
119 cooling-device = <&cpu0 3 8>,
130 cpu2_thermal: cpu2-thermal {
131 thermal-sensors = <&tmu_cpu2 0>;
133 cpu2_alert0: cpu-alert-0 {
134 temperature = <70000>;
135 hysteresis = <10000>;
138 cpu2_alert1: cpu-alert-1 {
139 temperature = <85000>;
140 hysteresis = <10000>;
143 cpu2_crit0: cpu-crit-0 {
144 temperature = <120000>;
151 trip = <&cpu2_alert0>;
152 cooling-device = <&cpu0 0 2>,
162 trip = <&cpu2_alert1>;
163 cooling-device = <&cpu0 3 8>,
174 cpu3_thermal: cpu3-thermal {
175 thermal-sensors = <&tmu_cpu3 0>;
177 cpu3_alert0: cpu-alert-0 {
178 temperature = <70000>;
179 hysteresis = <10000>;
182 cpu3_alert1: cpu-alert-1 {
183 temperature = <85000>;
184 hysteresis = <10000>;
187 cpu3_crit0: cpu-crit-0 {
188 temperature = <120000>;
195 trip = <&cpu3_alert0>;
196 cooling-device = <&cpu0 0 2>,
206 trip = <&cpu3_alert1>;
207 cooling-device = <&cpu0 3 8>,
226 pinctrl-0 = <&pwm2_out>;
227 pinctrl-names = "default";
228 samsung,pwm-outputs = <2>;