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
27 - description: Bus Clock
28 - description: Module Clock
47 description: Calibration data for thermal sensors
52 # See Documentation/devicetree/bindings/thermal/thermal-sensor.yaml for details
53 "#thermal-sensor-cells":
64 - allwinner,sun50i-a100-ths
65 - allwinner,sun50i-h6-ths
87 const: allwinner,sun8i-h3-ths
91 "#thermal-sensor-cells":
96 "#thermal-sensor-cells":
104 - allwinner,sun8i-h3-ths
105 - allwinner,sun8i-r40-ths
106 - allwinner,sun50i-a64-ths
107 - allwinner,sun50i-a100-ths
108 - allwinner,sun50i-h5-ths
109 - allwinner,sun50i-h6-ths
121 - '#thermal-sensor-cells'
123 additionalProperties: false
127 thermal-sensor@1f04000 {
128 compatible = "allwinner,sun8i-a83t-ths";
129 reg = <0x01f04000 0x100>;
130 interrupts = <0 31 0>;
131 nvmem-cells = <&ths_calibration>;
132 nvmem-cell-names = "calibration";
133 #thermal-sensor-cells = <1>;
137 thermal-sensor@1c25000 {
138 compatible = "allwinner,sun8i-h3-ths";
139 reg = <0x01c25000 0x400>;
140 clocks = <&ccu 0>, <&ccu 1>;
141 clock-names = "bus", "mod";
143 interrupts = <0 31 0>;
144 nvmem-cells = <&ths_calibration>;
145 nvmem-cell-names = "calibration";
146 #thermal-sensor-cells = <0>;
150 thermal-sensor@5070400 {
151 compatible = "allwinner,sun50i-h6-ths";
152 reg = <0x05070400 0x100>;
156 interrupts = <0 15 0>;
157 nvmem-cells = <&ths_calibration>;
158 nvmem-cell-names = "calibration";
159 #thermal-sensor-cells = <1>;