ARM: dts: rv1126: move the tsadc parameters

This patch moves the tsadc default parameters to the rv1126.dtsi.
When the hardware changes, the tsadc parameters need to be
reconfigured in DTS.(Rockchip_Developer_Guide_Thermal_CN 3.2)

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I6ff427e703006135e32e5748e89b3a1367a035c9
This commit is contained in:
Elaine Zhang 2020-07-01 17:09:33 +08:00 committed by Tao Huang
parent 96008856e6
commit 069bb25961
2 changed files with 10 additions and 10 deletions

View File

@ -1350,6 +1350,11 @@ cpu_tsadc: tsadc@ff5f0000 {
#thermal-sensor-cells = <1>;
nvmem-cells = <&cpu_tsadc_trim_l>, <&cpu_tsadc_trim_h>, <&tsadc_trim_base>;
nvmem-cell-names = "trim_l", "trim_h", "trim_base";
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
pinctrl-names = "gpio", "otpout";
pinctrl-0 = <&tsadcm0_pins>;
pinctrl-1 = <&tsadc_shutorg>;
status = "disabled";
};
@ -1370,6 +1375,11 @@ npu_tsadc: tsadc@ff5f8000 {
#thermal-sensor-cells = <1>;
nvmem-cells = <&npu_tsadc_trim_l>, <&npu_tsadc_trim_h>, <&tsadc_trim_base>;
nvmem-cell-names = "trim_l", "trim_h", "trim_base";
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
pinctrl-names = "gpio", "otpout";
pinctrl-0 = <&tsadcm0_pins>;
pinctrl-1 = <&tsadc_shutorg>;
status = "disabled";
};

View File

@ -213,11 +213,6 @@ &cpu0 {
};
&cpu_tsadc {
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
pinctrl-names = "gpio", "otpout";
pinctrl-0 = <&tsadcm0_pins>;
pinctrl-1 = <&tsadc_shutorg>;
status = "okay";
};
@ -1024,11 +1019,6 @@ &npu {
};
&npu_tsadc {
rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
pinctrl-names = "gpio", "otpout";
pinctrl-0 = <&tsadcm0_pins>;
pinctrl-1 = <&tsadc_shutorg>;
status = "okay";
};