From patchwork Wed Jul 20 08:08:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 067BBC43334 for ; Wed, 20 Jul 2022 08:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ynohXUusafeQi2WDADbJCcBDrZ4hCcfNgZ66mJ6xFYo=; b=wEiH3MmQr8Txcs J55jqVYq5+TcD13JSD4tDMKrqlIgBRI+NC61d3BtWccHkeSCo2ngyPZZfFR39NeFVsShgPow1YMBV rX94il4IHmNHpUDewCkFtImHi8K/7BA/oZn2PCMw6eHhZ5JTxmnRPxbWqpCdQZNA3vX+99WhptNiz SUNLp2peIIOZ3l7ic/DDyaqTNqqU8++4JkuA49lrnlqiEuBed9HLOdwZEm8licthjZgO3Dm6+qymR iBk1bvZhfbRu5aBWWrxiubcDeAPhiYBwF8PZwXPzuB1/d/SUNYroL6amQEbPgViUCsK7FQksr6mgf wWVP4nUHnCAzDB4kYyzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kw-002LmG-7b; Wed, 20 Jul 2022 08:08:30 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kj-002LdL-EJ for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:19 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id xL89270064C55Sk01L893o; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra0-MD; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsMf-3n; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 1/6] dt-bindings: arm: renesas: Document R-Car H3Ne-1.7G SoC and boards Date: Wed, 20 Jul 2022 10:08:02 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010817_661437_A21F7939 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Document the compatible values for the R-Car H3Ne-1.7G (R8A779MB) SoC. This is a different grading of the R-Car H3-N (R8A77951) SoC. All R-Car H3Ne-1.7G on-SoC devices are identical to the corresponding devices on the R-Car H3-N SoC, and thus just use the compatible values for the latter. The root compatible property does gain an additional value, to sort out integration issues if they ever arise. Document the use of this SoC on the Salvator-XS and ULCB (with and without Kingfisher) development boards. Signed-off-by: Geert Uytterhoeven Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/renesas.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml index ff80152f092fc10e..f0960c04dad9b5af 100644 --- a/Documentation/devicetree/bindings/arm/renesas.yaml +++ b/Documentation/devicetree/bindings/arm/renesas.yaml @@ -264,6 +264,7 @@ properties: - renesas,r8a779m4 - renesas,r8a779m5 - renesas,r8a779m8 + - renesas,r8a779mb - enum: - renesas,r8a7795 - renesas,r8a77961 @@ -409,6 +410,14 @@ properties: - const: renesas,r8a779m8 - const: renesas,r8a7795 + - description: R-Car H3Ne-1.7G (R8A779MB) + items: + - enum: + - renesas,h3ulcb # H3ULCB (R-Car Starter Kit Premier) + - renesas,salvator-xs # Salvator-XS (Salvator-X 2nd version) + - const: renesas,r8a779mb + - const: renesas,r8a7795 + - description: RZ/N1D (R9A06G032) items: - enum: From patchwork Wed Jul 20 08:08:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923648 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95DBBC433EF for ; Wed, 20 Jul 2022 08:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5Iw68vvL6xhc2N7qGwFPdfw6QBcIJLGFN5gOmCE6UjM=; b=k9Sqhu78knf0Vk eiJV89YQd+T1AkUiPZ2xfhrjOsQM0AQOpZvv75SJh+NdAISwx+eBe6vW0pWUYEyUsPQn0/NHCIp2F eHZRiSWRFK4cwkYkbmXh+ff3b1EqrJ37SmdlIZ/iQzLrQ1mPJoQ1UTBsomKNq1dutvn7+7FonIODe QcjUeltnOoh11TnzlQbojJKimYxHaO/PY4Yc5EVp2rGwXn8X4GgowGrhcG/qV7odLb6ztpOhwsnlY TbOex8HMkgoFX9ViDJDcNR3bbsSAR0WcNDRaPeA5EWMLAhg0Cw7zytUGs62Z7hXcfe9R9Z6mRn7bj szzZIMqg96dyT0OpeuNA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4lG-002Lub-3a; Wed, 20 Jul 2022 08:08:50 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kk-002LdK-IY for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:21 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id xL892700D4C55Sk01L893t; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra1-SZ; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsMm-4v; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 2/6] soc: renesas: Identify R-Car H3Ne-1.7G Date: Wed, 20 Jul 2022 10:08:03 +0200 Message-Id: <8670482178567897571edc0dfc60017453544071.1656072871.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010818_776246_76302EBB X-CRM114-Status: GOOD ( 10.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for identifying the R-Car H3Ne-1.7G (R8A779MB) SoC. As this is a different grading of the already supported R-Car H3-N ES3.0 (R8A77951) SoC, support for it is enabled through the existing ARCH_R8A77951 configuration symbol. Signed-off-by: Geert Uytterhoeven --- drivers/soc/renesas/renesas-soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index d171f1b635c7ecfb..6fa7f43f6f3bd511 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -320,6 +320,7 @@ static const struct of_device_id renesas_socs[] __initconst = { { .compatible = "renesas,r8a779m0", .data = &soc_rcar_h3 }, { .compatible = "renesas,r8a779m1", .data = &soc_rcar_h3 }, { .compatible = "renesas,r8a779m8", .data = &soc_rcar_h3 }, + { .compatible = "renesas,r8a779mb", .data = &soc_rcar_h3 }, #endif #ifdef CONFIG_ARCH_R8A77960 { .compatible = "renesas,r8a7796", .data = &soc_rcar_m3_w }, From patchwork Wed Jul 20 08:08:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923645 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F0D2CC43334 for ; Wed, 20 Jul 2022 08:09:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oSeC+5QwVg2YSUYRJIG706+So/hLBrhglnNyMRILpOo=; b=eFWcB5Era4p7xj 5zvGRklOBXXMeXXmO0lRnx7xzvIvjcPfOhU0i+bqfCZ67xoxFOfU+j3sv8UtkEBtpUdx6rS+AoMQC mdyRq5gTcn9X3vVAGMk2XT9OUOAb+XlcpkPmId/XlX+D7U9z4qpKnHLk419XUGw5+MHTWg62MLMWe 34OGPHvtCRbS2JVGMxD+UEi79iTIaQ6YrDf+lKdiRLFmu9eYupDL2ysrS0Wl2WVYapLRi3+a2MDFY 2inuHASnbPVh2kcl3b8SFb3fgRe35Idt+7P5yySzo7XRBov7wo9uUTecGPoE2VrhqPjWTLj+2/OdN 6d7DjhKhf78OsIlvIWwg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kn-002Ljx-WF; Wed, 20 Jul 2022 08:08:22 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kj-002Lag-Cw for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:19 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id xL892700A4C55Sk06L89sh; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra2-Lo; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsMt-5g; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH 3/6] arm64: dts: renesas: Add Renesas R8A779MB SoC support Date: Wed, 20 Jul 2022 10:08:04 +0200 Message-Id: <862a5eecc850cbb90af86a56513b644b638fb62b.1656072871.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010817_649219_7E54C074 X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Renesas R-Car H3Ne-1.7G (R8A779MB) SoC, which is a different grading of the R-Car H3-N (R8A77951) SoC. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779mb.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb.dtsi diff --git a/arch/arm64/boot/dts/renesas/r8a779mb.dtsi b/arch/arm64/boot/dts/renesas/r8a779mb.dtsi new file mode 100644 index 0000000000000000..40d1dce2f350f485 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779mb.dtsi @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the R-Car H3Ne-1.7G (R8A779MB) SoC + * + * Copyright (C) 2022 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779mb", "renesas,r8a7795"; +}; From patchwork Wed Jul 20 08:08:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923647 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3956C433EF for ; Wed, 20 Jul 2022 08:09:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BCwQAi/tiNiedeUvgX5IWhB+7hxos12ZQ0cW9JtjY8U=; b=g2M683v3r78+v1 MI0QqTpTtUmzXo12ZLJSmx/O+99T4+212gao7Yo+vrAJUohJ//mPJvO/tyIcvSeEXpWjuW36yEfNr 86jSOE4fPCSbAaO0b4Ih4MZoKAHdAA8T5ZJr5s3T6trXoEhkv/jojUFWDAdpQ/VsA3vYL2pHstaSu VfY5umjmsdcVwJdb8QELLBNNRCjlBADNNmayoDaYkH2TxyJ6ES19hMu7w0rK183FeDDvkK+mFpdxq 8b9geXGOrtTR6+vwKUNuldd4+WH7q8occVTjb1coDV4+uCBX9pPv1C+o8qnLlz4kdOdzksMKo/heX lYLeYUQEF4+8Zf3FHSlg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4l4-002LqN-OJ; Wed, 20 Jul 2022 08:08:38 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kk-002Lai-HI for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:21 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id xL892700R4C55Sk06L89sm; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra3-PU; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsN0-6L; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 4/6] arm64: dts: renesas: Add support for Salvator-XS with R-Car H3Ne-1.7G Date: Wed, 20 Jul 2022 10:08:05 +0200 Message-Id: <940a100c3d7ffc792dc16e942374691759f73397.1656072871.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010818_766119_2525D951 X-CRM114-Status: GOOD ( 13.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Renesas Salvator-X 2nd version development board equipped with an R-Car H3Ne-1.7G SiP. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 2 + .../boot/dts/renesas/r8a779mb-salvator-xs.dts | 53 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index e66d76d42e52559a..b83a5fcad1f3a4ba 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -77,6 +77,8 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb + dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044c2-smarc.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts b/arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts new file mode 100644 index 0000000000000000..72087b7427d6d814 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779mb-salvator-xs.dts @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the Salvator-X 2nd version board with R-Car H3Ne-1.7G + * + * Copyright (C) 2022 Glider bv + * + * Based on r8a77951-salvator-xs.dts + * Copyright (C) 2015-2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a779mb.dtsi" +#include "salvator-xs.dtsi" + +/ { + model = "Renesas Salvator-X 2nd version board based on r8a779mb"; + compatible = "renesas,salvator-xs", "renesas,r8a779mb", + "renesas,r8a7795"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; + + memory@500000000 { + device_type = "memory"; + reg = <0x5 0x00000000 0x0 0x40000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x40000000>; + }; + + memory@700000000 { + device_type = "memory"; + reg = <0x7 0x00000000 0x0 0x40000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 721>, + <&versaclock6 1>, + <&x21_clk>, + <&x22_clk>, + <&versaclock6 2>; + clock-names = "du.0", "du.1", "du.2", "du.3", + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; +}; From patchwork Wed Jul 20 08:08:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923650 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C646DC433EF for ; Wed, 20 Jul 2022 08:10:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WYpj/6yvQVwyCFZ8zmwIMuSkx4JpWS2i8/qFlFvR79E=; b=NCdN2F1dYaOCFZ sEAB33EY0uaGStjCY2gxdS3cuzjDn9Mg48NcIbaldQYhgmPCkslF+otJYpxdE+9CkGMaAF9fQkJkp sPlAQS4+NZRQHj90lKSx195KLzUe+lsnSdNtvDRje+diObChKocaFkHDwJqQtKE/Tioa+adUGa71F xC6C6g+u9Ad9XEbSONS9Ok+KxlOuheq1AtV/UXSi5W0dajGxvPYPkcf4B/ZgzM6ay8YjpD5awEVus EXQwx3oaWQZgSFFx/gi5uvBsqZe3AhCm6Bfu5qUh/qGEYnateBB/iC+HOhkVbAMU16d0GZUOBB8kT ftSzaPgt4cy4g0M/tTGQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4lc-002M6s-Ay; Wed, 20 Jul 2022 08:09:12 +0000 Received: from laurent.telenet-ops.be ([2a02:1800:110:4::f00:19]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kj-002LdM-PI for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:21 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by laurent.telenet-ops.be with bizsmtp id xL892700C4C55Sk01L893s; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra4-RE; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsN7-7s; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 5/6] arm64: dts: renesas: Add support for H3ULCB with R-Car H3Ne-1.7G Date: Wed, 20 Jul 2022 10:08:06 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010817_981731_0433E687 X-CRM114-Status: GOOD ( 13.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Renesas R-Car Starter Kit Premier equipped with an R-Car H3Ne-1.7G SiP. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts | 53 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index b83a5fcad1f3a4ba..68f64649f9fc362d 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -78,6 +78,7 @@ dtb-$(CONFIG_ARCH_R8A77961) += r8a779m3-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb.dtb dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts b/arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts new file mode 100644 index 0000000000000000..f17aa4b824abe6a6 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779mb-ulcb.dts @@ -0,0 +1,53 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the H3ULCB (R-Car Starter Kit Premier) with R-Car + * H3Ne-1.7G + * + * Copyright (C) 2022 Glider bv + * + * Based on r8a77951-ulcb.dts + * Copyright (C) 2016 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a779mb.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas H3ULCB board based on r8a779mb"; + compatible = "renesas,h3ulcb", "renesas,r8a779mb", "renesas,r8a7795"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; + + memory@500000000 { + device_type = "memory"; + reg = <0x5 0x00000000 0x0 0x40000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x40000000>; + }; + + memory@700000000 { + device_type = "memory"; + reg = <0x7 0x00000000 0x0 0x40000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 4>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", "du.3", + "dclkin.0", "dclkin.1", "dclkin.2", "dclkin.3"; +}; From patchwork Wed Jul 20 08:08:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 12923651 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F306CC433EF for ; Wed, 20 Jul 2022 08:10:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8h+YeUmxkdAgwlGdDTXa+6cTH7nd4qtJsdl2e9mo+1M=; b=VcSakWT/DvcFpW IEKrMjss0I2rWNINQFVy6E/m4XZBQ6tveSiuR8j2bQVWiroekbMpJNW0yJyvz4Abc4kTLx2ZBPGW6 WWWIwjyqtqQPdl6GHg1bm0bw6oKWFdvdtipcIUUkY+zRZK2n9h65x8HYvfwdhGDdjEjC5HLVhKSgP eW4aHKIozu8pAw3n7b/L6keWEhScRWkarfK+MCVJdGCZMRhe7ngwalC2F0H/xPtDqpnOC08iif+fU FLmGQ6/9U38KfX7IBebLv8UdbmwiEB1Ip4+vuI57+ehjZyABqwBnbfQCZh8SL75aJkECu2yJwwHe4 F5miZFimUEoIuaPgYKiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4lo-002MDd-CV; Wed, 20 Jul 2022 08:09:24 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oE4kk-002Lah-Hu for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 08:08:21 +0000 Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id xL892700S4C55Sk06L89sl; Wed, 20 Jul 2022 10:08:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1oE4ka-004Ra5-Ow; Wed, 20 Jul 2022 10:08:08 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1oE4ka-00EsNE-91; Wed, 20 Jul 2022 10:08:08 +0200 From: Geert Uytterhoeven To: Magnus Damm Cc: Rob Herring , Krzysztof Kozlowski , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH/RFC 6/6] arm64: dts: renesas: Add support for H3ULCB+Kingfisher with R-Car H3Ne-1.7G Date: Wed, 20 Jul 2022 10:08:07 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_010818_762146_BD5BCF0B X-CRM114-Status: GOOD ( 13.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the Renesas R-Car Starter Kit Premier and Kingfisher combo equipped with an R-Car H3Ne-1.7G SiP. Signed-off-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 1 + .../boot/dts/renesas/r8a779mb-ulcb-kf.dts | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 68f64649f9fc362d..ec757f3d89bc2077 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -79,6 +79,7 @@ dtb-$(CONFIG_ARCH_R8A77965) += r8a779m5-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77951) += r8a779mb-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R9A07G043) += r9a07g043u11-smarc.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts new file mode 100644 index 0000000000000000..2cc4e4a51845b9c7 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a779mb-ulcb-kf.dts @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: (GPL-2.0 or MIT) +/* + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3Ne-1.7G + * + * Copyright (C) 2022 Glider bv + * + * Based on r8a77951-ulcb-kf.dts + * Copyright (C) 2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + */ + +#include "r8a779mb-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas H3ULCB Kingfisher board based on r8a779mb"; + compatible = "shimafuji,kingfisher", "renesas,h3ulcb", + "renesas,r8a779mb", "renesas,r8a7795"; +};