From: Lad Prabhakar Date: Wed, 22 Sep 2021 21:20:48 +0000 (+0100) Subject: arm64: dts: renesas: rzg2l-smarc-som: Enable ADC on SMARC platform X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=03f7d78e8850ddb8cb1e623ef93e9018e4049ad7;p=linux.git arm64: dts: renesas: rzg2l-smarc-som: Enable ADC on SMARC platform Enable the ADC which is present on RZ/G2L SMARC SOM. Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das Link: https://lore.kernel.org/r/20210922212049.19851-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi index 0748f2e7396a7..da1ee2206e1a8 100644 --- a/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc-som.dtsi @@ -5,6 +5,8 @@ * Copyright (C) 2021 Renesas Electronics Corp. */ +#include + / { memory@48000000 { device_type = "memory"; @@ -13,6 +15,21 @@ }; }; +&adc { + pinctrl-0 = <&adc_pins>; + pinctrl-names = "default"; + status = "okay"; + + /delete-node/ channel@6; + /delete-node/ channel@7; +}; + &extal_clk { clock-frequency = <24000000>; }; + +&pinctrl { + adc_pins: adc { + pinmux = ; /* ADC_TRG */ + }; +};