diff options
author | Tao Ren <rentao.bupt@gmail.com> | 2021-07-19 03:17:24 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-07-19 03:23:50 +0300 |
commit | 00e9e776fa197592addc1f3002c63585f884a5dd (patch) | |
tree | 4bbc87abdd08f2a244272cc8e6f003318b867840 /arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts | |
parent | 5501ab03b9f1412a44e993e469f9375276de5399 (diff) | |
download | linux-00e9e776fa197592addc1f3002c63585f884a5dd.tar.xz |
ARM: dts: aspeed: wedge100: Enable ADC channels
Enable the ADC voltage sensoring channels used by Wedge100.
Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210719001724.6410-5-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts')
-rw-r--r-- | arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts index 39c6be91d53f..584efa528450 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-wedge100.dts @@ -12,6 +12,11 @@ stdout-path = &uart3; bootargs = "console=ttyS2,9600n8 root=/dev/ram rw"; }; + + ast-adc-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>; + }; }; &wdt2 { |