imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0
authorTim Harvey <tharvey@gateworks.com>
Tue, 8 Mar 2022 18:44:43 +0000 (10:44 -0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 19:08:22 +0000 (21:08 +0200)
The GW7902-C revision adds an ADC for the VDD_5P0 voltage rail.
Add register definitions for it.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mm-venice-gw7902.dts
arch/arm/dts/imx8mn-venice-gw7902.dts

index d37ffc0..adf5216 100644 (file)
                                gw,voltage-divider-ohms = <10000 10000>;
                        };
 
+                       channel@9c {
+                               gw,mode = <2>;
+                               reg = <0x9c>;
+                               label = "vdd_5p0";
+                               gw,voltage-divider-ohms = <10000 10000>;
+                       };
+
                        channel@a2 {
                                gw,mode = <2>;
                                reg = <0xa2>;
index d3c08e5..29897c1 100644 (file)
                                gw,voltage-divider-ohms = <10000 10000>;
                        };
 
+                       channel@9c {
+                               gw,mode = <2>;
+                               reg = <0x9c>;
+                               label = "vdd_5p0";
+                               gw,voltage-divider-ohms = <10000 10000>;
+                       };
+
                        channel@a2 {
                                gw,mode = <2>;
                                reg = <0xa2>;