diff options
author | Haibo Chen <haibo.chen@freescale.com> | 2015-12-21 18:06:01 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-14 11:02:46 -0600 |
commit | 6537c6bda2d72ccb1712a5846ad4d3a2ec63bb64 (patch) | |
tree | 4042819368d057cbadca427802ffd9f25112f7ad /arch/arm/boot/dts/imx6sx-sabreauto.dts | |
parent | d9326ea97f500b252eb8fe9e7f7e8f3a2f1b888e (diff) |
MLK-12047-1 ARM: dts: imx6sx-sabreauto.dts: add ADC support
Add ADC support for imx6sx-sabreauto board.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sabreauto.dts')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sabreauto.dts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 5c19fcff0700..34f30609d6d9 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -156,6 +156,14 @@ enable-active-high; vin-supply = <®_can_en>; }; + + reg_vref_3v3: regulator@4 { + compatible = "regulator-fixed"; + regulator-name = "vref-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + }; sound-cs42888 { @@ -186,6 +194,16 @@ }; }; +&adc1 { + vref-supply = <®_vref_3v3>; + status = "okay"; +}; + +&adc2 { + vref-supply = <®_vref_3v3>; + status = "okay"; +}; + &audmux { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_audmux_3>; |