diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-21 12:54:37 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-10-21 15:19:41 +0200 |
commit | d376697f9559c3992512eec2cbf414b65fd9fe8b (patch) | |
tree | 298e26535be6b68481942abda67c42268d6f0b20 /arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi | |
parent | c0d2f56481f754a8d74c5498da70e8dd6196b5c0 (diff) |
arm64: dts: freescale: fsl-imx8mm-verdin: add adc
Adds the ADC. The ADC TI TLA2024 is used. Currently there is no specific
driver for the chip and we use the ADS015 which has a compatible
programming model..
The ADS1015 additionally comparator features which are not available in
the TLA2024.
Related-to: ELB-3132
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi index 8d520d0da761..f28683e9a0cc 100755 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin-v1.1.dtsi @@ -455,6 +455,69 @@ reg = <0x32>; }; + adc@49 { + compatible = "ti,ads1015"; + reg = <0x49>; + #address-cells = <1>; + #size-cells = <0>; + + /* Verdin I2C_1 (ADC_4 - ADC_3) */ + channel@0 { + reg = <0>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 (ADC_4 - ADC_1) */ + channel@1 { + reg = <1>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 (ADC_3 - ADC_1) */ + channel@2 { + reg = <2>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 (ADC_2 - ADC_1) */ + channel@3 { + reg = <3>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 ADC_4 */ + channel@4 { + reg = <4>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 ADC_3 */ + channel@5 { + reg = <5>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 ADC_2 */ + channel@6 { + reg = <6>; + ti,gain = <2>; + ti,datarate = <4>; + }; + + /* Verdin I2C_1 ADC_1 */ + channel@7 { + reg = <7>; + ti,gain = <2>; + ti,datarate = <4>; + }; + }; + eeprom@50 { compatible = "st,24c02"; pagesize = <16>; |