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

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
......@@ -56,6 +56,11 @@ ps1-presence {
};
};
iio-hwmon-battery {
compatible = "iio-hwmon";
io-channels = <&adc 12>;
};
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
......@@ -583,3 +588,7 @@ &wdt2 {
&ibt {
status = "okay";
};
&adc {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment