ARM: dts: aspeed: wedge40: Enable ADC device

Enable ADC controller and corresponding voltage sensoring channels for
Wedge40.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
Tao Ren
2020-07-23 16:05:38 -07:00
committed by Joel Stanley
parent a4bf24d4db
commit acd0093062

View File

@@ -27,6 +27,11 @@ chosen {
memory@40000000 {
reg = <0x40000000 0x20000000>;
};
ast-adc-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
};
};
&wdt1 {
@@ -126,3 +131,7 @@ &i2c12 {
&vhub {
status = "okay";
};
&adc {
status = "okay";
};