[PATCH] arm64: dts: mediatek: mt8183-evb: Add node for thermistor

Fabien Parent posted 1 patch 2 years, 10 months ago
arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH] arm64: dts: mediatek: mt8183-evb: Add node for thermistor
Posted by Fabien Parent 2 years, 10 months ago
Add node to be able to read the temperature for the thermistor
connected to AUXIN0.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
---
 arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
index 7bc0a6a7fadf..f3fd3cca23e9 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
@@ -36,6 +36,14 @@ scp_mem_reserved: scp_mem_region {
 			no-map;
 		};
 	};
+
+	ntc@0 {
+		compatible = "murata,ncp03wf104";
+		pullup-uv = <1800000>;
+		pullup-ohm = <390000>;
+		pulldown-ohm = <0>;
+		io-channels = <&auxadc 0>;
+	};
 };
 
 &auxadc {
-- 
2.33.1

Re: [PATCH] arm64: dts: mediatek: mt8183-evb: Add node for thermistor
Posted by Matthias Brugger 2 years, 10 months ago

On 10/11/2021 20:26, Fabien Parent wrote:
> Add node to be able to read the temperature for the thermistor
> connected to AUXIN0.
> 
> Signed-off-by: Fabien Parent <fparent@baylibre.com>

Applied to v5.16-next/dts64

Thanks

> ---
>   arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> index 7bc0a6a7fadf..f3fd3cca23e9 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-evb.dts
> @@ -36,6 +36,14 @@ scp_mem_reserved: scp_mem_region {
>   			no-map;
>   		};
>   	};
> +
> +	ntc@0 {
> +		compatible = "murata,ncp03wf104";
> +		pullup-uv = <1800000>;
> +		pullup-ohm = <390000>;
> +		pulldown-ohm = <0>;
> +		io-channels = <&auxadc 0>;
> +	};
>   };
>   
>   &auxadc {
>