[PATCH 5/5] arm64: dts: mediatek: mt8173-amazon-suez: Add the PMIC AUXADC

From: Ryan Brue

Date: Wed Nov 11 2026 - 13:42:14 EST


Describe the MT6397's AUXADC and the battery pack's thermistor on it.
The SoC's AUXADC only has the board thermistors, and the charger has no
ADC, so this is the only way to measure the battery.

The thermistor is a 47 kOhm NTC behind a 24 kOhm pull-up to 1.2 V.

Signed-off-by: Ryan Brue <ryanbrue.dev@xxxxxxxxx>
---
The thermistor numbers were referenced from the vendor kernel.
---
arch/arm64/boot/dts/mediatek/mt8173-amazon-suez.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173-amazon-suez.dts b/arch/arm64/boot/dts/mediatek/mt8173-amazon-suez.dts
index 7dc0d818a44d..07a1ba7539a5 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173-amazon-suez.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8173-amazon-suez.dts
@@ -5,6 +5,7 @@

/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/iio/adc/mediatek,mt6397-auxadc.h>
#include <dt-bindings/input/input.h>
#include "mt8173.dtsi"

@@ -87,6 +88,15 @@ thermistor-2 {
pullup-ohm = <39000>;
pulldown-ohm = <0>;
};
+
+ /* The battery pack's thermistor */
+ thermistor-battery {
+ compatible = "murata,ncp15wb473";
+ io-channels = <&pmic_auxadc MT6397_AUXADC_BAT_TEMP>;
+ pullup-uv = <1200000>;
+ pullup-ohm = <24000>;
+ pulldown-ohm = <0>;
+ };
};

&cpu0 {
@@ -471,6 +481,11 @@ mt6397clk: clocks {
#clock-cells = <1>;
};

+ pmic_auxadc: adc {
+ compatible = "mediatek,mt6397-auxadc";
+ #io-channel-cells = <1>;
+ };
+
mt6397pin: pinctrl {
compatible = "mediatek,mt6397-pinctrl";
gpio-controller;

--
2.56.0