From patchwork Mon Nov 7 17:53:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 1700787 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=bOlwmN8w; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4N5f5Z0vwzz23lx for ; Tue, 8 Nov 2022 04:55:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232632AbiKGRzK (ORCPT ); Mon, 7 Nov 2022 12:55:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232617AbiKGRyO (ORCPT ); Mon, 7 Nov 2022 12:54:14 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38050197; Mon, 7 Nov 2022 09:53:21 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id o30so7366614wms.2; Mon, 07 Nov 2022 09:53:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iQl1Hu5/nrSTnzRvbQ3bMIxhET8sBmMlsPi/XY+Y+k4=; b=bOlwmN8wV1l4EKmTWFaCpg+tK20WDHNdisJNBG2s35YMFKLTU7viELgi2SOh/R5U8h hMaWWRXNG6oaolcKw7W0cblTpwhk6smh7gOxPSS0b7qRjZkgsXjHFAjazdUJjh/c3i3H qMW1HF61Y85kL/qRS1xevfZfHD2n2I2V+TAkrpvDGGdNpAnVXXg/eIU+nsyvRG5iC7br 5IgvRHeQCsaD5Vi2Ikh1TfQyK+3Mx7RCSXjrfKiqmZ8eNsQWQDRCVULODzSCDXd60qkk HzWMYW93EInfqkhzC3PThCRxo4JADogGvtrJbj7Qu/sAlgx8AeASlsVg5Xn+IHFbq9MZ 6bUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iQl1Hu5/nrSTnzRvbQ3bMIxhET8sBmMlsPi/XY+Y+k4=; b=2lowsKqrAJKV0jhKpsbifHqeCm5G4NYmPjmEAYlzuiMaN03P3dxWUWib/FxOVMk6iN +wz4P3kV1gZ9zfksu94upjXu2niDYgz4PMahxh7CXxXh3IyFr1txBdA5IaJrIvtS348V aYncuLfU0MDXWNJeg13HtYDaxm3NSHUlCvyPTjbEluGBaatBBVSAtumGrw/EkqdsXHGJ WRcDsxqQ+E5gGFbbH7mw7VgEMkCpFxyjfc2VHFjTAqkFiKThmhqMeIQlsAC6APVc9NXK MDlyIgPUw6OrQQNbAifb+v7Ls1vrk+EE5AOlyDwN9yQwVnd5dNRXXK+bqvs0qPRB3Oz0 qCgA== X-Gm-Message-State: ANoB5pkQ+vvyUoUA5vKq80vweV79EzgZ7EhQVash3jw8Qa2CcfhDT5SC +lxS2XSQgmUNfOBgF6ye/y4= X-Google-Smtp-Source: AA0mqf5ihVQvbBpKQZiANLVLZsILeRFrbkkYHN6CmL/95rHEt3QrboF2MHcjAs6wJJly7AkhgRS/aA== X-Received: by 2002:a05:600c:314e:b0:3cf:a816:80dc with SMTP id h14-20020a05600c314e00b003cfa81680dcmr6090812wmo.88.1667843599761; Mon, 07 Nov 2022 09:53:19 -0800 (PST) Received: from prasmi.home ([2a00:23c8:2501:c701:9c45:7ed3:c12e:e25b]) by smtp.gmail.com with ESMTPSA id v4-20020a5d4a44000000b002365254ea42sm8072454wrs.1.2022.11.07.09.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 09:53:19 -0800 (PST) From: Prabhakar X-Google-Original-From: Prabhakar To: Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH RFC 3/5] arm64: dts: renesas: r9a07g043[u]: Add IRQC node Date: Mon, 7 Nov 2022 17:53:03 +0000 Message-Id: <20221107175305.63975-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221107175305.63975-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20221107175305.63975-1-prabhakar.mahadev-lad.rj@bp.renesas.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org From: Lad Prabhakar Add IRQC node to R9A07G043 (RZ/G2UL) SoC DTSI. Signed-off-by: Lad Prabhakar --- Note, - clocks and resets are differnt when compared to RZ/Five hence its added in r9a07g043u.dtsi - We have additional interrupt on RZ/Five hence interrupts are added in r9a07g043u.dtsi - clock-names is also added in r9a07g043u.dtsi to avoid dtbs_check warning --- arch/arm64/boot/dts/renesas/r9a07g043.dtsi | 8 ++++ arch/arm64/boot/dts/renesas/r9a07g043u.dtsi | 50 +++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi index 3f7d451b1199..44b9bc6294be 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g043.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g043.dtsi @@ -538,6 +538,14 @@ pinctrl: pinctrl@11030000 { <&cpg R9A07G043_GPIO_SPARE_RESETN>; }; + irqc: interrupt-controller@110a0000 { + #interrupt-cells = <2>; + #address-cells = <0>; + interrupt-controller; + reg = <0 0x110a0000 0 0x10000>; + power-domains = <&cpg>; + }; + dmac: dma-controller@11820000 { compatible = "renesas,r9a07g043-dmac", "renesas,rz-dmac"; diff --git a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi index b8bf06b51235..7a8ed7ae253b 100644 --- a/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a07g043u.dtsi @@ -48,6 +48,56 @@ timer { }; }; +&irqc { + compatible = "renesas,r9a07g043u-irqc", + "renesas,rzg2l-irqc"; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD R9A07G043_IA55_CLK>, + <&cpg CPG_MOD R9A07G043_IA55_PCLK>; + clock-names = "clk", "pclk"; + resets = <&cpg R9A07G043_IA55_RESETN>; +}; + &soc { interrupt-parent = <&gic>;