Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5114779pxj; Wed, 9 Jun 2021 09:26:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRC+MnzCh+ucFN+GaqCUkpl317nIvSIHFOi4NJ/hqbHZtM2mVNUG2TmiFkw1yjy4Pa66kL X-Received: by 2002:a17:906:a890:: with SMTP id ha16mr658417ejb.159.1623256019390; Wed, 09 Jun 2021 09:26:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623256019; cv=none; d=google.com; s=arc-20160816; b=lQ42hHznJTXhDyd6wn+/z241NeLMd0M6mwh4nddPgvo4Fa/03VjbQHxIzR6R7tIL9+ Yv5Zz67Vd5ONIbs1epghAcaFlF0MXnbk7A5YoXzdvb2fWyoLd/+KRGZScwPBrYwM8Hrk d388Sw7Q1psfKB7j9V9g9uX3u02SPFiHJPROJpW3/UoqaY16aZja+QkXQpgwmm2NXaZn 9iwasZ3+ZXYGXFOFGOAF9WL64d6gv7lvUoMGxGlexR6GKo4DtgVCEwd6ILfzcrh98v0Y unwmXmju/A7gzTRg3iYRQvGZSEHdxLUSRtxoj/6TfmZxxujXqtjdRSuo4SqotmSaZsEL S8zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=9fjICcd8SdhUGdjiuzqj12s2B9MmK1v7WBxy6jbZ1C0=; b=iuVxIp++I4sgLbpiNhwQWWHdSUlFI0vcl7c4nPcJK9qVYWQ3aXE6fvJBayEG8J3jZQ UunskAyZJxUlhz2ZRMXt4dubyFgVRoDpU7/FbxeusEZiQLVtZ0YEALLrVCMVvUyZ5Mxe LpqWr7GTEo8yPJ6kvj1L7JD9GnaoDfwteNBL1ky1PruaqP/D30Kei2jE7rXZ3FJhmUx2 CQd6Cw/LILW3cA8vzzz5vDxb0FKhY/a1p0frbnL/xa2RYJ8kOzXOl/6OgULmZ9WMaLt9 re/8DCW8q7G9sZaVfE84dVgzKAgLFBhWLCteUYlZbMUzhY7TRFVBwgtcq9oX05SSGUZ4 xSQQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz26si154210edb.106.2021.06.09.09.26.35; Wed, 09 Jun 2021 09:26:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239143AbhFIPfx (ORCPT + 99 others); Wed, 9 Jun 2021 11:35:53 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:25977 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239068AbhFIPf3 (ORCPT ); Wed, 9 Jun 2021 11:35:29 -0400 X-IronPort-AV: E=Sophos;i="5.83,261,1616425200"; d="scan'208";a="83887011" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 10 Jun 2021 00:33:33 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id AB7AA4009422; Thu, 10 Jun 2021 00:33:30 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon , Philipp Zabel , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v3 11/11] arm64: dts: renesas: Add initial device tree for RZ/G2L SMARC EVK Date: Wed, 9 Jun 2021 16:32:30 +0100 Message-Id: <20210609153230.6967-12-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210609153230.6967-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210609153230.6967-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add basic support for RZ/G2L SMARC EVK (based on R9A07G044L2): - memory - External input clock - SCIF Signed-off-by: Lad Prabhakar Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 2 ++ .../boot/dts/renesas/r9a07g044l2-smarc.dts | 21 +++++++++++++++ arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi | 27 +++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts create mode 100644 arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index f2de2fa0c8b8..68e30e26564b 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -62,3 +62,5 @@ dtb-$(CONFIG_ARCH_R8A77990) += r8a77990-ebisu.dtb dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb + +dtb-$(CONFIG_ARCH_R9A07G044) += r9a07g044l2-smarc.dtb diff --git a/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts b/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts new file mode 100644 index 000000000000..d3f72ec62f03 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2L SMARC EVK board + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g044l2.dtsi" +#include "rzg2l-smarc.dtsi" + +/ { + model = "Renesas SMARC EVK based on r9a07g044l2"; + compatible = "renesas,smarc-evk", "renesas,r9a07g044l2", "renesas,r9a07g044"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; diff --git a/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi new file mode 100644 index 000000000000..adcd4f50519e --- /dev/null +++ b/arch/arm64/boot/dts/renesas/rzg2l-smarc.dtsi @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2L SMARC EVK common parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +#include + +/ { + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + }; +}; + +&extal_clk { + clock-frequency = <24000000>; +}; + +&scif0 { + status = "okay"; +}; -- 2.17.1