ARM: dts: vf610-zii-cfu1: Add voltage monitor DT node
Add a DT node for various voltage supply rails connected to SoC's ADC for voltage monitoring purposes. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Родитель
6c92d53d0d
Коммит
2439545b8c
|
@ -71,6 +71,14 @@
|
|||
los-gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>;
|
||||
tx-disable-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
supply-voltage-monitor {
|
||||
compatible = "iio-hwmon";
|
||||
io-channels = <&adc0 8>, /* 28VDC_IN */
|
||||
<&adc0 9>, /* +3.3V */
|
||||
<&adc1 8>, /* VCC_1V5 */
|
||||
<&adc1 9>; /* VCC_1V2 */
|
||||
};
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче