| .. | .. |
|---|
| 1 | 1 | /* |
|---|
| 2 | 2 | * Device Tree Source for OMAP3 SoC CPU thermal |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ |
|---|
| 4 | + * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This file is licensed under the terms of the GNU General Public License |
|---|
| 7 | 7 | * version 2. This program is licensed "as is" without any warranty of any |
|---|
| .. | .. |
|---|
| 15 | 15 | polling-delay = <1000>; /* milliseconds */ |
|---|
| 16 | 16 | coefficients = <0 20000>; |
|---|
| 17 | 17 | |
|---|
| 18 | | - /* sensor ID */ |
|---|
| 19 | | - thermal-sensors = <&bandgap 0>; |
|---|
| 18 | + thermal-sensors = <&bandgap>; |
|---|
| 19 | + |
|---|
| 20 | + cpu_trips: trips { |
|---|
| 21 | + cpu_alert0: cpu_alert { |
|---|
| 22 | + temperature = <80000>; /* millicelsius */ |
|---|
| 23 | + hysteresis = <2000>; /* millicelsius */ |
|---|
| 24 | + type = "passive"; |
|---|
| 25 | + }; |
|---|
| 26 | + cpu_crit: cpu_crit { |
|---|
| 27 | + temperature = <90000>; /* millicelsius */ |
|---|
| 28 | + hysteresis = <2000>; /* millicelsius */ |
|---|
| 29 | + type = "critical"; |
|---|
| 30 | + }; |
|---|
| 31 | + }; |
|---|
| 32 | + |
|---|
| 33 | + cpu_cooling_maps: cooling-maps { |
|---|
| 34 | + map0 { |
|---|
| 35 | + trip = <&cpu_alert0>; |
|---|
| 36 | + cooling-device = |
|---|
| 37 | + <&cpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; |
|---|
| 38 | + }; |
|---|
| 39 | + }; |
|---|
| 20 | 40 | }; |
|---|