145fef752SKrzysztof Kozlowski// SPDX-License-Identifier: GPL-2.0 25f04c4cfSChanwoo Choi/* 35f04c4cfSChanwoo Choi * Device tree sources for Exynos5433 thermal zone 45f04c4cfSChanwoo Choi * 55f04c4cfSChanwoo Choi * Copyright (c) 2016 Chanwoo Choi <cw00.choi@samsung.com> 65f04c4cfSChanwoo Choi */ 75f04c4cfSChanwoo Choi 85f04c4cfSChanwoo Choi#include <dt-bindings/thermal/thermal.h> 95f04c4cfSChanwoo Choi 105f04c4cfSChanwoo Choi/ { 115f04c4cfSChanwoo Choithermal-zones { 125f04c4cfSChanwoo Choi atlas0_thermal: atlas0-thermal { 135f04c4cfSChanwoo Choi thermal-sensors = <&tmu_atlas0>; 145f04c4cfSChanwoo Choi polling-delay-passive = <0>; 155f04c4cfSChanwoo Choi polling-delay = <0>; 165f04c4cfSChanwoo Choi trips { 175f04c4cfSChanwoo Choi atlas0_alert_0: atlas0-alert-0 { 185f04c4cfSChanwoo Choi temperature = <65000>; /* millicelsius */ 195f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 205f04c4cfSChanwoo Choi type = "active"; 215f04c4cfSChanwoo Choi }; 225f04c4cfSChanwoo Choi atlas0_alert_1: atlas0-alert-1 { 235f04c4cfSChanwoo Choi temperature = <70000>; /* millicelsius */ 245f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 255f04c4cfSChanwoo Choi type = "active"; 265f04c4cfSChanwoo Choi }; 275f04c4cfSChanwoo Choi atlas0_alert_2: atlas0-alert-2 { 285f04c4cfSChanwoo Choi temperature = <75000>; /* millicelsius */ 295f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 305f04c4cfSChanwoo Choi type = "active"; 315f04c4cfSChanwoo Choi }; 325f04c4cfSChanwoo Choi atlas0_alert_3: atlas0-alert-3 { 335f04c4cfSChanwoo Choi temperature = <80000>; /* millicelsius */ 345f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 355f04c4cfSChanwoo Choi type = "active"; 365f04c4cfSChanwoo Choi }; 375f04c4cfSChanwoo Choi atlas0_alert_4: atlas0-alert-4 { 385f04c4cfSChanwoo Choi temperature = <85000>; /* millicelsius */ 395f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 405f04c4cfSChanwoo Choi type = "active"; 415f04c4cfSChanwoo Choi }; 425f04c4cfSChanwoo Choi atlas0_alert_5: atlas0-alert-5 { 435f04c4cfSChanwoo Choi temperature = <90000>; /* millicelsius */ 445f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 455f04c4cfSChanwoo Choi type = "active"; 465f04c4cfSChanwoo Choi }; 475f04c4cfSChanwoo Choi atlas0_alert_6: atlas0-alert-6 { 485f04c4cfSChanwoo Choi temperature = <95000>; /* millicelsius */ 495f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 505f04c4cfSChanwoo Choi type = "active"; 515f04c4cfSChanwoo Choi }; 525f04c4cfSChanwoo Choi }; 535f04c4cfSChanwoo Choi 545f04c4cfSChanwoo Choi cooling-maps { 555f04c4cfSChanwoo Choi map0 { 565f04c4cfSChanwoo Choi /* Set maximum frequency as 1800MHz */ 575f04c4cfSChanwoo Choi trip = <&atlas0_alert_0>; 58*9deffb5eSViresh Kumar cooling-device = <&cpu4 1 2>, <&cpu5 1 2>, 59*9deffb5eSViresh Kumar <&cpu6 1 2>, <&cpu7 1 2>; 605f04c4cfSChanwoo Choi }; 615f04c4cfSChanwoo Choi map1 { 625f04c4cfSChanwoo Choi /* Set maximum frequency as 1700MHz */ 635f04c4cfSChanwoo Choi trip = <&atlas0_alert_1>; 64*9deffb5eSViresh Kumar cooling-device = <&cpu4 2 3>, <&cpu5 2 3>, 65*9deffb5eSViresh Kumar <&cpu6 2 3>, <&cpu7 2 3>; 665f04c4cfSChanwoo Choi }; 675f04c4cfSChanwoo Choi map2 { 685f04c4cfSChanwoo Choi /* Set maximum frequency as 1600MHz */ 695f04c4cfSChanwoo Choi trip = <&atlas0_alert_2>; 70*9deffb5eSViresh Kumar cooling-device = <&cpu4 3 4>, <&cpu5 3 4>, 71*9deffb5eSViresh Kumar <&cpu6 3 4>, <&cpu7 3 4>; 725f04c4cfSChanwoo Choi }; 735f04c4cfSChanwoo Choi map3 { 745f04c4cfSChanwoo Choi /* Set maximum frequency as 1500MHz */ 755f04c4cfSChanwoo Choi trip = <&atlas0_alert_3>; 76*9deffb5eSViresh Kumar cooling-device = <&cpu4 4 5>, <&cpu5 4 5>, 77*9deffb5eSViresh Kumar <&cpu6 4 5>, <&cpu7 4 5>; 785f04c4cfSChanwoo Choi }; 795f04c4cfSChanwoo Choi map4 { 805f04c4cfSChanwoo Choi /* Set maximum frequency as 1400MHz */ 815f04c4cfSChanwoo Choi trip = <&atlas0_alert_4>; 82*9deffb5eSViresh Kumar cooling-device = <&cpu4 5 7>, <&cpu5 5 7>, 83*9deffb5eSViresh Kumar <&cpu6 5 7>, <&cpu7 5 7>; 845f04c4cfSChanwoo Choi }; 855f04c4cfSChanwoo Choi map5 { 865f04c4cfSChanwoo Choi /* Set maximum frequencyas 1200MHz */ 875f04c4cfSChanwoo Choi trip = <&atlas0_alert_5>; 88*9deffb5eSViresh Kumar cooling-device = <&cpu4 7 9>, <&cpu5 7 9>, 89*9deffb5eSViresh Kumar <&cpu6 7 9>, <&cpu7 7 9>; 905f04c4cfSChanwoo Choi }; 915f04c4cfSChanwoo Choi map6 { 925f04c4cfSChanwoo Choi /* Set maximum frequency as 1000MHz */ 935f04c4cfSChanwoo Choi trip = <&atlas0_alert_6>; 94*9deffb5eSViresh Kumar cooling-device = <&cpu4 9 14>, <&cpu5 9 14>, 95*9deffb5eSViresh Kumar <&cpu6 9 14>, <&cpu7 9 14>; 965f04c4cfSChanwoo Choi }; 975f04c4cfSChanwoo Choi }; 985f04c4cfSChanwoo Choi }; 995f04c4cfSChanwoo Choi 1005f04c4cfSChanwoo Choi atlas1_thermal: atlas1-thermal { 1015f04c4cfSChanwoo Choi thermal-sensors = <&tmu_atlas1>; 1025f04c4cfSChanwoo Choi polling-delay-passive = <0>; 1035f04c4cfSChanwoo Choi polling-delay = <0>; 1045f04c4cfSChanwoo Choi trips { 1055f04c4cfSChanwoo Choi atlas1_alert_0: atlas1-alert-0 { 1065f04c4cfSChanwoo Choi temperature = <65000>; /* millicelsius */ 1075f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1085f04c4cfSChanwoo Choi type = "active"; 1095f04c4cfSChanwoo Choi }; 1105f04c4cfSChanwoo Choi atlas1_alert_1: atlas1-alert-1 { 1115f04c4cfSChanwoo Choi temperature = <70000>; /* millicelsius */ 1125f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1135f04c4cfSChanwoo Choi type = "active"; 1145f04c4cfSChanwoo Choi }; 1155f04c4cfSChanwoo Choi atlas1_alert_2: atlas1-alert-2 { 1165f04c4cfSChanwoo Choi temperature = <75000>; /* millicelsius */ 1175f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1185f04c4cfSChanwoo Choi type = "active"; 1195f04c4cfSChanwoo Choi }; 1205f04c4cfSChanwoo Choi atlas1_alert_3: atlas1-alert-3 { 1215f04c4cfSChanwoo Choi temperature = <80000>; /* millicelsius */ 1225f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1235f04c4cfSChanwoo Choi type = "active"; 1245f04c4cfSChanwoo Choi }; 1255f04c4cfSChanwoo Choi atlas1_alert_4: atlas1-alert-4 { 1265f04c4cfSChanwoo Choi temperature = <85000>; /* millicelsius */ 1275f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1285f04c4cfSChanwoo Choi type = "active"; 1295f04c4cfSChanwoo Choi }; 1305f04c4cfSChanwoo Choi atlas1_alert_5: atlas1-alert-5 { 1315f04c4cfSChanwoo Choi temperature = <90000>; /* millicelsius */ 1325f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1335f04c4cfSChanwoo Choi type = "active"; 1345f04c4cfSChanwoo Choi }; 1355f04c4cfSChanwoo Choi atlas1_alert_6: atlas1-alert-6 { 1365f04c4cfSChanwoo Choi temperature = <95000>; /* millicelsius */ 1375f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1385f04c4cfSChanwoo Choi type = "active"; 1395f04c4cfSChanwoo Choi }; 1405f04c4cfSChanwoo Choi }; 1415f04c4cfSChanwoo Choi }; 1425f04c4cfSChanwoo Choi 1435f04c4cfSChanwoo Choi g3d_thermal: g3d-thermal { 1445f04c4cfSChanwoo Choi thermal-sensors = <&tmu_g3d>; 1455f04c4cfSChanwoo Choi polling-delay-passive = <0>; 1465f04c4cfSChanwoo Choi polling-delay = <0>; 1475f04c4cfSChanwoo Choi trips { 1485f04c4cfSChanwoo Choi g3d_alert_0: g3d-alert-0 { 1495f04c4cfSChanwoo Choi temperature = <70000>; /* millicelsius */ 1505f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1515f04c4cfSChanwoo Choi type = "active"; 1525f04c4cfSChanwoo Choi }; 1535f04c4cfSChanwoo Choi g3d_alert_1: g3d-alert-1 { 1545f04c4cfSChanwoo Choi temperature = <75000>; /* millicelsius */ 1555f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1565f04c4cfSChanwoo Choi type = "active"; 1575f04c4cfSChanwoo Choi }; 1585f04c4cfSChanwoo Choi g3d_alert_2: g3d-alert-2 { 1595f04c4cfSChanwoo Choi temperature = <80000>; /* millicelsius */ 1605f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1615f04c4cfSChanwoo Choi type = "active"; 1625f04c4cfSChanwoo Choi }; 1635f04c4cfSChanwoo Choi g3d_alert_3: g3d-alert-3 { 1645f04c4cfSChanwoo Choi temperature = <85000>; /* millicelsius */ 1655f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1665f04c4cfSChanwoo Choi type = "active"; 1675f04c4cfSChanwoo Choi }; 1685f04c4cfSChanwoo Choi g3d_alert_4: g3d-alert-4 { 1695f04c4cfSChanwoo Choi temperature = <90000>; /* millicelsius */ 1705f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1715f04c4cfSChanwoo Choi type = "active"; 1725f04c4cfSChanwoo Choi }; 1735f04c4cfSChanwoo Choi g3d_alert_5: g3d-alert-5 { 1745f04c4cfSChanwoo Choi temperature = <95000>; /* millicelsius */ 1755f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1765f04c4cfSChanwoo Choi type = "active"; 1775f04c4cfSChanwoo Choi }; 1785f04c4cfSChanwoo Choi g3d_alert_6: g3d-alert-6 { 1795f04c4cfSChanwoo Choi temperature = <100000>; /* millicelsius */ 1805f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1815f04c4cfSChanwoo Choi type = "active"; 1825f04c4cfSChanwoo Choi }; 1835f04c4cfSChanwoo Choi }; 1845f04c4cfSChanwoo Choi }; 1855f04c4cfSChanwoo Choi 1865f04c4cfSChanwoo Choi apollo_thermal: apollo-thermal { 1875f04c4cfSChanwoo Choi thermal-sensors = <&tmu_apollo>; 1885f04c4cfSChanwoo Choi polling-delay-passive = <0>; 1895f04c4cfSChanwoo Choi polling-delay = <0>; 1905f04c4cfSChanwoo Choi trips { 1915f04c4cfSChanwoo Choi apollo_alert_0: apollo-alert-0 { 1925f04c4cfSChanwoo Choi temperature = <65000>; /* millicelsius */ 1935f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1945f04c4cfSChanwoo Choi type = "active"; 1955f04c4cfSChanwoo Choi }; 1965f04c4cfSChanwoo Choi apollo_alert_1: apollo-alert-1 { 1975f04c4cfSChanwoo Choi temperature = <70000>; /* millicelsius */ 1985f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 1995f04c4cfSChanwoo Choi type = "active"; 2005f04c4cfSChanwoo Choi }; 2015f04c4cfSChanwoo Choi apollo_alert_2: apollo-alert-2 { 2025f04c4cfSChanwoo Choi temperature = <75000>; /* millicelsius */ 2035f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2045f04c4cfSChanwoo Choi type = "active"; 2055f04c4cfSChanwoo Choi }; 2065f04c4cfSChanwoo Choi apollo_alert_3: apollo-alert-3 { 2075f04c4cfSChanwoo Choi temperature = <80000>; /* millicelsius */ 2085f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2095f04c4cfSChanwoo Choi type = "active"; 2105f04c4cfSChanwoo Choi }; 2115f04c4cfSChanwoo Choi apollo_alert_4: apollo-alert-4 { 2125f04c4cfSChanwoo Choi temperature = <85000>; /* millicelsius */ 2135f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2145f04c4cfSChanwoo Choi type = "active"; 2155f04c4cfSChanwoo Choi }; 2165f04c4cfSChanwoo Choi apollo_alert_5: apollo-alert-5 { 2175f04c4cfSChanwoo Choi temperature = <90000>; /* millicelsius */ 2185f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2195f04c4cfSChanwoo Choi type = "active"; 2205f04c4cfSChanwoo Choi }; 2215f04c4cfSChanwoo Choi apollo_alert_6: apollo-alert-6 { 2225f04c4cfSChanwoo Choi temperature = <95000>; /* millicelsius */ 2235f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2245f04c4cfSChanwoo Choi type = "active"; 2255f04c4cfSChanwoo Choi }; 2265f04c4cfSChanwoo Choi }; 2275f04c4cfSChanwoo Choi 2285f04c4cfSChanwoo Choi cooling-maps { 2295f04c4cfSChanwoo Choi map0 { 2305f04c4cfSChanwoo Choi /* Set maximum frequency as 1200MHz */ 2315f04c4cfSChanwoo Choi trip = <&apollo_alert_2>; 232*9deffb5eSViresh Kumar cooling-device = <&cpu0 1 2>, <&cpu1 1 2>, 233*9deffb5eSViresh Kumar <&cpu2 1 2>, <&cpu3 1 2>; 2345f04c4cfSChanwoo Choi }; 2355f04c4cfSChanwoo Choi map1 { 2365f04c4cfSChanwoo Choi /* Set maximum frequency as 1100MHz */ 2375f04c4cfSChanwoo Choi trip = <&apollo_alert_3>; 238*9deffb5eSViresh Kumar cooling-device = <&cpu0 2 3>, <&cpu1 2 3>, 239*9deffb5eSViresh Kumar <&cpu2 2 3>, <&cpu3 2 3>; 2405f04c4cfSChanwoo Choi }; 2415f04c4cfSChanwoo Choi map2 { 2425f04c4cfSChanwoo Choi /* Set maximum frequency as 1000MHz */ 2435f04c4cfSChanwoo Choi trip = <&apollo_alert_4>; 244*9deffb5eSViresh Kumar cooling-device = <&cpu0 3 4>, <&cpu1 3 4>, 245*9deffb5eSViresh Kumar <&cpu2 3 4>, <&cpu3 3 4>; 2465f04c4cfSChanwoo Choi }; 2475f04c4cfSChanwoo Choi map3 { 2485f04c4cfSChanwoo Choi /* Set maximum frequency as 900MHz */ 2495f04c4cfSChanwoo Choi trip = <&apollo_alert_5>; 250*9deffb5eSViresh Kumar cooling-device = <&cpu0 4 5>, <&cpu1 4 5>, 251*9deffb5eSViresh Kumar <&cpu2 4 5>, <&cpu3 4 5>; 2525f04c4cfSChanwoo Choi }; 2535f04c4cfSChanwoo Choi map4 { 2545f04c4cfSChanwoo Choi /* Set maximum frequency as 800MHz */ 2555f04c4cfSChanwoo Choi trip = <&apollo_alert_6>; 256*9deffb5eSViresh Kumar cooling-device = <&cpu0 5 9>, <&cpu1 5 9>, 257*9deffb5eSViresh Kumar <&cpu2 5 9>, <&cpu3 5 9>; 2585f04c4cfSChanwoo Choi }; 2595f04c4cfSChanwoo Choi }; 2605f04c4cfSChanwoo Choi }; 2615f04c4cfSChanwoo Choi 2625f04c4cfSChanwoo Choi isp_thermal: isp-thermal { 2635f04c4cfSChanwoo Choi thermal-sensors = <&tmu_isp>; 2645f04c4cfSChanwoo Choi polling-delay-passive = <0>; 2655f04c4cfSChanwoo Choi polling-delay = <0>; 2665f04c4cfSChanwoo Choi trips { 2675f04c4cfSChanwoo Choi isp_alert_0: isp-alert-0 { 2685f04c4cfSChanwoo Choi temperature = <80000>; /* millicelsius */ 2695f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2705f04c4cfSChanwoo Choi type = "active"; 2715f04c4cfSChanwoo Choi }; 2725f04c4cfSChanwoo Choi isp_alert_1: isp-alert-1 { 2735f04c4cfSChanwoo Choi temperature = <85000>; /* millicelsius */ 2745f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2755f04c4cfSChanwoo Choi type = "active"; 2765f04c4cfSChanwoo Choi }; 2775f04c4cfSChanwoo Choi isp_alert_2: isp-alert-2 { 2785f04c4cfSChanwoo Choi temperature = <90000>; /* millicelsius */ 2795f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2805f04c4cfSChanwoo Choi type = "active"; 2815f04c4cfSChanwoo Choi }; 2825f04c4cfSChanwoo Choi isp_alert_3: isp-alert-3 { 2835f04c4cfSChanwoo Choi temperature = <95000>; /* millicelsius */ 2845f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2855f04c4cfSChanwoo Choi type = "active"; 2865f04c4cfSChanwoo Choi }; 2875f04c4cfSChanwoo Choi isp_alert_4: isp-alert-4 { 2885f04c4cfSChanwoo Choi temperature = <100000>; /* millicelsius */ 2895f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2905f04c4cfSChanwoo Choi type = "active"; 2915f04c4cfSChanwoo Choi }; 2925f04c4cfSChanwoo Choi isp_alert_5: isp-alert-5 { 2935f04c4cfSChanwoo Choi temperature = <105000>; /* millicelsius */ 2945f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 2955f04c4cfSChanwoo Choi type = "active"; 2965f04c4cfSChanwoo Choi }; 2975f04c4cfSChanwoo Choi isp_alert_6: isp-alert-6 { 2985f04c4cfSChanwoo Choi temperature = <110000>; /* millicelsius */ 2995f04c4cfSChanwoo Choi hysteresis = <1000>; /* millicelsius */ 3005f04c4cfSChanwoo Choi type = "active"; 3015f04c4cfSChanwoo Choi }; 3025f04c4cfSChanwoo Choi }; 3035f04c4cfSChanwoo Choi }; 3045f04c4cfSChanwoo Choi}; 3055f04c4cfSChanwoo Choi}; 306