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-a100-ths
21 - allwinner,sun50i-h5-ths
22 - allwinner,sun50i-h6-ths
28 - description: Bus Clock
29 - description: Module Clock
49 description: Calibration data for thermal sensors
54 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
55 "#thermal-sensor-cells":
66 - allwinner,sun50i-a100-ths
67 - allwinner,sun50i-h6-ths
89 const: allwinner,sun8i-h3-ths
93 "#thermal-sensor-cells":
98 "#thermal-sensor-cells":
106 - const: allwinner,sun8i-h3-ths
107 - const: allwinner,sun8i-r40-ths
108 - const: allwinner,sun50i-a64-ths
109 - const: allwinner,sun50i-a100-ths
110 - const: allwinner,sun50i-h5-ths
111 - const: allwinner,sun50i-h6-ths
123 - '#thermal-sensor-cells'
125 additionalProperties: false
129 thermal-sensor@1f04000 {
130 compatible = "allwinner,sun8i-a83t-ths";
131 reg = <0x01f04000 0x100>;
132 interrupts = <0 31 0>;
133 nvmem-cells = <&ths_calibration>;
134 nvmem-cell-names = "calibration";
135 #thermal-sensor-cells = <1>;
139 thermal-sensor@1c25000 {
140 compatible = "allwinner,sun8i-h3-ths";
141 reg = <0x01c25000 0x400>;
142 clocks = <&ccu 0>, <&ccu 1>;
143 clock-names = "bus", "mod";
145 interrupts = <0 31 0>;
146 nvmem-cells = <&ths_calibration>;
147 nvmem-cell-names = "calibration";
148 #thermal-sensor-cells = <0>;
152 thermal-sensor@5070400 {
153 compatible = "allwinner,sun50i-h6-ths";
154 reg = <0x05070400 0x100>;
158 interrupts = <0 15 0>;
159 nvmem-cells = <&ths_calibration>;
160 nvmem-cell-names = "calibration";
161 #thermal-sensor-cells = <1>;