diff options
author | Tim Harvey <tharvey@gateworks.com> | 2022-03-08 10:44:43 -0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2022-04-12 21:08:22 +0200 |
commit | 0f42ffd0c79a975c609bf4cdee533c3d1ed6a245 (patch) | |
tree | 2c5e2d968d74978352c49b9772b6e4fd8990c6bd | |
parent | f3722dd6dad4ddaacbb06b0ae2f7a63272ecb078 (diff) | |
download | u-boot-0f42ffd0c79a975c609bf4cdee533c3d1ed6a245.zip u-boot-0f42ffd0c79a975c609bf4cdee533c3d1ed6a245.tar.gz u-boot-0f42ffd0c79a975c609bf4cdee533c3d1ed6a245.tar.bz2 |
imx8m{m,n}-venice-gw7902: add GSC ADC rail for VDD_5P0
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>
-rw-r--r-- | arch/arm/dts/imx8mm-venice-gw7902.dts | 7 | ||||
-rw-r--r-- | arch/arm/dts/imx8mn-venice-gw7902.dts | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mm-venice-gw7902.dts b/arch/arm/dts/imx8mm-venice-gw7902.dts index d37ffc0..adf5216 100644 --- a/arch/arm/dts/imx8mm-venice-gw7902.dts +++ b/arch/arm/dts/imx8mm-venice-gw7902.dts @@ -348,6 +348,13 @@ 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>; diff --git a/arch/arm/dts/imx8mn-venice-gw7902.dts b/arch/arm/dts/imx8mn-venice-gw7902.dts index d3c08e5..29897c1 100644 --- a/arch/arm/dts/imx8mn-venice-gw7902.dts +++ b/arch/arm/dts/imx8mn-venice-gw7902.dts @@ -347,6 +347,13 @@ 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>; |