1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Hardkernel Odroid HC1 board device tree sou 4 * 5 * Copyright (c) 2017 Marek Szyprowski 6 * Copyright (c) 2017 Samsung Electronics Co., 7 * http://www.samsung.com 8 */ 9 10 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 12 #include "exynos5422-odroid-core.dtsi" 13 14 / { 15 model = "Hardkernel Odroid HC1"; 16 compatible = "hardkernel,odroid-hc1", 17 "samsung,exynos5"; 18 19 led-controller { 20 compatible = "pwm-leds"; 21 22 led-1 { 23 function = LED_FUNCTIO 24 color = <LED_COLOR_ID_ 25 pwms = <&pwm 2 2000000 26 pwm-names = "pwm2"; 27 max-brightness = <255> 28 linux,default-trigger 29 }; 30 }; 31 32 thermal-zones { 33 cpu0_thermal: cpu0-thermal { 34 thermal-sensors = <&tm 35 trips { 36 cpu0_alert0: c 37 temper 38 hyster 39 type = 40 }; 41 cpu0_alert1: c 42 temper 43 hyster 44 type = 45 }; 46 cpu0_crit0: cp 47 temper 48 hyster 49 type = 50 }; 51 }; 52 53 cooling-maps { 54 /* 55 * When reachi 56 * by 2 steps. 57 * be: 1600 MH 58 */ 59 map0 { 60 trip = 61 coolin 62 63 64 65 66 67 68 69 }; 70 /* 71 * When reachi 72 * further, do 73 * 7 steps for 74 */ 75 map1 { 76 trip = 77 coolin 78 79 80 81 82 83 84 85 }; 86 }; 87 }; 88 cpu1_thermal: cpu1-thermal { 89 thermal-sensors = <&tm 90 trips { 91 cpu1_alert0: c 92 temper 93 hyster 94 type = 95 }; 96 cpu1_alert1: c 97 temper 98 hyster 99 type = 100 }; 101 cpu1_crit0: cp 102 temper 103 hyster 104 type = 105 }; 106 }; 107 cooling-maps { 108 map0 { 109 trip = 110 coolin 111 112 113 114 115 116 117 118 }; 119 map1 { 120 trip = 121 coolin 122 123 124 125 126 127 128 129 }; 130 }; 131 }; 132 cpu2_thermal: cpu2-thermal { 133 thermal-sensors = <&tm 134 trips { 135 cpu2_alert0: c 136 temper 137 hyster 138 type = 139 }; 140 cpu2_alert1: c 141 temper 142 hyster 143 type = 144 }; 145 cpu2_crit0: cp 146 temper 147 hyster 148 type = 149 }; 150 }; 151 cooling-maps { 152 map0 { 153 trip = 154 coolin 155 156 157 158 159 160 161 162 }; 163 map1 { 164 trip = 165 coolin 166 167 168 169 170 171 172 173 }; 174 }; 175 }; 176 cpu3_thermal: cpu3-thermal { 177 thermal-sensors = <&tm 178 trips { 179 cpu3_alert0: c 180 temper 181 hyster 182 type = 183 }; 184 cpu3_alert1: c 185 temper 186 hyster 187 type = 188 }; 189 cpu3_crit0: cp 190 temper 191 hyster 192 type = 193 }; 194 }; 195 cooling-maps { 196 map0 { 197 trip = 198 coolin 199 200 201 202 203 204 205 206 }; 207 map1 { 208 trip = 209 coolin 210 211 212 213 214 215 216 217 }; 218 }; 219 }; 220 gpu_thermal: gpu-thermal { 221 thermal-sensors = <&tm 222 trips { 223 gpu_alert0: gp 224 temper 225 hyster 226 type = 227 }; 228 gpu_alert1: gp 229 temper 230 hyster 231 type = 232 }; 233 gpu_crit0: gpu 234 temper 235 hyster 236 type = 237 }; 238 }; 239 cooling-maps { 240 map0 { 241 trip = 242 coolin 243 }; 244 map1 { 245 trip = 246 coolin 247 }; 248 }; 249 }; 250 }; 251 252 }; 253 254 &pwm { 255 /* 256 * PWM 2 -- Blue LED 257 */ 258 pinctrl-0 = <&pwm2_out>; 259 pinctrl-names = "default"; 260 samsung,pwm-outputs = <2>; 261 status = "okay"; 262 }; 263 264 &usbdrd_dwc3_1 { 265 dr_mode = "host"; 266 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.