Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp3823855ybg; Sun, 7 Jun 2020 11:44:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjqeWcqRrZmz0dl2fviLNcXsgQjnqjyOwMClI4mHZnkvWlA+SYolOtUmscEr+B7jPVV+nf X-Received: by 2002:a17:906:8253:: with SMTP id f19mr18401533ejx.470.1591555451470; Sun, 07 Jun 2020 11:44:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591555451; cv=none; d=google.com; s=arc-20160816; b=AVq8C5pwBIElv9v9JgJIYIPgOA/KJ1spIVUElLmnBTsw8B5y64O5qPXN7Eo9dZ1Zf5 5haZ45LDWBejTU9ZBvNAHwcpgHOResrT3x0+v0e+poiD/wD4myEplOsTgGrJNC1A+8C9 lvWWUvAoKlT8BtFhwqfsjO5vCIanj3Ef8zlVkl250+B+HX5t1LRP/0mfuvQw1wLFNC6r L/Sc7cRgB/9a7ddKN1e5/+Dj+X7sWgOOmbGY9X8GQPrB+/gQDCFh8nG805T3vFyrYhy7 on9F8jShv82bzWzzug/e/CrogaTpDOozHDewiU4XfCgVzWPYtXwYoRz9z0IhwiTA2HUO 7jJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=SRcgMEUTBZ7ZezYfOkgIdGBxfsQ2tFA2oNCjQSJwbj8=; b=i/7DlnB4qM9Z1Dj+aHHGJHkOGzvj83KrbCsLmlWoUegO7DIlb1h1kNnzHkOZJptDkD 0L6ABKRoxgCmaoE7qUUgRoKmKPpLj8yjU4caQj4NuinVEroUpxpmau8L2bNgSiPgX3Kp PwzXKAcadvOHGreduJr22kCaTGBm1DGEVuPAX1uqKeFhwryF98zv3zWUcqCTJPBGblig 9XOWZ29H8NCnozfQ/twAmriUTIsQU/tgmVzJ/srghEqmiwOprsWm5M/UH4TIrBX+XWtM W83gXa/6w7lh8anwkK97h9JtupUHMQBGwtbxJXyKd5a7W3JG2GM1azc/byQv+NXJc+dX P9Tw== 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 z24si7400741eju.76.2020.06.07.11.43.48; Sun, 07 Jun 2020 11:44: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 S1728428AbgFGSmA (ORCPT + 99 others); Sun, 7 Jun 2020 14:42:00 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:26544 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726611AbgFGSl5 (ORCPT ); Sun, 7 Jun 2020 14:41:57 -0400 X-IronPort-AV: E=Sophos;i="5.73,485,1583161200"; d="scan'208";a="49036336" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 08 Jun 2020 03:41:56 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id D89C340CCFCF; Mon, 8 Jun 2020 03:41:54 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 05/11] arm64: dts: renesas: Add HiHope RZ/G2M Rev.3.0/4.0 main board support Date: Sun, 7 Jun 2020 19:41:01 +0100 Message-Id: <1591555267-21822-5-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591555267-21822-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1591555267-21822-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for HiHope RZ/G2M Rev.3.0/4.0 main board support based on r8a774a1 SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm64/boot/dts/renesas/Makefile | 3 +- .../dts/renesas/r8a774a1-hihope-rzg2m.dts | 38 +++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 2 + 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index fc171c3d6986..447947dfdb55 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2.dtb +dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m.dtb \ + r8a774a1-hihope-rzg2m-rev2.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-rev2.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts new file mode 100644 index 000000000000..d8042bbf8f6d --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts @@ -0,0 +1,38 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 main board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774a1.dtsi" +#include "hihope-common.dtsi" +#include "hihope-common-rev4.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M main board based on r8a774a1"; + compatible = "hoperun,hihope-rzg2m", "renesas,r8a774a1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@600000000 { + device_type = "memory"; + reg = <0x6 0x00000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 722>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.2", + "dclkin.0", "dclkin.1", "dclkin.2"; +}; diff --git a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi index a603d947970e..51a572898fd6 100644 --- a/arch/arm64/boot/dts/renesas/r8a774a1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774a1.dtsi @@ -10,6 +10,8 @@ #include #include +#define CPG_AUDIO_CLK_I R8A774A1_CLK_S0D4 + / { compatible = "renesas,r8a774a1"; #address-cells = <2>; -- 2.17.1