From: Frank Li Date: Fri, 11 Nov 2022 15:47:38 +0000 (-0500) Subject: arm64: dts: imx8dxl_evk: add adc0 support X-Git-Tag: v6.6.7~4018^2~34^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7772c29d61794bd34508e946381f450ce7b6a3a6;p=platform%2Fkernel%2Flinux-starfive.git arm64: dts: imx8dxl_evk: add adc0 support Enable adc0 at imx8dxl_evk boards dts. Signed-off-by: Frank Li Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index fc9647e..11b1ff9 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -91,6 +91,13 @@ off-on-delay-us = <3480>; }; + reg_vref_1v8: regulator-adc-vref { + compatible = "regulator-fixed"; + regulator-name = "vref_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + mii_select: regulator-4 { compatible = "regulator-fixed"; regulator-name = "mii-select"; @@ -102,6 +109,11 @@ }; }; +&adc0 { + vref-supply = <®_vref_1v8>; + status = "okay"; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>;