diff options
Diffstat (limited to 'zephyr/boards/arm/volteer/volteer.dts')
-rw-r--r-- | zephyr/boards/arm/volteer/volteer.dts | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/zephyr/boards/arm/volteer/volteer.dts b/zephyr/boards/arm/volteer/volteer.dts index 3c32feaf20..d837f8ab55 100644 --- a/zephyr/boards/arm/volteer/volteer.dts +++ b/zephyr/boards/arm/volteer/volteer.dts @@ -11,6 +11,7 @@ #include <dt-bindings/charger/intersil_isl9241.h> #include <dt-bindings/gpio_defines.h> #include <nuvoton/npcx7m7fc.dtsi> +#include <cros/thermistor/thermistor.dtsi> / { model = "Google Volteer EC"; @@ -124,7 +125,8 @@ named-temp-sensors { charger { - compatible = "temp-3v3-30k9-47k-4050b"; + compatible = "cros-ec,temp-sensor"; + thermistor = <&thermistor_3V3_30K9_47K_4050B>; label = "TEMP_SENSOR_CHARGER"; enum-name = "TEMP_SENSOR_CHARGER"; temp_fan_off = <40>; @@ -135,7 +137,8 @@ adc = <&adc_charger>; }; pp3300_regulator { - compatible = "temp-3v3-30k9-47k-4050b"; + compatible = "cros-ec,temp-sensor"; + thermistor = <&thermistor_3V3_30K9_47K_4050B>; label = "TEMP_SENSOR_PP3300_REGULATOR"; enum-name = "TEMP_SENSOR_PP3300_REGULATOR"; temp_fan_off = <40>; @@ -146,7 +149,8 @@ adc = <&adc_pp3300_regulator>; }; ddr_soc { - compatible = "temp-3v3-30k9-47k-4050b"; + compatible = "cros-ec,temp-sensor"; + thermistor = <&thermistor_3V3_30K9_47K_4050B>; label = "TEMP_SENSOR_DDR_SOC"; enum-name = "TEMP_SENSOR_DDR_SOC"; temp_fan_off = <35>; @@ -157,7 +161,8 @@ adc = <&adc_ddr_soc>; }; fan { - compatible = "temp-3v3-30k9-47k-4050b"; + compatible = "cros-ec,temp-sensor"; + thermistor = <&thermistor_3V3_30K9_47K_4050B>; label = "TEMP_SENSOR_FAN"; enum-name = "TEMP_SENSOR_FAN"; temp_fan_off = <35>; @@ -311,3 +316,7 @@ &psl_in4 { flag = <NPCX_PSL_RISING_EDGE>; }; + +&thermistor_3V3_30K9_47K_4050B { + status = "okay"; +}; |