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-sdb.dtsi | |
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-sdb.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sx-sdb.dtsi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dtsi b/arch/arm/boot/dts/imx6sx-sdb.dtsi index 265fa9852444..b81036289211 100644 --- a/arch/arm/boot/dts/imx6sx-sdb.dtsi +++ b/arch/arm/boot/dts/imx6sx-sdb.dtsi @@ -151,6 +151,13 @@ regulator-max-microvolt = <3300000>; }; + reg_vref_3v3: regulator-adc-verf { + compatible = "regulator-fixed"; + regulator-name = "vref-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + sound { compatible = "fsl,imx6sx-sdb-wm8962", "fsl,imx-audio-wm8962"; model = "wm8962-audio"; @@ -181,6 +188,16 @@ }; }; +&adc1 { + vref-supply = <®_vref_3v3>; + status = "okay"; +}; + +&adc2 { + vref-supply = <®_vref_3v3>; + status = "okay"; +}; + &audmux { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_audmux>; |