diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2019-08-14 15:34:36 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 16:06:05 +0800 |
commit | 562b71e3b6dce44e5db0ef0409f04062a5562b61 (patch) | |
tree | a0238a5340d481eebbca2cd7e305080ba0b12b12 /arch/arm/boot/dts/imx6sx-sabreauto.dts | |
parent | bdf36c9da6125036c2dc571a71add7a8be17b870 (diff) |
ARM: dts: add adc support for imx6sx
Add ADC support for imx6sx-sdb and imx6sx-sabreauto board.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sabreauto.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sabreauto.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index cac05621e6b2..73c83e3eef2a 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -66,6 +66,23 @@ enable-active-high; vin-supply = <®_can_en>; }; + + reg_vref_3v3: regulator-adc-verf { + compatible = "regulator-fixed"; + regulator-name = "vref-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; +}; + +&adc1 { + vref-supply = <®_vref_3v3>; + status = "okay"; +}; + +&adc2 { + vref-supply = <®_vref_3v3>; + status = "okay"; }; &anaclk2 { |