Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp623679pxj; Thu, 3 Jun 2021 15:23:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8Js7gIDgllandTJWkAkVCBBThmCjszEsRICAQLUwKaxlTeXqQ5LEaGTKOl2lIwLjtHv0C X-Received: by 2002:a05:6402:27c9:: with SMTP id c9mr1501354ede.371.1622758991818; Thu, 03 Jun 2021 15:23:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622758991; cv=none; d=google.com; s=arc-20160816; b=LMRhD9rTIbDQ9bxeHb+w1vMrg6FzPBIC1fddXC8KZC2ZLu6BXxEgy6DLZkP7G1RryC NdAwgXUS4SJXS1iXWHp8tUmckt7MDxgUVUw/6hwVfpg0fkuapogckwuf5Ol/VL0tM1CH C2m5to+/wtR6bUJxCEjkpCdZbctX8L9F9GJaunoRXynKJhGiskikeo0BKujbd5No9B2U OZTsCCgsLG3zKbu26xSH1CScVR7GDCWs+YmD5OTiw3NXxVy4El1pXF222jVraorFhpXg S6RSWYItkG0YLMJWb0qLLnuYxyLpfITUXpHPSZkBzoh3nRa1kPFOYkYx4FfqDoPC4/Bd 3c0A== 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=SGkxT+OjXY9TvRXEb2dUyo8jSokUB5/u4w89ec+QocQ=; b=WbZkl69Tg0YFCbBv80HyAs2CmEgpQ/UXXJLSr81FbGWv5xfS0T1u/IOZD31wEOPaGP isO2rjfLP260hyAw+/87nnJvDkWSm14iFXGh+aEtDF1v8L8DB9nflXWPrgAqjBQZjCBq Md6p3LHhcJUwD+6UEU2oo//EhHbkNZg3ysU0HMXQp4AZ0pP46Q9SLW8VpYPNqfkjhnf2 GSzDu+u4inuTRYiLHg+yLE9ng5h81hqCtB3I5NaRJx8uNO+D2MLRSdBZedN8WGITK0dy QAvZomQcCjQLRFib9RtfqKRF8Wt2Ka0XaaPcr2Pr6C7nSkuGsdBqHBTXLZoMqt/kgC3U 284g== 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 j3si1134803ejj.448.2021.06.03.15.22.48; Thu, 03 Jun 2021 15:23:11 -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 S231392AbhFCWUp (ORCPT + 99 others); Thu, 3 Jun 2021 18:20:45 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:39004 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230265AbhFCWUp (ORCPT ); Thu, 3 Jun 2021 18:20:45 -0400 X-IronPort-AV: E=Sophos;i="5.83,246,1616425200"; d="scan'208";a="83182185" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 04 Jun 2021 07:18:59 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 49437410B534; Fri, 4 Jun 2021 07:18:55 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Michael Turquette , Stephen Boyd , Catalin Marinas , Will Deacon , Greg Kroah-Hartman , Jiri Slaby , 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, linux-serial@vger.kernel.org Cc: Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH v2 12/12] arm64: dts: renesas: Add initial device tree for RZ/G2L SMARC EVK Date: Thu, 3 Jun 2021 23:17:58 +0100 Message-Id: <20210603221758.10305-13-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210603221758.10305-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20210603221758.10305-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 --- 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..de2b86cac577 --- /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 "r9a07g044.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