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

Neil Armstrong narmstrong at baylibre.com
Fri Apr 22 15:26:56 CEST 2022


On 22/04/2022 07:29, Vyacheslav Bocharov wrote:
> Prepare to use ADC channel 1 to check the hardware revision of the board.
> 
> Signed-off-by: Vyacheslav Bocharov <adeep at lexina.in>
> ---
>   arch/arm/dts/meson-axg-jethome-jethub-j100.dts | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts b/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
> index 5783732dc6..00a0b268af 100644
> --- a/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
> +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100.dts
> @@ -359,3 +359,8 @@
>   &cpu3 {
>   	#cooling-cells = <2>;
>   };
> +
> +&saradc {
> +	status = "okay";
> +	vref-supply = <&vddio_ao18>;
> +};

Please move this in a -u-boot.dtsi file to keep the main DT in sync with Linux.

Neil


More information about the U-Boot mailing list