From patchwork Fri Oct 30 08:30:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 11868759 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 30D5D14C0 for ; Fri, 30 Oct 2020 08:33:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 123772075E for ; Fri, 30 Oct 2020 08:33:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725905AbgJ3Icy (ORCPT ); Fri, 30 Oct 2020 04:32:54 -0400 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:56390 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725823AbgJ3Icx (ORCPT ); Fri, 30 Oct 2020 04:32:53 -0400 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id 92C7E3C0579; Fri, 30 Oct 2020 09:32:36 +0100 (CET) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9FjaV4_1UDto; Fri, 30 Oct 2020 09:32:30 +0100 (CET) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id F3EB73C0A08; Fri, 30 Oct 2020 09:31:36 +0100 (CET) Received: from lxhi-065.adit-jv.com (10.72.94.31) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 30 Oct 2020 09:31:36 +0100 From: Eugeniu Rosca To: Geert Uytterhoeven , CC: Magnus Damm , Rob Herring , , , Steffen Pengel , Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH v2 1/3] arm64: dts: renesas: r8a77961: Add CAN{0,1} placeholder nodes Date: Fri, 30 Oct 2020 09:30:49 +0100 Message-ID: <20201030083051.18752-2-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201030083051.18752-1-erosca@de.adit-jv.com> References: <20201030083051.18752-1-erosca@de.adit-jv.com> MIME-Version: 1.0 X-Originating-IP: [10.72.94.31] Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org With the same background and purpose as described in v4.20-rc1 commit 92bc66bfce99cd ("arm64: dts: renesas: r8a77965: Add CAN{0,1} placeholder nodes"), add can0 and can1 placeholder nodes. Signed-off-by: Eugeniu Rosca Reviewed-by: Geert Uytterhoeven --- v2: Add "Reviewed-by". No other change. v1: https://lore.kernel.org/linux-renesas-soc/20201029133741.25721-1-erosca@de.adit-jv.com/ --- arch/arm64/boot/dts/renesas/r8a77961.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77961.dtsi b/arch/arm64/boot/dts/renesas/r8a77961.dtsi index 1ba30313c8b8..d2a5ea20378f 100644 --- a/arch/arm64/boot/dts/renesas/r8a77961.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77961.dtsi @@ -1017,6 +1017,16 @@ avb: ethernet@e6800000 { status = "disabled"; }; + can0: can@e6c30000 { + reg = <0 0xe6c30000 0 0x1000>; + /* placeholder */ + }; + + can1: can@e6c38000 { + reg = <0 0xe6c38000 0 0x1000>; + /* placeholder */ + }; + pwm0: pwm@e6e30000 { compatible = "renesas,pwm-r8a77961", "renesas,pwm-rcar"; reg = <0 0xe6e30000 0 8>; From patchwork Fri Oct 30 08:30:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 11868761 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4FF2F14B2 for ; Fri, 30 Oct 2020 08:33:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3768920739 for ; Fri, 30 Oct 2020 08:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726182AbgJ3IdK (ORCPT ); Fri, 30 Oct 2020 04:33:10 -0400 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:56412 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726148AbgJ3IdJ (ORCPT ); Fri, 30 Oct 2020 04:33:09 -0400 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id 141BE3C057F; Fri, 30 Oct 2020 09:33:06 +0100 (CET) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PC281Qsg9x3v; Fri, 30 Oct 2020 09:33:00 +0100 (CET) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id 40AE63C0588; Fri, 30 Oct 2020 09:31:46 +0100 (CET) Received: from lxhi-065.adit-jv.com (10.72.94.31) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 30 Oct 2020 09:31:45 +0100 From: Eugeniu Rosca To: Geert Uytterhoeven , CC: Magnus Damm , Rob Herring , , , Steffen Pengel , Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH v2 2/3] arm64: dts: renesas: r8a77961: ulcb-kf: Initial device tree Date: Fri, 30 Oct 2020 09:30:50 +0100 Message-ID: <20201030083051.18752-3-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201030083051.18752-1-erosca@de.adit-jv.com> References: <20201030083051.18752-1-erosca@de.adit-jv.com> MIME-Version: 1.0 X-Originating-IP: [10.72.94.31] Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Create a dedicated DTB for M3-ES3.0 + ULCB + Kingfisher combo. Inspire from the pre-existing ULCB-KF device trees: $ ls -1 arch/arm64/boot/dts/renesas/*ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts Signed-off-by: Eugeniu Rosca Reviewed-by: Geert Uytterhoeven --- v2: Add "Reviewed-by". No other change. v1: https://lore.kernel.org/linux-renesas-soc/20201029133741.25721-2-erosca@de.adit-jv.com/ --- arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index dffefe030a76..4215b7023d88 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -39,6 +39,7 @@ dtb-$(CONFIG_ARCH_R8A77960) += r8a77960-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-ulcb.dtb +dtb-$(CONFIG_ARCH_R8A77961) += r8a77961-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-x.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-xs.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts b/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts new file mode 100644 index 000000000000..6ec958348eb0 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3ULCB Kingfisher board + * + * Copyright (C) 2020 Eugeniu Rosca + */ + +#include "r8a77961-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas M3ULCB Kingfisher board based on r8a77961"; + compatible = "shimafuji,kingfisher", "renesas,m3ulcb", + "renesas,r8a77961"; +}; From patchwork Fri Oct 30 08:30:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 11868763 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 82421157C for ; Fri, 30 Oct 2020 08:33:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6646320739 for ; Fri, 30 Oct 2020 08:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgJ3IdP (ORCPT ); Fri, 30 Oct 2020 04:33:15 -0400 Received: from smtp1.de.adit-jv.com ([93.241.18.167]:56416 "EHLO smtp1.de.adit-jv.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726154AbgJ3IdO (ORCPT ); Fri, 30 Oct 2020 04:33:14 -0400 Received: from localhost (smtp1.de.adit-jv.com [127.0.0.1]) by smtp1.de.adit-jv.com (Postfix) with ESMTP id 9F43A3C057F; Fri, 30 Oct 2020 09:33:11 +0100 (CET) Received: from smtp1.de.adit-jv.com ([127.0.0.1]) by localhost (smtp1.de.adit-jv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bMSDwdgJbKdM; Fri, 30 Oct 2020 09:33:06 +0100 (CET) Received: from HI2EXCH01.adit-jv.com (hi2exch01.adit-jv.com [10.72.92.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by smtp1.de.adit-jv.com (Postfix) with ESMTPS id 45E2C3C058B; Fri, 30 Oct 2020 09:31:52 +0100 (CET) Received: from lxhi-065.adit-jv.com (10.72.94.31) by HI2EXCH01.adit-jv.com (10.72.92.24) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 30 Oct 2020 09:31:51 +0100 From: Eugeniu Rosca To: Geert Uytterhoeven , CC: Magnus Damm , Rob Herring , , , Steffen Pengel , Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH v2 3/3] dt-bindings: arm: renesas: Add R-Car M3-W+ ULCB with Kingfisher Date: Fri, 30 Oct 2020 09:30:51 +0100 Message-ID: <20201030083051.18752-4-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201030083051.18752-1-erosca@de.adit-jv.com> References: <20201030083051.18752-1-erosca@de.adit-jv.com> MIME-Version: 1.0 X-Originating-IP: [10.72.94.31] Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Document the use of the Kingfisher expansion board with the R-Car Starter Kit Pro equipped with an R-Car M3-W+ (aka M3-ES3.0) SoC. Inspired from v5.5 commit 24169f0a453754 ("dt-bindings: arm: renesas: Add R-Car M3-N ULCB with Kingfisher"). Suggested-by: Geert Uytterhoeven Signed-off-by: Eugeniu Rosca Reviewed-by: Geert Uytterhoeven --- v2: Newly added v1: NA --- Documentation/devicetree/bindings/arm/renesas.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/renesas.yaml b/Documentation/devicetree/bindings/arm/renesas.yaml index ff94c45eefb0..fe11be65039a 100644 --- a/Documentation/devicetree/bindings/arm/renesas.yaml +++ b/Documentation/devicetree/bindings/arm/renesas.yaml @@ -245,6 +245,7 @@ properties: - enum: - renesas,r8a7795 - renesas,r8a7796 + - renesas,r8a77961 - renesas,r8a77965 - description: R-Car M3-N (R8A77965)