[PATCH v1 1/2] arm64: dts: meson-a1: add gpio_intc node

Alexey Romanov AVRomanov at sberdevices.ru
Thu Feb 2 06:19:39 PST 2023


Sorry, this patch has the wrong subject (I am tolking about1/2), 
there is no second patch.

On Thu, Feb 02, 2023 at 05:15:20PM +0300, Alexey Romanov wrote:
> Add gpio interrupt controller node.
> 
> Signed-off-by: Alexey Romanov <avromanov at sberdevices.ru>
> ---
>  arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> index 6268c323a810..a04ddf0f4cd3 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
> @@ -158,6 +158,16 @@ clkc_pll: pll-clock-controller at 7c80 {
>  					 <&clkc_periphs CLKID_XTAL_HIFIPLL>;
>  				clock-names = "xtal_fixpll", "xtal_hifipll";
>  			};
> +
> +			gpio_intc: interrupt-controller at 0440 {
> +				compatible = "amlogic,meson-a1-gpio-intc",
> +					     "amlogic,meson-gpio-intc";
> +				reg = <0x0 0x0440 0x0 0x14>;
> +				interrupt-controller;
> +				#interrupt-cells = <2>;
> +				amlogic,channel-interrupts =
> +					<49 50 51 52 53 54 55 56>;
> +			};
>  		};
>  
>  		gic: interrupt-controller at ff901000 {
> -- 
> 2.38.1
> 

-- 
Thank you,
Alexey


More information about the linux-amlogic mailing list