Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp571451ybt; Wed, 24 Jun 2020 06:15:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb7a49cLZ4Pu4wVWVHJI5h6gOCUtPTQVU1lxowxDAdLgJD+YI3hcjAEdCMSG0vhZNL8jtw X-Received: by 2002:a17:907:20cf:: with SMTP id qq15mr24279919ejb.238.1593004528862; Wed, 24 Jun 2020 06:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593004528; cv=none; d=google.com; s=arc-20160816; b=Kx/vsgSYKx0VqYBmnRk9LFob52Br+Rj1oiSgCNsfBXVQtKd8TYEU2Fj/02M1pKZ+7t r7cjNQ3/sfjJimMSWfA0B3PA8+6ABQQ1vIfUuEdBTv6cQT36J0rMtT88yU6A/BQRpe3r lO7qJeTtagoHNPI/LdiL6JWpaElE+QApPsrCSVmpB27IrWCcRMDb+QePj+PTqEjqcvVn 5/tVVVBTzAwWXjWwNVWHcdJH2eZFkyZADRodhj+77pCNpTXFbmAIqbsc+huCCKID4Ba1 6J7o8oMPtVlIRw8OOn/mIlKnpCjCqBoKZzP/LzTUggySDMZBd9Z/jV1wD7qWGF+o0EzS QVnA== 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=5OXKxxf0bM8qaQ/2H4rKRlvizZn3WbxpaRVYPNBbst0=; b=gKs1wQVCjs8iG+mV09GK2CJV1oPpOx6gWIRKioPSKsLeIHrqfLQAsoOD8gb/bSfCe0 9LWgQfy3kadrc5PCbGUZFfggLQogqgdceKEbwR1n8T0bkLyhD/KIFdJfX02fimnahsW4 W04KgnTn4B8FnWK1velO8zKeYOukKbnGVI0yIMitLXxMNNzt/ONoeoWBMbvOV51U2qQ6 yl17hRE5jUUDEQhommKjh7Go2+w7jPdUaVdKjLBREyPWNQmUbUe6v3emWzu9V4wY6VQK OXBmvzIZaC21pIDtYrFtpX+7D3myJhMlaRLSnN74URDEEIPOaIXgEpC63aGjxOy6W45t gGBw== 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 f9si15659044ejl.52.2020.06.24.06.15.04; Wed, 24 Jun 2020 06:15:28 -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 S2390985AbgFXNOl (ORCPT + 99 others); Wed, 24 Jun 2020 09:14:41 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:62151 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390922AbgFXNOh (ORCPT ); Wed, 24 Jun 2020 09:14:37 -0400 X-IronPort-AV: E=Sophos;i="5.75,275,1589209200"; d="scan'208";a="50279164" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 24 Jun 2020 22:14:36 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id A097740062CE; Wed, 24 Jun 2020 22:14:34 +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 v2 05/11] arm64: dts: renesas: Add HiHope RZ/G2M Rev.3.0/4.0 main board support Date: Wed, 24 Jun 2020 14:12:04 +0100 Message-Id: <1593004330-5039-6-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1593004330-5039-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1593004330-5039-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 Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 3 +- .../dts/renesas/r8a774a1-hihope-rzg2m.dts | 37 +++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a774a1.dtsi | 2 + 3 files changed, 41 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..25ae255de0f2 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m.dts @@ -0,0 +1,37 @@ +// 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-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