1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/thermal/rockchip-thermal.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Temperature Sensor ADC (TSADC) on Rockchip SoCs
10 - Heiko Stuebner <heiko@sntech.de>
16 - rockchip,rk3228-tsadc
17 - rockchip,rk3288-tsadc
18 - rockchip,rk3328-tsadc
19 - rockchip,rk3368-tsadc
20 - rockchip,rk3399-tsadc
21 - rockchip,rk3568-tsadc
22 - rockchip,rv1108-tsadc
50 "#thermal-sensor-cells":
54 description: The phandle of the syscon node for the general register file.
55 $ref: /schemas/types.yaml#/definitions/phandle
57 rockchip,hw-tshut-temp:
58 description: The hardware-controlled shutdown temperature value.
59 $ref: /schemas/types.yaml#/definitions/uint32
61 rockchip,hw-tshut-mode:
62 description: The hardware-controlled shutdown mode 0:CRU 1:GPIO.
63 $ref: /schemas/types.yaml#/definitions/uint32
66 rockchip,hw-tshut-polarity:
67 description: The hardware-controlled active polarity 0:LOW 1:HIGH.
68 $ref: /schemas/types.yaml#/definitions/uint32
78 - "#thermal-sensor-cells"
80 additionalProperties: false
84 #include <dt-bindings/interrupt-controller/arm-gic.h>
85 #include <dt-bindings/clock/rk3288-cru.h>
87 tsadc: tsadc@ff280000 {
88 compatible = "rockchip,rk3288-tsadc";
89 reg = <0xff280000 0x100>;
90 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
91 clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
92 clock-names = "tsadc", "apb_pclk";
93 resets = <&cru SRST_TSADC>;
94 reset-names = "tsadc-apb";
95 #thermal-sensor-cells = <1>;
96 rockchip,hw-tshut-temp = <95000>;
97 rockchip,hw-tshut-mode = <0>;
98 rockchip,hw-tshut-polarity = <0>;