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"; +};