1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (c) 2013 Samsung Electronics Co., Ltd. 6f126890aSEmmanuel Vadot * http://www.samsung.com 7f126890aSEmmanuel Vadot * Copyright (c) 2014 Collabora Ltd. 8f126890aSEmmanuel Vadot * Copyright (c) 2015 Lukasz Majewski <l.majewski@samsung.com> 9f126890aSEmmanuel Vadot * Anand Moon <linux.amoon@gmail.com> 10f126890aSEmmanuel Vadot */ 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 13f126890aSEmmanuel Vadot#include "exynos5422-odroid-core.dtsi" 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot/ { 16f126890aSEmmanuel Vadot aliases { 17f126890aSEmmanuel Vadot mmc0 = &mmc_0; 18f126890aSEmmanuel Vadot }; 19f126890aSEmmanuel Vadot 20f126890aSEmmanuel Vadot gpio-keys { 21f126890aSEmmanuel Vadot compatible = "gpio-keys"; 22f126890aSEmmanuel Vadot pinctrl-names = "default"; 23f126890aSEmmanuel Vadot pinctrl-0 = <&power_key>; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot power-key { 26f126890aSEmmanuel Vadot /* 27f126890aSEmmanuel Vadot * The power button (SW2) is connected to the PWRON 28f126890aSEmmanuel Vadot * pin (active high) of the S2MPS11 PMIC, which acts 29f126890aSEmmanuel Vadot * as a 16ms debouce filter and signal inverter with 30f126890aSEmmanuel Vadot * output on ONOB pin (active low). ONOB PMIC pin is 31f126890aSEmmanuel Vadot * then connected to XEINT3 SoC pin. 32f126890aSEmmanuel Vadot */ 33f126890aSEmmanuel Vadot gpios = <&gpx0 3 GPIO_ACTIVE_LOW>; 34f126890aSEmmanuel Vadot linux,code = <KEY_POWER>; 35f126890aSEmmanuel Vadot label = "power key"; 36f126890aSEmmanuel Vadot debounce-interval = <0>; 37f126890aSEmmanuel Vadot wakeup-source; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot }; 40f126890aSEmmanuel Vadot 41f126890aSEmmanuel Vadot emmc_pwrseq: pwrseq { 42f126890aSEmmanuel Vadot pinctrl-0 = <&emmc_nrst_pin>; 43f126890aSEmmanuel Vadot pinctrl-names = "default"; 44f126890aSEmmanuel Vadot compatible = "mmc-pwrseq-emmc"; 45f126890aSEmmanuel Vadot reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>; 46f126890aSEmmanuel Vadot }; 47f126890aSEmmanuel Vadot 48f126890aSEmmanuel Vadot fan0: pwm-fan { 49f126890aSEmmanuel Vadot compatible = "pwm-fan"; 50f126890aSEmmanuel Vadot pwms = <&pwm 0 20972 0>; 51f126890aSEmmanuel Vadot #cooling-cells = <2>; 52f126890aSEmmanuel Vadot cooling-levels = <0 130 170 230>; 53f126890aSEmmanuel Vadot }; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot thermal-zones { 56f126890aSEmmanuel Vadot cpu0_thermal: cpu0-thermal { 57f126890aSEmmanuel Vadot thermal-sensors = <&tmu_cpu0>; 58*01950c46SEmmanuel Vadot polling-delay-passive = <0>; 59f126890aSEmmanuel Vadot polling-delay = <0>; 60f126890aSEmmanuel Vadot trips { 61f126890aSEmmanuel Vadot cpu0_alert0: cpu-alert-0 { 62f126890aSEmmanuel Vadot temperature = <50000>; /* millicelsius */ 63f126890aSEmmanuel Vadot hysteresis = <5000>; /* millicelsius */ 64f126890aSEmmanuel Vadot type = "active"; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot cpu0_alert1: cpu-alert-1 { 67f126890aSEmmanuel Vadot temperature = <60000>; /* millicelsius */ 68f126890aSEmmanuel Vadot hysteresis = <5000>; /* millicelsius */ 69f126890aSEmmanuel Vadot type = "active"; 70f126890aSEmmanuel Vadot }; 71f126890aSEmmanuel Vadot cpu0_alert2: cpu-alert-2 { 72f126890aSEmmanuel Vadot temperature = <70000>; /* millicelsius */ 73f126890aSEmmanuel Vadot hysteresis = <5000>; /* millicelsius */ 74f126890aSEmmanuel Vadot type = "active"; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot cpu0_crit0: cpu-crit-0 { 77f126890aSEmmanuel Vadot temperature = <120000>; /* millicelsius */ 78f126890aSEmmanuel Vadot hysteresis = <0>; /* millicelsius */ 79f126890aSEmmanuel Vadot type = "critical"; 80f126890aSEmmanuel Vadot }; 81f126890aSEmmanuel Vadot cpu0_alert3: cpu-alert-3 { 82f126890aSEmmanuel Vadot temperature = <70000>; /* millicelsius */ 83f126890aSEmmanuel Vadot hysteresis = <10000>; /* millicelsius */ 84f126890aSEmmanuel Vadot type = "passive"; 85f126890aSEmmanuel Vadot }; 86f126890aSEmmanuel Vadot cpu0_alert4: cpu-alert-4 { 87f126890aSEmmanuel Vadot temperature = <85000>; /* millicelsius */ 88f126890aSEmmanuel Vadot hysteresis = <10000>; /* millicelsius */ 89f126890aSEmmanuel Vadot type = "passive"; 90f126890aSEmmanuel Vadot }; 91f126890aSEmmanuel Vadot }; 92f126890aSEmmanuel Vadot cooling-maps { 93f126890aSEmmanuel Vadot map0 { 94f126890aSEmmanuel Vadot trip = <&cpu0_alert0>; 95f126890aSEmmanuel Vadot cooling-device = <&fan0 0 1>; 96f126890aSEmmanuel Vadot }; 97f126890aSEmmanuel Vadot map1 { 98f126890aSEmmanuel Vadot trip = <&cpu0_alert1>; 99f126890aSEmmanuel Vadot cooling-device = <&fan0 1 2>; 100f126890aSEmmanuel Vadot }; 101f126890aSEmmanuel Vadot map2 { 102f126890aSEmmanuel Vadot trip = <&cpu0_alert2>; 103f126890aSEmmanuel Vadot cooling-device = <&fan0 2 3>; 104f126890aSEmmanuel Vadot }; 105f126890aSEmmanuel Vadot /* 106f126890aSEmmanuel Vadot * When reaching cpu0_alert3, reduce CPU 107f126890aSEmmanuel Vadot * by 2 steps. On Exynos5422/5800 that would 108f126890aSEmmanuel Vadot * (usually) be: 1800 MHz and 1200 MHz. 109f126890aSEmmanuel Vadot */ 110f126890aSEmmanuel Vadot map3 { 111f126890aSEmmanuel Vadot trip = <&cpu0_alert3>; 112f126890aSEmmanuel Vadot cooling-device = <&cpu0 0 2>, 113f126890aSEmmanuel Vadot <&cpu1 0 2>, 114f126890aSEmmanuel Vadot <&cpu2 0 2>, 115f126890aSEmmanuel Vadot <&cpu3 0 2>, 116f126890aSEmmanuel Vadot <&cpu4 0 2>, 117f126890aSEmmanuel Vadot <&cpu5 0 2>, 118f126890aSEmmanuel Vadot <&cpu6 0 2>, 119f126890aSEmmanuel Vadot <&cpu7 0 2>; 120f126890aSEmmanuel Vadot }; 121f126890aSEmmanuel Vadot /* 122f126890aSEmmanuel Vadot * When reaching cpu0_alert4, reduce CPU 123f126890aSEmmanuel Vadot * further, down to 600 MHz (14 steps for big, 124f126890aSEmmanuel Vadot * 8 steps for LITTLE). 125f126890aSEmmanuel Vadot */ 126f126890aSEmmanuel Vadot cpu0_cooling_map4: map4 { 127f126890aSEmmanuel Vadot trip = <&cpu0_alert4>; 128f126890aSEmmanuel Vadot cooling-device = <&cpu0 3 8>, 129f126890aSEmmanuel Vadot <&cpu1 3 8>, 130f126890aSEmmanuel Vadot <&cpu2 3 8>, 131f126890aSEmmanuel Vadot <&cpu3 3 8>, 132f126890aSEmmanuel Vadot <&cpu4 3 14>, 133f126890aSEmmanuel Vadot <&cpu5 3 14>, 134f126890aSEmmanuel Vadot <&cpu6 3 14>, 135f126890aSEmmanuel Vadot <&cpu7 3 14>; 136f126890aSEmmanuel Vadot }; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot }; 139f126890aSEmmanuel Vadot cpu1_thermal: cpu1-thermal { 140f126890aSEmmanuel Vadot thermal-sensors = <&tmu_cpu1>; 141*01950c46SEmmanuel Vadot polling-delay-passive = <0>; 142f126890aSEmmanuel Vadot polling-delay = <0>; 143f126890aSEmmanuel Vadot trips { 144f126890aSEmmanuel Vadot cpu1_alert0: cpu-alert-0 { 145f126890aSEmmanuel Vadot temperature = <50000>; 146f126890aSEmmanuel Vadot hysteresis = <5000>; 147f126890aSEmmanuel Vadot type = "active"; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot cpu1_alert1: cpu-alert-1 { 150f126890aSEmmanuel Vadot temperature = <60000>; 151f126890aSEmmanuel Vadot hysteresis = <5000>; 152f126890aSEmmanuel Vadot type = "active"; 153f126890aSEmmanuel Vadot }; 154f126890aSEmmanuel Vadot cpu1_alert2: cpu-alert-2 { 155f126890aSEmmanuel Vadot temperature = <70000>; 156f126890aSEmmanuel Vadot hysteresis = <5000>; 157f126890aSEmmanuel Vadot type = "active"; 158f126890aSEmmanuel Vadot }; 159f126890aSEmmanuel Vadot cpu1_crit0: cpu-crit-0 { 160f126890aSEmmanuel Vadot temperature = <120000>; 161f126890aSEmmanuel Vadot hysteresis = <0>; 162f126890aSEmmanuel Vadot type = "critical"; 163f126890aSEmmanuel Vadot }; 164f126890aSEmmanuel Vadot cpu1_alert3: cpu-alert-3 { 165f126890aSEmmanuel Vadot temperature = <70000>; 166f126890aSEmmanuel Vadot hysteresis = <10000>; 167f126890aSEmmanuel Vadot type = "passive"; 168f126890aSEmmanuel Vadot }; 169f126890aSEmmanuel Vadot cpu1_alert4: cpu-alert-4 { 170f126890aSEmmanuel Vadot temperature = <85000>; 171f126890aSEmmanuel Vadot hysteresis = <10000>; 172f126890aSEmmanuel Vadot type = "passive"; 173f126890aSEmmanuel Vadot }; 174f126890aSEmmanuel Vadot }; 175f126890aSEmmanuel Vadot cooling-maps { 176f126890aSEmmanuel Vadot map0 { 177f126890aSEmmanuel Vadot trip = <&cpu1_alert0>; 178f126890aSEmmanuel Vadot cooling-device = <&fan0 0 1>; 179f126890aSEmmanuel Vadot }; 180f126890aSEmmanuel Vadot map1 { 181f126890aSEmmanuel Vadot trip = <&cpu1_alert1>; 182f126890aSEmmanuel Vadot cooling-device = <&fan0 1 2>; 183f126890aSEmmanuel Vadot }; 184f126890aSEmmanuel Vadot map2 { 185f126890aSEmmanuel Vadot trip = <&cpu1_alert2>; 186f126890aSEmmanuel Vadot cooling-device = <&fan0 2 3>; 187f126890aSEmmanuel Vadot }; 188f126890aSEmmanuel Vadot map3 { 189f126890aSEmmanuel Vadot trip = <&cpu1_alert3>; 190f126890aSEmmanuel Vadot cooling-device = <&cpu0 0 2>, 191f126890aSEmmanuel Vadot <&cpu1 0 2>, 192f126890aSEmmanuel Vadot <&cpu2 0 2>, 193f126890aSEmmanuel Vadot <&cpu3 0 2>, 194f126890aSEmmanuel Vadot <&cpu4 0 2>, 195f126890aSEmmanuel Vadot <&cpu5 0 2>, 196f126890aSEmmanuel Vadot <&cpu6 0 2>, 197f126890aSEmmanuel Vadot <&cpu7 0 2>; 198f126890aSEmmanuel Vadot }; 199f126890aSEmmanuel Vadot cpu1_cooling_map4: map4 { 200f126890aSEmmanuel Vadot trip = <&cpu1_alert4>; 201f126890aSEmmanuel Vadot cooling-device = <&cpu0 3 8>, 202f126890aSEmmanuel Vadot <&cpu1 3 8>, 203f126890aSEmmanuel Vadot <&cpu2 3 8>, 204f126890aSEmmanuel Vadot <&cpu3 3 8>, 205f126890aSEmmanuel Vadot <&cpu4 3 14>, 206f126890aSEmmanuel Vadot <&cpu5 3 14>, 207f126890aSEmmanuel Vadot <&cpu6 3 14>, 208f126890aSEmmanuel Vadot <&cpu7 3 14>; 209f126890aSEmmanuel Vadot }; 210f126890aSEmmanuel Vadot }; 211f126890aSEmmanuel Vadot }; 212f126890aSEmmanuel Vadot cpu2_thermal: cpu2-thermal { 213f126890aSEmmanuel Vadot thermal-sensors = <&tmu_cpu2>; 214*01950c46SEmmanuel Vadot polling-delay-passive = <0>; 215f126890aSEmmanuel Vadot polling-delay = <0>; 216f126890aSEmmanuel Vadot trips { 217f126890aSEmmanuel Vadot cpu2_alert0: cpu-alert-0 { 218f126890aSEmmanuel Vadot temperature = <50000>; 219f126890aSEmmanuel Vadot hysteresis = <5000>; 220f126890aSEmmanuel Vadot type = "active"; 221f126890aSEmmanuel Vadot }; 222f126890aSEmmanuel Vadot cpu2_alert1: cpu-alert-1 { 223f126890aSEmmanuel Vadot temperature = <60000>; 224f126890aSEmmanuel Vadot hysteresis = <5000>; 225f126890aSEmmanuel Vadot type = "active"; 226f126890aSEmmanuel Vadot }; 227f126890aSEmmanuel Vadot cpu2_alert2: cpu-alert-2 { 228f126890aSEmmanuel Vadot temperature = <70000>; 229f126890aSEmmanuel Vadot hysteresis = <5000>; 230f126890aSEmmanuel Vadot type = "active"; 231f126890aSEmmanuel Vadot }; 232f126890aSEmmanuel Vadot cpu2_crit0: cpu-crit-0 { 233f126890aSEmmanuel Vadot temperature = <120000>; 234f126890aSEmmanuel Vadot hysteresis = <0>; 235f126890aSEmmanuel Vadot type = "critical"; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot cpu2_alert3: cpu-alert-3 { 238f126890aSEmmanuel Vadot temperature = <70000>; 239f126890aSEmmanuel Vadot hysteresis = <10000>; 240f126890aSEmmanuel Vadot type = "passive"; 241f126890aSEmmanuel Vadot }; 242f126890aSEmmanuel Vadot cpu2_alert4: cpu-alert-4 { 243f126890aSEmmanuel Vadot temperature = <85000>; 244f126890aSEmmanuel Vadot hysteresis = <10000>; 245f126890aSEmmanuel Vadot type = "passive"; 246f126890aSEmmanuel Vadot }; 247f126890aSEmmanuel Vadot }; 248f126890aSEmmanuel Vadot cooling-maps { 249f126890aSEmmanuel Vadot map0 { 250f126890aSEmmanuel Vadot trip = <&cpu2_alert0>; 251f126890aSEmmanuel Vadot cooling-device = <&fan0 0 1>; 252f126890aSEmmanuel Vadot }; 253f126890aSEmmanuel Vadot map1 { 254f126890aSEmmanuel Vadot trip = <&cpu2_alert1>; 255f126890aSEmmanuel Vadot cooling-device = <&fan0 1 2>; 256f126890aSEmmanuel Vadot }; 257f126890aSEmmanuel Vadot map2 { 258f126890aSEmmanuel Vadot trip = <&cpu2_alert2>; 259f126890aSEmmanuel Vadot cooling-device = <&fan0 2 3>; 260f126890aSEmmanuel Vadot }; 261f126890aSEmmanuel Vadot map3 { 262f126890aSEmmanuel Vadot trip = <&cpu2_alert3>; 263f126890aSEmmanuel Vadot cooling-device = <&cpu0 0 2>, 264f126890aSEmmanuel Vadot <&cpu1 0 2>, 265f126890aSEmmanuel Vadot <&cpu2 0 2>, 266f126890aSEmmanuel Vadot <&cpu3 0 2>, 267f126890aSEmmanuel Vadot <&cpu4 0 2>, 268f126890aSEmmanuel Vadot <&cpu5 0 2>, 269f126890aSEmmanuel Vadot <&cpu6 0 2>, 270f126890aSEmmanuel Vadot <&cpu7 0 2>; 271f126890aSEmmanuel Vadot }; 272f126890aSEmmanuel Vadot cpu2_cooling_map4: map4 { 273f126890aSEmmanuel Vadot trip = <&cpu2_alert4>; 274f126890aSEmmanuel Vadot cooling-device = <&cpu0 3 8>, 275f126890aSEmmanuel Vadot <&cpu1 3 8>, 276f126890aSEmmanuel Vadot <&cpu2 3 8>, 277f126890aSEmmanuel Vadot <&cpu3 3 8>, 278f126890aSEmmanuel Vadot <&cpu4 3 14>, 279f126890aSEmmanuel Vadot <&cpu5 3 14>, 280f126890aSEmmanuel Vadot <&cpu6 3 14>, 281f126890aSEmmanuel Vadot <&cpu7 3 14>; 282f126890aSEmmanuel Vadot }; 283f126890aSEmmanuel Vadot }; 284f126890aSEmmanuel Vadot }; 285f126890aSEmmanuel Vadot cpu3_thermal: cpu3-thermal { 286f126890aSEmmanuel Vadot thermal-sensors = <&tmu_cpu3>; 287*01950c46SEmmanuel Vadot polling-delay-passive = <0>; 288f126890aSEmmanuel Vadot polling-delay = <0>; 289f126890aSEmmanuel Vadot trips { 290f126890aSEmmanuel Vadot cpu3_alert0: cpu-alert-0 { 291f126890aSEmmanuel Vadot temperature = <50000>; 292f126890aSEmmanuel Vadot hysteresis = <5000>; 293f126890aSEmmanuel Vadot type = "active"; 294f126890aSEmmanuel Vadot }; 295f126890aSEmmanuel Vadot cpu3_alert1: cpu-alert-1 { 296f126890aSEmmanuel Vadot temperature = <60000>; 297f126890aSEmmanuel Vadot hysteresis = <5000>; 298f126890aSEmmanuel Vadot type = "active"; 299f126890aSEmmanuel Vadot }; 300f126890aSEmmanuel Vadot cpu3_alert2: cpu-alert-2 { 301f126890aSEmmanuel Vadot temperature = <70000>; 302f126890aSEmmanuel Vadot hysteresis = <5000>; 303f126890aSEmmanuel Vadot type = "active"; 304f126890aSEmmanuel Vadot }; 305f126890aSEmmanuel Vadot cpu3_crit0: cpu-crit-0 { 306f126890aSEmmanuel Vadot temperature = <120000>; 307f126890aSEmmanuel Vadot hysteresis = <0>; 308f126890aSEmmanuel Vadot type = "critical"; 309f126890aSEmmanuel Vadot }; 310f126890aSEmmanuel Vadot cpu3_alert3: cpu-alert-3 { 311f126890aSEmmanuel Vadot temperature = <70000>; 312f126890aSEmmanuel Vadot hysteresis = <10000>; 313f126890aSEmmanuel Vadot type = "passive"; 314f126890aSEmmanuel Vadot }; 315f126890aSEmmanuel Vadot cpu3_alert4: cpu-alert-4 { 316f126890aSEmmanuel Vadot temperature = <85000>; 317f126890aSEmmanuel Vadot hysteresis = <10000>; 318f126890aSEmmanuel Vadot type = "passive"; 319f126890aSEmmanuel Vadot }; 320f126890aSEmmanuel Vadot }; 321f126890aSEmmanuel Vadot cooling-maps { 322f126890aSEmmanuel Vadot map0 { 323f126890aSEmmanuel Vadot trip = <&cpu3_alert0>; 324f126890aSEmmanuel Vadot cooling-device = <&fan0 0 1>; 325f126890aSEmmanuel Vadot }; 326f126890aSEmmanuel Vadot map1 { 327f126890aSEmmanuel Vadot trip = <&cpu3_alert1>; 328f126890aSEmmanuel Vadot cooling-device = <&fan0 1 2>; 329f126890aSEmmanuel Vadot }; 330f126890aSEmmanuel Vadot map2 { 331f126890aSEmmanuel Vadot trip = <&cpu3_alert2>; 332f126890aSEmmanuel Vadot cooling-device = <&fan0 2 3>; 333f126890aSEmmanuel Vadot }; 334f126890aSEmmanuel Vadot map3 { 335f126890aSEmmanuel Vadot trip = <&cpu3_alert3>; 336f126890aSEmmanuel Vadot cooling-device = <&cpu0 0 2>, 337f126890aSEmmanuel Vadot <&cpu1 0 2>, 338f126890aSEmmanuel Vadot <&cpu2 0 2>, 339f126890aSEmmanuel Vadot <&cpu3 0 2>, 340f126890aSEmmanuel Vadot <&cpu4 0 2>, 341f126890aSEmmanuel Vadot <&cpu5 0 2>, 342f126890aSEmmanuel Vadot <&cpu6 0 2>, 343f126890aSEmmanuel Vadot <&cpu7 0 2>; 344f126890aSEmmanuel Vadot }; 345f126890aSEmmanuel Vadot cpu3_cooling_map4: map4 { 346f126890aSEmmanuel Vadot trip = <&cpu3_alert4>; 347f126890aSEmmanuel Vadot cooling-device = <&cpu0 3 8>, 348f126890aSEmmanuel Vadot <&cpu1 3 8>, 349f126890aSEmmanuel Vadot <&cpu2 3 8>, 350f126890aSEmmanuel Vadot <&cpu3 3 8>, 351f126890aSEmmanuel Vadot <&cpu4 3 14>, 352f126890aSEmmanuel Vadot <&cpu5 3 14>, 353f126890aSEmmanuel Vadot <&cpu6 3 14>, 354f126890aSEmmanuel Vadot <&cpu7 3 14>; 355f126890aSEmmanuel Vadot }; 356f126890aSEmmanuel Vadot }; 357f126890aSEmmanuel Vadot }; 358f126890aSEmmanuel Vadot gpu_thermal: gpu-thermal { 359f126890aSEmmanuel Vadot thermal-sensors = <&tmu_gpu>; 360*01950c46SEmmanuel Vadot polling-delay-passive = <0>; 361f126890aSEmmanuel Vadot polling-delay = <0>; 362f126890aSEmmanuel Vadot trips { 363f126890aSEmmanuel Vadot gpu_alert0: gpu-alert-0 { 364f126890aSEmmanuel Vadot temperature = <50000>; 365f126890aSEmmanuel Vadot hysteresis = <5000>; 366f126890aSEmmanuel Vadot type = "active"; 367f126890aSEmmanuel Vadot }; 368f126890aSEmmanuel Vadot gpu_alert1: gpu-alert-1 { 369f126890aSEmmanuel Vadot temperature = <60000>; 370f126890aSEmmanuel Vadot hysteresis = <5000>; 371f126890aSEmmanuel Vadot type = "active"; 372f126890aSEmmanuel Vadot }; 373f126890aSEmmanuel Vadot gpu_alert2: gpu-alert-2 { 374f126890aSEmmanuel Vadot temperature = <70000>; 375f126890aSEmmanuel Vadot hysteresis = <5000>; 376f126890aSEmmanuel Vadot type = "active"; 377f126890aSEmmanuel Vadot }; 378f126890aSEmmanuel Vadot gpu_crit0: gpu-crit-0 { 379f126890aSEmmanuel Vadot temperature = <120000>; 380f126890aSEmmanuel Vadot hysteresis = <0>; 381f126890aSEmmanuel Vadot type = "critical"; 382f126890aSEmmanuel Vadot }; 383f126890aSEmmanuel Vadot gpu_alert3: gpu-alert-3 { 384f126890aSEmmanuel Vadot temperature = <70000>; 385f126890aSEmmanuel Vadot hysteresis = <10000>; 386f126890aSEmmanuel Vadot type = "passive"; 387f126890aSEmmanuel Vadot }; 388f126890aSEmmanuel Vadot gpu_alert4: gpu-alert-4 { 389f126890aSEmmanuel Vadot temperature = <85000>; 390f126890aSEmmanuel Vadot hysteresis = <10000>; 391f126890aSEmmanuel Vadot type = "passive"; 392f126890aSEmmanuel Vadot }; 393f126890aSEmmanuel Vadot }; 394f126890aSEmmanuel Vadot cooling-maps { 395f126890aSEmmanuel Vadot map0 { 396f126890aSEmmanuel Vadot trip = <&gpu_alert0>; 397f126890aSEmmanuel Vadot cooling-device = <&fan0 0 1>; 398f126890aSEmmanuel Vadot }; 399f126890aSEmmanuel Vadot map1 { 400f126890aSEmmanuel Vadot trip = <&gpu_alert1>; 401f126890aSEmmanuel Vadot cooling-device = <&fan0 1 2>; 402f126890aSEmmanuel Vadot }; 403f126890aSEmmanuel Vadot map2 { 404f126890aSEmmanuel Vadot trip = <&gpu_alert2>; 405f126890aSEmmanuel Vadot cooling-device = <&fan0 2 3>; 406f126890aSEmmanuel Vadot }; 407f126890aSEmmanuel Vadot map3 { 408f126890aSEmmanuel Vadot trip = <&gpu_alert3>; 409f126890aSEmmanuel Vadot cooling-device = <&gpu 0 2>; 410f126890aSEmmanuel Vadot }; 411f126890aSEmmanuel Vadot map4 { 412f126890aSEmmanuel Vadot trip = <&gpu_alert4>; 413f126890aSEmmanuel Vadot cooling-device = <&gpu 3 6>; 414f126890aSEmmanuel Vadot }; 415f126890aSEmmanuel Vadot }; 416f126890aSEmmanuel Vadot }; 417f126890aSEmmanuel Vadot }; 418f126890aSEmmanuel Vadot}; 419f126890aSEmmanuel Vadot 420f126890aSEmmanuel Vadot&buck10_reg { 421f126890aSEmmanuel Vadot /* Supplies vmmc-supply of mmc_0 */ 422f126890aSEmmanuel Vadot regulator-always-on; 423f126890aSEmmanuel Vadot regulator-boot-on; 424f126890aSEmmanuel Vadot}; 425f126890aSEmmanuel Vadot 426f126890aSEmmanuel Vadot&hdmi { 427f126890aSEmmanuel Vadot status = "okay"; 428f126890aSEmmanuel Vadot ddc = <&i2c_2>; 429f126890aSEmmanuel Vadot hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; 430f126890aSEmmanuel Vadot pinctrl-names = "default"; 431f126890aSEmmanuel Vadot pinctrl-0 = <&hdmi_hpd_irq>; 432f126890aSEmmanuel Vadot 433f126890aSEmmanuel Vadot vdd_osc-supply = <&ldo7_reg>; 434f126890aSEmmanuel Vadot vdd_pll-supply = <&ldo6_reg>; 435f126890aSEmmanuel Vadot vdd-supply = <&ldo6_reg>; 436f126890aSEmmanuel Vadot}; 437f126890aSEmmanuel Vadot 438f126890aSEmmanuel Vadot&hdmicec { 439f126890aSEmmanuel Vadot status = "okay"; 440f126890aSEmmanuel Vadot needs-hpd; 441f126890aSEmmanuel Vadot}; 442f126890aSEmmanuel Vadot 443f126890aSEmmanuel Vadot&i2c_2 { 444f126890aSEmmanuel Vadot samsung,i2c-sda-delay = <100>; 445f126890aSEmmanuel Vadot samsung,i2c-max-bus-freq = <66000>; 446f126890aSEmmanuel Vadot /* used by HDMI DDC */ 447f126890aSEmmanuel Vadot status = "okay"; 448f126890aSEmmanuel Vadot}; 449f126890aSEmmanuel Vadot 450f126890aSEmmanuel Vadot&ldo26_reg { 451f126890aSEmmanuel Vadot regulator-min-microvolt = <3000000>; 452f126890aSEmmanuel Vadot regulator-max-microvolt = <3000000>; 453f126890aSEmmanuel Vadot regulator-always-on; 454f126890aSEmmanuel Vadot}; 455f126890aSEmmanuel Vadot 456f126890aSEmmanuel Vadot&mixer { 457f126890aSEmmanuel Vadot status = "okay"; 458f126890aSEmmanuel Vadot}; 459f126890aSEmmanuel Vadot 460f126890aSEmmanuel Vadot&mmc_0 { 461f126890aSEmmanuel Vadot status = "okay"; 462f126890aSEmmanuel Vadot mmc-pwrseq = <&emmc_pwrseq>; 463f126890aSEmmanuel Vadot card-detect-delay = <200>; 464f126890aSEmmanuel Vadot samsung,dw-mshc-ciu-div = <3>; 465f126890aSEmmanuel Vadot samsung,dw-mshc-sdr-timing = <0 4>; 466f126890aSEmmanuel Vadot samsung,dw-mshc-ddr-timing = <0 2>; 467f126890aSEmmanuel Vadot samsung,dw-mshc-hs400-timing = <0 2>; 468f126890aSEmmanuel Vadot samsung,read-strobe-delay = <90>; 469f126890aSEmmanuel Vadot pinctrl-names = "default"; 470f126890aSEmmanuel Vadot pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>; 471f126890aSEmmanuel Vadot bus-width = <8>; 472f126890aSEmmanuel Vadot cap-mmc-highspeed; 473f126890aSEmmanuel Vadot mmc-ddr-1_8v; 474f126890aSEmmanuel Vadot mmc-hs200-1_8v; 475f126890aSEmmanuel Vadot mmc-hs400-1_8v; 476f126890aSEmmanuel Vadot max-frequency = <200000000>; 477f126890aSEmmanuel Vadot vmmc-supply = <&ldo18_reg>; 478f126890aSEmmanuel Vadot vqmmc-supply = <&ldo3_reg>; 479f126890aSEmmanuel Vadot}; 480f126890aSEmmanuel Vadot 481f126890aSEmmanuel Vadot&pinctrl_0 { 482f126890aSEmmanuel Vadot power_key: power-key-pins { 483f126890aSEmmanuel Vadot samsung,pins = "gpx0-3"; 484f126890aSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 485f126890aSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 486f126890aSEmmanuel Vadot samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 487f126890aSEmmanuel Vadot }; 488f126890aSEmmanuel Vadot 489f126890aSEmmanuel Vadot hdmi_hpd_irq: hdmi-hpd-irq-pins { 490f126890aSEmmanuel Vadot samsung,pins = "gpx3-7"; 491f126890aSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 492f126890aSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 493f126890aSEmmanuel Vadot samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 494f126890aSEmmanuel Vadot }; 495f126890aSEmmanuel Vadot}; 496f126890aSEmmanuel Vadot 497f126890aSEmmanuel Vadot&pinctrl_1 { 498f126890aSEmmanuel Vadot emmc_nrst_pin: emmc-nrst-pins { 499f126890aSEmmanuel Vadot samsung,pins = "gpd1-0"; 500f126890aSEmmanuel Vadot samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 501f126890aSEmmanuel Vadot samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 502f126890aSEmmanuel Vadot samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; 503f126890aSEmmanuel Vadot }; 504f126890aSEmmanuel Vadot}; 505