1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/adc/allwinner,sun8i-a33-ths.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Allwinner A33 Thermal Sensor
8
9maintainers:
10  - Chen-Yu Tsai <wens@csie.org>
11  - Maxime Ripard <mripard@kernel.org>
12
13properties:
14  "#io-channel-cells":
15    const: 0
16
17  "#thermal-sensor-cells":
18    const: 0
19
20  compatible:
21    const: allwinner,sun8i-a33-ths
22
23  reg:
24    maxItems: 1
25
26required:
27  - "#io-channel-cells"
28  - "#thermal-sensor-cells"
29  - compatible
30  - reg
31
32additionalProperties: false
33
34examples:
35  - |
36    ths: ths@1c25000 {
37        compatible = "allwinner,sun8i-a33-ths";
38        reg = <0x01c25000 0x100>;
39        #thermal-sensor-cells = <0>;
40        #io-channel-cells = <0>;
41    };
42
43...
44