提交 a7ab4cb4 编写于 作者: K Kevin Wangtao 提交者: Wei Xu

arm64: dts: Register Hi3660's thermal sensor

Add binding for tsensor on H3660, this tsensor is used for
SoC thermal control, it supports alarm interrupt.
Signed-off-by: NKevin Wangtao <kevin.wangtao@linaro.org>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: NWei Xu <xuwei5@hisilicon.com>
上级 9044070d
...@@ -978,5 +978,12 @@ ...@@ -978,5 +978,12 @@
clocks = <&crg_ctrl HI3660_OSC32K>; clocks = <&crg_ctrl HI3660_OSC32K>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
}; };
tsensor: tsensor@fff30000 {
compatible = "hisilicon,hi3660-tsensor";
reg = <0x0 0xfff30000 0x0 0x1000>;
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
#thermal-sensor-cells = <1>;
};
}; };
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册