1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/thermal/allwinner,sun8i-a83t-ths.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner SUN8I Thermal Controller Device Tree Bindings
10 - Vasily Khoruzhick <anarsoul@gmail.com>
11 - Yangtao Li <tiny.windzz@gmail.com>
16 - allwinner,sun8i-a83t-ths
17 - allwinner,sun8i-h3-ths
18 - allwinner,sun8i-r40-ths
19 - allwinner,sun50i-a64-ths
20 - allwinner,sun50i-h5-ths
21 - allwinner,sun50i-h6-ths
27 - description: Bus Clock
28 - description: Module Clock
48 description: Calibration data for thermal sensors
53 # See ./thermal.txt for details
54 "#thermal-sensor-cells":
64 const: allwinner,sun50i-h6-ths
86 const: allwinner,sun8i-h3-ths
90 "#thermal-sensor-cells":
95 "#thermal-sensor-cells":
103 - const: allwinner,sun8i-h3-ths
104 - const: allwinner,sun8i-r40-ths
105 - const: allwinner,sun50i-a64-ths
106 - const: allwinner,sun50i-h5-ths
107 - const: allwinner,sun50i-h6-ths
119 - '#thermal-sensor-cells'
121 additionalProperties: false
125 thermal-sensor@1f04000 {
126 compatible = "allwinner,sun8i-a83t-ths";
127 reg = <0x01f04000 0x100>;
128 interrupts = <0 31 0>;
129 nvmem-cells = <&ths_calibration>;
130 nvmem-cell-names = "calibration";
131 #thermal-sensor-cells = <1>;
135 thermal-sensor@1c25000 {
136 compatible = "allwinner,sun8i-h3-ths";
137 reg = <0x01c25000 0x400>;
138 clocks = <&ccu 0>, <&ccu 1>;
139 clock-names = "bus", "mod";
141 interrupts = <0 31 0>;
142 nvmem-cells = <&ths_calibration>;
143 nvmem-cell-names = "calibration";
144 #thermal-sensor-cells = <0>;
148 thermal-sensor@5070400 {
149 compatible = "allwinner,sun50i-h6-ths";
150 reg = <0x05070400 0x100>;
154 interrupts = <0 15 0>;
155 nvmem-cells = <&ths_calibration>;
156 nvmem-cell-names = "calibration";
157 #thermal-sensor-cells = <1>;