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: 16606 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2201661wru; Mon, 7 Nov 2022 09:56:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf4qHtTkuPlfxpZ1F0Lb2PGmD6YAxQeGi7lt8cREVJZqEeJ9NkxFFIPy1gKbS8pnY+jeoaKP X-Received: by 2002:a17:903:124c:b0:188:835c:4f55 with SMTP id u12-20020a170903124c00b00188835c4f55mr5000127plh.64.1667843767006; Mon, 07 Nov 2022 09:56:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667843766; cv=none; d=google.com; s=arc-20160816; b=pEHD8w2UivXp5lTJCEtHzeTMGE/leJVwVvciET6hqmf9KB70sXi0uP9ugsyqV28Lga JVTESTXgxBWCDy0QLHx38ncFYEHlJc3vdLox2CVTO/RyaYUbMa6wWq+pNB7H/YeSIi94 KwiXpRsSdN9MTzwCEWzMEe8+O1ykNVdWea4rjOqrVbmYIxCxVWMpnrdaPVXIcMvjxIgS n14IhQY5lFmHUXYIDUkrDw74VflW3ph5LNmW+cZHWug9tzBQdm8nQOR+HrWYw9D4/bhv FCt6NERg6bpz7igHNMAKDdF34q+TVyCKfNwT2HY9d2tyIM+ue1THArvGoh9eZLw7N6Gk p61A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iQl1Hu5/nrSTnzRvbQ3bMIxhET8sBmMlsPi/XY+Y+k4=; b=ehpN2YJ5VyyluKUW4JK+mkiaO7NBBR7WKTHzYIPBI+chhvZSx6bGRG7qMLDRdz0vPx v5lPjpN1W3U5gOP/5omtd4lrgaK+Ld4hvnN77/TstwQz8pfCm6l9o7L8hJTWyuXV1lRi PofrWq55cWRlalFeiGtjZ3QctBBAnbgiLwAEAwlEVU+tkzjy26U7A1rkdfw/auVaWYa5 Hke9au8P2Td+RAYsaL8mtsOn0+TVrrQI8gLmURi/H0b5eY9VnGe1bMM9nFfhptkwSQC1 uFdWJKZU2InrYmQpbt+cOO29sr5P7uGwDHDwOe0XtPM8pNsEzXBruocUohvOypZMxcFI Q+yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bOlwmN8w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j24-20020a63ec18000000b0043891d59cb7si10928572pgh.833.2022.11.07.09.55.52; Mon, 07 Nov 2022 09:56:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=bOlwmN8w; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232644AbiKGRz0 (ORCPT + 99 others); Mon, 7 Nov 2022 12:55:26 -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-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-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748860945669028587?= X-GMAIL-MSGID: =?utf-8?q?1748860945669028587?= 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>;