]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/dts/arm/overlays/sun8i-h3-ths.dtso
MFC r360013, r360018, r360021
[FreeBSD/FreeBSD.git] / sys / dts / arm / overlays / sun8i-h3-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,sun8i-h3";
10 };
11
12 &{/soc} {
13         ths: thermal_sensor@1c25000 {
14                  compatible = "allwinner,sun8i-h3-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 = <0>;
22                  status = "okay";
23
24                  nvmem-cells = <&ths_calib>;
25                  nvmem-cell-names = "ths-calib";
26          };
27 };