Changeset View
Changeset View
Standalone View
Standalone View
sys/dts/arm64/overlays/sun50i-h5-ths.dtso
- This file was added.
/dts-v1/; | |||||
/plugin/; | |||||
#include <dt-bindings/interrupt-controller/arm-gic.h> | |||||
#include <dt-bindings/clock/sun8i-h3-ccu.h> | |||||
#include <dt-bindings/reset/sun8i-h3-ccu.h> | |||||
/ { | |||||
compatible = "allwinner,sun50i-h5"; | |||||
}; | |||||
&{/soc} { | |||||
ths: thermal_sensor@1c25000 { | |||||
compatible = "allwinner,sun50i-h5-ths"; | |||||
reg = <0x01c25000 0x100>; | |||||
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; | |||||
clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>; | |||||
clock-names = "apb", "ths"; | |||||
resets = <&ccu RST_BUS_THS>; | |||||
reset-names = "apb"; | |||||
#thermal-sensor-cells = <1>; | |||||
nvmem-cells = <&ths_calib>; | |||||
nvmem-cell-names = "ths-calib"; | |||||
}; | |||||
}; |