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>;
62 trip = <&cpu0_alert0>;
63 cooling-device = <&cpu4 0 2>;
66 * When reaching cpu0_alert1, reduce CPU
67 * further, down to 600 MHz (12 steps for big,
68 * 7 steps for LITTLE).
71 trip = <&cpu0_alert1>;
72 cooling-device = <&cpu0 3 7>;
75 trip = <&cpu0_alert1>;
76 cooling-device = <&cpu4 3 12>;
80 cpu1_thermal: cpu1-thermal {
81 thermal-sensors = <&tmu_cpu1 0>;
83 cpu1_alert0: cpu-alert-0 {
84 temperature = <70000>;
88 cpu1_alert1: cpu-alert-1 {
89 temperature = <85000>;
93 cpu1_crit0: cpu-crit-0 {
94 temperature = <120000>;
101 trip = <&cpu1_alert0>;
102 cooling-device = <&cpu0 0 2>;
105 trip = <&cpu1_alert0>;
106 cooling-device = <&cpu4 0 2>;
109 trip = <&cpu1_alert1>;
110 cooling-device = <&cpu0 3 7>;
113 trip = <&cpu1_alert1>;
114 cooling-device = <&cpu4 3 12>;
118 cpu2_thermal: cpu2-thermal {
119 thermal-sensors = <&tmu_cpu2 0>;
121 cpu2_alert0: cpu-alert-0 {
122 temperature = <70000>;
123 hysteresis = <10000>;
126 cpu2_alert1: cpu-alert-1 {
127 temperature = <85000>;
128 hysteresis = <10000>;
131 cpu2_crit0: cpu-crit-0 {
132 temperature = <120000>;
139 trip = <&cpu2_alert0>;
140 cooling-device = <&cpu0 0 2>;
143 trip = <&cpu2_alert0>;
144 cooling-device = <&cpu4 0 2>;
147 trip = <&cpu2_alert1>;
148 cooling-device = <&cpu0 3 7>;
151 trip = <&cpu2_alert1>;
152 cooling-device = <&cpu4 3 12>;
156 cpu3_thermal: cpu3-thermal {
157 thermal-sensors = <&tmu_cpu3 0>;
159 cpu3_alert0: cpu-alert-0 {
160 temperature = <70000>;
161 hysteresis = <10000>;
164 cpu3_alert1: cpu-alert-1 {
165 temperature = <85000>;
166 hysteresis = <10000>;
169 cpu3_crit0: cpu-crit-0 {
170 temperature = <120000>;
177 trip = <&cpu3_alert0>;
178 cooling-device = <&cpu0 0 2>;
181 trip = <&cpu3_alert0>;
182 cooling-device = <&cpu4 0 2>;
185 trip = <&cpu3_alert1>;
186 cooling-device = <&cpu0 3 7>;
189 trip = <&cpu3_alert1>;
190 cooling-device = <&cpu4 3 12>;
202 pinctrl-0 = <&pwm2_out>;
203 pinctrl-names = "default";
204 samsung,pwm-outputs = <2>;