Skip to content

Commit acd0093

Browse files
tao-renshenki
authored andcommitted
ARM: dts: aspeed: wedge40: Enable ADC device
Enable ADC controller and corresponding voltage sensoring channels for Wedge40. Signed-off-by: Tao Ren <[email protected]> Signed-off-by: Joel Stanley <[email protected]>
1 parent a4bf24d commit acd0093

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

arch/arm/boot/dts/aspeed-bmc-facebook-wedge40.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
memory@40000000 {
2828
reg = <0x40000000 0x20000000>;
2929
};
30+
31+
ast-adc-hwmon {
32+
compatible = "iio-hwmon";
33+
io-channels = <&adc 5>, <&adc 6>, <&adc 7>, <&adc 8>, <&adc 9>;
34+
};
3035
};
3136

3237
&wdt1 {
@@ -126,3 +131,7 @@
126131
&vhub {
127132
status = "okay";
128133
};
134+
135+
&adc {
136+
status = "okay";
137+
};

0 commit comments

Comments
 (0)