]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dts/arm64/overlays/sun50i-h5-ths.dtso
MFC r360013, r360018, r360021
[FreeBSD/FreeBSD.git] / sys / dts / arm64 / overlays / sun50i-h5-ths.dtso
1 /dts-v1/;
2 /plugin/;
3
4 #include <dt-bindings/interrupt-controller/arm-gic.h>
5 #include <dt-bindings/clock/sun8i-h3-ccu.h>
6 #include <dt-bindings/reset/sun8i-h3-ccu.h>
7
8 / {
9         compatible = "allwinner,sun50i-h5";
10 };
11
12 &{/soc} {
13         ths: thermal_sensor@1c25000 {
14                 compatible = "allwinner,sun50i-h5-ths";
15                 reg = <0x01c25000 0x100>;
16                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
17                 clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
18                 clock-names = "apb", "ths";
19                 resets = <&ccu RST_BUS_THS>;
20                 reset-names = "apb";
21                 #thermal-sensor-cells = <1>;
22
23                 nvmem-cells = <&ths_calib>;
24                 nvmem-cell-names = "ths-calib";
25         };
26 };