]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d37ffc050da2205d9003be06902c3302542b9129..adf521632d63a774c7495bda6052179b929eebcb 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 d3c08e59c5422f773907fac0ca494710fbb27487..29897c161b96dff3e34e9afc3148c9445bd70f45 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>;