Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp571608ybt; Wed, 24 Jun 2020 06:15:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybevbx8Elib2EwoeJGn9JE6s44ZRFzbaYdH/JluiuxC9Ubn0BSyq2pH6VmNkllnpBnVb7J X-Received: by 2002:aa7:c2c7:: with SMTP id m7mr26537629edp.148.1593004541854; Wed, 24 Jun 2020 06:15:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593004541; cv=none; d=google.com; s=arc-20160816; b=c+nbRh+KNxPUI2Pbp04WrCMEL0bWdVQD9f+x20luCnRvFO+mTXBTQtWcvTLoYfwZt0 UjKfMtSOIyNOKHssyqs9T/hU7UWi2tMM8YXM7PLZ0QHmXtYf+U50S78IkWxc3MONV3DR avssM59/TPaZnvnLw7aPsnqFzD3we9bc2KLEuT0W0clSQ4VdXQLqX4nDVI5MbGCcU822 X6BpxkmqkLKtBxYpHhd8bjIkGNpTPR1VsnjjDUTtCrqKLYX1xfHMrw0uOgj/K0wTfVRN lVWe8AtlQLkLrWKm0TLSwxnyG4OutHuIMOSi5aKByqjvDwDAXWvQl2SrHjsYs46RHnFg jHjA== 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=nUvrkSwWQHt2INiez+l1/yp0TvJbn4X1dQ7QVFj+y8k=; b=P0CTMDnYWmig/essa8pHEiiiWD0ajwElEdvr7htkkB3mqV9NoZu6wlQHAF+xPwBvYC RBhPv6EuBMCig0kVSx+IzvhhTYp4+fiRV8jqx1c01KFk2zTqC+Dn+nyzBg64mn8+hmnt mH2aFwi765KDMCqL+jxV8AAI9f+fnfibODWE5/uVVtxdBslcYQdQXkfCyGyHNZNNxzT9 Jxq3VHhFOF07tUCQfQaI2vBAWAxt6mg+lrQi24r6ZTpyv2giqTsRwF4/aObMDRDUJQgb uUmOeXcLBHxpZuwNdn14KodLeINRNGw3chIVCo5LcqtBiPhn9H+LMyW4AqmpnjEfMdwK ixiw== 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 s3si12444633ejq.532.2020.06.24.06.15.18; Wed, 24 Jun 2020 06:15:41 -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 S2391035AbgFXNOx (ORCPT + 99 others); Wed, 24 Jun 2020 09:14:53 -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 S2391009AbgFXNOq (ORCPT ); Wed, 24 Jun 2020 09:14:46 -0400 X-IronPort-AV: E=Sophos;i="5.75,275,1589209200"; d="scan'208";a="50279181" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 24 Jun 2020 22:14:45 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id CF97940062A1; Wed, 24 Jun 2020 22:14:43 +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 09/11] arm64: dts: renesas: Add HiHope RZ/G2N Rev.3.0/4.0 main board support Date: Wed, 24 Jun 2020 14:12:08 +0100 Message-Id: <1593004330-5039-10-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/G2N Rev.3.0/4.0 main board support based on r8a774b1 SoC. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/Makefile | 3 +- .../dts/renesas/r8a774b1-hihope-rzg2n.dts | 41 +++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a774b1.dtsi | 2 + 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index f09abfc43825..0c152c6048ce 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -5,7 +5,8 @@ dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-ex.dtb \ r8a774a1-hihope-rzg2m-rev2-ex.dtb dtb-$(CONFIG_ARCH_R8A774A1) += r8a774a1-hihope-rzg2m-ex-idk-1110wr.dtb \ r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dtb -dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-rev2.dtb +dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n.dtb \ + r8a774b1-hihope-rzg2n-rev2.dtb dtb-$(CONFIG_ARCH_R8A774B1) += r8a774b1-hihope-rzg2n-rev2-ex.dtb dtb-$(CONFIG_ARCH_R8A774C0) += r8a774c0-cat874.dtb r8a774c0-ek874.dtb \ r8a774c0-ek874-idk-2121wr.dtb \ diff --git a/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts b/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts new file mode 100644 index 000000000000..f1883cbd1a82 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n.dts @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N main board Rev.3.0/4.0 + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774b1.dtsi" +#include "hihope-rev4.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N main board based on r8a774b1"; + compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; + + memory@480000000 { + device_type = "memory"; + reg = <0x4 0x80000000 0x0 0x80000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&x302_clk>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +}; + +&sdhi3 { + mmc-hs400-1_8v; +}; diff --git a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi index 1e51855c7cd3..b221f2575e63 100644 --- a/arch/arm64/boot/dts/renesas/r8a774b1.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a774b1.dtsi @@ -10,6 +10,8 @@ #include #include +#define CPG_AUDIO_CLK_I R8A774B1_CLK_S0D4 + / { compatible = "renesas,r8a774b1"; #address-cells = <2>; -- 2.17.1