mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
arm64: dts: rockchip: rk3568: Add tsadc device node
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I94ce924ecd6f9ae6f8598ba614635486bd7e09d0
This commit is contained in:
@@ -2255,6 +2255,28 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
tsadc: tsadc@fe710000 {
|
||||
compatible = "rockchip,rk3568-tsadc";
|
||||
reg = <0x0 0xfe710000 0x0 0x100>;
|
||||
interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
|
||||
rockchip,grf = <&grf>;
|
||||
clocks = <&cru CLK_TSADC>, <&cru PCLK_TSADC>;
|
||||
clock-names = "tsadc", "apb_pclk";
|
||||
assigned-clocks = <&cru CLK_TSADC_TSEN>, <&cru CLK_TSADC>;
|
||||
assigned-clock-rates = <20000000>, <700000>;
|
||||
resets = <&cru SRST_TSADC>, <&cru SRST_P_TSADC>,
|
||||
<&cru SRST_TSADCPHY>;
|
||||
reset-names = "tsadc", "tsadc-apb", "tsadc-phy";
|
||||
#thermal-sensor-cells = <1>;
|
||||
rockchip,hw-tshut-temp = <120000>;
|
||||
rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
|
||||
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
||||
pinctrl-names = "gpio", "otpout";
|
||||
pinctrl-0 = <&tsadc_gpio>;
|
||||
pinctrl-1 = <&tsadc_shutorg>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
saradc: saradc@fe720000 {
|
||||
compatible = "rockchip,rk3568-saradc", "rockchip,rk3399-saradc";
|
||||
reg = <0x0 0xfe720000 0x0 0x100>;
|
||||
|
||||
Reference in New Issue
Block a user