[PATCH v3 5/6] board: amlogic: jethub j100: enable saradc in dts

Neil Armstrong narmstrong at baylibre.com
Mon Apr 25 09:21:41 CEST 2022


On 24/04/2022 10:21, Vyacheslav Bocharov wrote:
> Prepare to use ADC channel 1 to check the hardware revision of the board:
> - add u-boot dts include with saradc node
> 
> Signed-off-by: Vyacheslav Bocharov <adeep at lexina.in>
> ---
>   arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 ++++++++++
>   1 file changed, 10 insertions(+)
>   create mode 100644 arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi
> 
> diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi
> new file mode 100644
> index 0000000000..3ecb233f8e
> --- /dev/null
> +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi
> @@ -0,0 +1,10 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +/*
> + * Copyright (c) 2022 Vyacheslav Bocharov <adeep at lexina.in>
> + * Author: Vyacheslav Bocharov <adeep at lexina.in>
> + */
> +
> +&saradc {
> +	status = "okay";
> +	vref-supply = <&vddio_ao18>;
> +};

Reviewed-by: Neil Armstrong <narmstrong at baylibre.com>


More information about the U-Boot mailing list