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

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

Signed-off-by: Matt Spinler <spinler@linux.vnet.ibm.com>
Reviewed-by: Lei YU <mine260309@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Matt Spinler 2018-10-12 10:29:15 -05:00 committed by Joel Stanley
parent 163d88c4bf
commit 6d2e46885f
1 changed files with 9 additions and 0 deletions

View File

@ -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";
};