Commit 6d2e4688 authored by Matt Spinler's avatar Matt Spinler Committed by Joel Stanley
Browse files

ARM: dts: aspeed: wspoon: Enable iio-hwmon battery



The BMC can read the RTC battery voltage via ADC
channel 12.

Signed-off-by: default avatarMatt Spinler <spinler@linux.vnet.ibm.com>
Reviewed-by: default avatarLei YU <mine260309@gmail.com>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 163d88c4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -56,6 +56,11 @@
		};
	};

	iio-hwmon-battery {
		compatible = "iio-hwmon";
		io-channels = <&adc 12>;
	};

	gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
@@ -583,3 +588,7 @@
&ibt {
	status = "okay";
};

&adc {
	status = "okay";
};