Commit 82099d76 authored by Oskar Senft's avatar Oskar Senft Committed by Joel Stanley
Browse files

ARM: dts: aspeed: tyan-s7106: Update nct7802 config



This change updates the configuration for the nct7802 hardware
monitor to correctly configure its temperature sensors.

Signed-off-by: default avatarOskar Senft <osk@google.com>
Link: https://lore.kernel.org/r/20211105032910.446492-1-osk@google.com


Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent fa55b7dc
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -213,6 +213,30 @@ &i2c0 {
	nct7802@28 {
		compatible = "nuvoton,nct7802";
		reg = <0x28>;

		#address-cells = <1>;
		#size-cells = <0>;

		channel@0 { /* LTD */
			reg = <0>;
		};

		channel@1 { /* RTD1 */
			reg = <1>;
			sensor-type = "temperature";
			temperature-mode = "thermistor";
		};

		channel@2 { /* RTD2 */
			reg = <2>;
			sensor-type = "temperature";
			temperature-mode = "thermistor";
		};

		channel@3 { /* RTD3 */
			reg = <3>;
			sensor-type = "temperature";
		};
	};

	/* Also connected to: