2 * Hardkernel Odroid HC1 board device tree source
4 * Copyright (c) 2017 Marek Szyprowski
5 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 #include "exynos5422-odroid-core.dtsi"
17 model = "Hardkernel Odroid HC1";
18 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
22 compatible = "pwm-leds";
25 label = "blue:heartbeat";
26 pwms = <&pwm 2 2000000 0>;
28 max_brightness = <255>;
29 linux,default-trigger = "heartbeat";
34 cpu0_thermal: cpu0-thermal {
35 thermal-sensors = <&tmu_cpu0 0>;
37 cpu0_alert0: cpu-alert-0 {
38 temperature = <70000>; /* millicelsius */
39 hysteresis = <10000>; /* millicelsius */
42 cpu0_alert1: cpu-alert-1 {
43 temperature = <85000>; /* millicelsius */
44 hysteresis = <10000>; /* millicelsius */
47 cpu0_crit0: cpu-crit-0 {
48 temperature = <120000>; /* millicelsius */
49 hysteresis = <0>; /* millicelsius */
56 * When reaching cpu0_alert0, reduce CPU
57 * by 2 steps. On Exynos5422/5800 that would
58 * be: 1600 MHz and 1100 MHz.
61 trip = <&cpu0_alert0>;
62 cooling-device = <&cpu0 0 2>;
65 trip = <&cpu0_alert0>;
66 cooling-device = <&cpu4 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 7>;
78 trip = <&cpu0_alert1>;
79 cooling-device = <&cpu4 3 12>;
83 cpu1_thermal: cpu1-thermal {
84 thermal-sensors = <&tmu_cpu1 0>;
86 cpu1_alert0: cpu-alert-0 {
87 temperature = <70000>;
91 cpu1_alert1: cpu-alert-1 {
92 temperature = <85000>;
96 cpu1_crit0: cpu-crit-0 {
97 temperature = <120000>;
104 trip = <&cpu1_alert0>;
105 cooling-device = <&cpu0 0 2>;
108 trip = <&cpu1_alert0>;
109 cooling-device = <&cpu4 0 2>;
112 trip = <&cpu1_alert1>;
113 cooling-device = <&cpu0 3 7>;
116 trip = <&cpu1_alert1>;
117 cooling-device = <&cpu4 3 12>;
121 cpu2_thermal: cpu2-thermal {
122 thermal-sensors = <&tmu_cpu2 0>;
124 cpu2_alert0: cpu-alert-0 {
125 temperature = <70000>;
126 hysteresis = <10000>;
129 cpu2_alert1: cpu-alert-1 {
130 temperature = <85000>;
131 hysteresis = <10000>;
134 cpu2_crit0: cpu-crit-0 {
135 temperature = <120000>;
142 trip = <&cpu2_alert0>;
143 cooling-device = <&cpu0 0 2>;
146 trip = <&cpu2_alert0>;
147 cooling-device = <&cpu4 0 2>;
150 trip = <&cpu2_alert1>;
151 cooling-device = <&cpu0 3 7>;
154 trip = <&cpu2_alert1>;
155 cooling-device = <&cpu4 3 12>;
159 cpu3_thermal: cpu3-thermal {
160 thermal-sensors = <&tmu_cpu3 0>;
162 cpu3_alert0: cpu-alert-0 {
163 temperature = <70000>;
164 hysteresis = <10000>;
167 cpu3_alert1: cpu-alert-1 {
168 temperature = <85000>;
169 hysteresis = <10000>;
172 cpu3_crit0: cpu-crit-0 {
173 temperature = <120000>;
180 trip = <&cpu3_alert0>;
181 cooling-device = <&cpu0 0 2>;
184 trip = <&cpu3_alert0>;
185 cooling-device = <&cpu4 0 2>;
188 trip = <&cpu3_alert1>;
189 cooling-device = <&cpu0 3 7>;
192 trip = <&cpu3_alert1>;
193 cooling-device = <&cpu4 3 12>;
205 pinctrl-0 = <&pwm2_out>;
206 pinctrl-names = "default";
207 samsung,pwm-outputs = <2>;