diff options
author | Tao Ren <rentao.bupt@gmail.com> | 2020-07-24 02:05:38 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-07-24 08:19:41 +0300 |
commit | acd0093062a3edb8bdb7a6a30e668945d7650adf (patch) | |
tree | b70f0590351b78c859f6168281e246b49c2c60ef /arch/arm/boot/dts | |
parent | a4bf24d4db1c82a6b0093c8d02def21b1a928e12 (diff) | |
download | linux-acd0093062a3edb8bdb7a6a30e668945d7650adf.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts index aea23c313088..1049cfa80ac2 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts @@ -27,6 +27,11 @@ 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 @@ &vhub { status = "okay"; }; + +&adc { + status = "okay"; +}; |