mirror of https://gitee.com/openkylin/linux.git
ARM: dts: rockchip: add tsadc node for RV1108 SoC
Add tsadc needed main information for RV1108 SoC. 750000Hz is the max clock rate supported by tsadc module. Signed-off-by: Rocky Hao <rocky.hao@rock-chips.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
This commit is contained in:
parent
faf15c0b75
commit
fb03abbc27
|
@ -329,6 +329,25 @@ watchdog: wdt@10360000 {
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
tsadc: tsadc@10370000 {
|
||||
compatible = "rockchip,rv1108-tsadc";
|
||||
reg = <0x10370000 0x100>;
|
||||
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
|
||||
assigned-clocks = <&cru SCLK_TSADC>;
|
||||
assigned-clock-rates = <750000>;
|
||||
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
||||
clock-names = "tsadc", "apb_pclk";
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&otp_gpio>;
|
||||
pinctrl-1 = <&otp_out>;
|
||||
pinctrl-2 = <&otp_gpio>;
|
||||
resets = <&cru SRST_TSADC>;
|
||||
reset-names = "tsadc-apb";
|
||||
rockchip,hw-tshut-temp = <120000>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
adc: adc@1038c000 {
|
||||
compatible = "rockchip,rv1108-saradc", "rockchip,rk3399-saradc";
|
||||
reg = <0x1038c000 0x100>;
|
||||
|
@ -740,6 +759,16 @@ sdmmc_bus4: sdmmc-bus4 {
|
|||
};
|
||||
};
|
||||
|
||||
tsadc {
|
||||
otp_out: otp-out {
|
||||
rockchip,pins = <0 RK_PB7 RK_FUNC_1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
otp_gpio: otp-gpio {
|
||||
rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
uart0 {
|
||||
uart0_xfer: uart0-xfer {
|
||||
rockchip,pins = <3 RK_PA6 RK_FUNC_1 &pcfg_pull_up>,
|
||||
|
|
Loading…
Reference in New Issue