ARM: dts: meson8b: ec100: add iio-hwmon for the chip temperature

SAR ADC enabled channel 8 can be used to measure the chip temperature.
This can be made available to the hwmon subsystem by using iio-hwmon.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
Martin Blumenstingl
2019-01-18 23:52:25 +01:00
committed by Kevin Hilman
parent bbbcf64360
commit 1a4f28ab25

View File

@@ -64,6 +64,11 @@
timeout-ms = <20000>;
};
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&saradc 8>;
};
leds {
compatible = "gpio-leds";