ARM: dts: imx7-mba7: add iio-hwmon support

Enable IIO hwmon support for ADC1 and ADC2. All channels are
available on X23 (ADC2) and X24 (ADC1) of MBa7x.

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Markus Niebel 2024-08-12 16:14:13 +02:00 committed by Shawn Guo
parent ebfaa1a900
commit d8ae1cdea3

View File

@ -81,6 +81,12 @@ led2 {
};
};
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc1 0>, <&adc1 1>, <&adc1 2>, <&adc1 3>,
<&adc2 0>, <&adc2 1>, <&adc2 2>, <&adc2 3>;
};
reg_sd1_vmmc: regulator-sd1-vmmc {
compatible = "regulator-fixed";
regulator-name = "VCC3V3_SD1";