From patchwork Sat Aug 4 23:11:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 10555973 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 27D74157D for ; Sat, 4 Aug 2018 23:14:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 19CED29AC6 for ; Sat, 4 Aug 2018 23:14:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BC0529ACA; Sat, 4 Aug 2018 23:14:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_WEB autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A08E229AC6 for ; Sat, 4 Aug 2018 23:14:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729686AbeHEBQ1 (ORCPT ); Sat, 4 Aug 2018 21:16:27 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53043 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729669AbeHEBQ1 (ORCPT ); Sat, 4 Aug 2018 21:16:27 -0400 Received: by mail-wm0-f66.google.com with SMTP id o11-v6so9944209wmh.2 for ; Sat, 04 Aug 2018 16:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hQEGdx/6OMJYAqGAVDtd98na8hGiWj0c2wK/OiaFUas=; b=sM2uWm4Tr0EsMpXYALaGkSUrpsaBN8XYUU3XFhHfaJM0uvwabhmNlbcAAfLjiYSB07 pO8/VlqeSBAA9CIID7H22UPK1un9m9uupCsEfutTPEawpX97C2ztq/C0S6czq1qpt86W Q9zbyxU+l0C4BbpzR8lpL3sdY5rWDE0N0DjDN//svT2rTVRT9Nt3ZdpaaUbmJOivrJUC 7dcVJLdVaApr3UBO++ClDx/IqGeQvN36LlZE7eeyM0lM5dr2TcK/Q2K3e5d9n2DnvUum qCz+vTDR2r+v+zxjLjJvEcdUsI6gBWqX0UshDExzoqE7i+zSMQiTQFzuvWO9CQb9Wqsu aGqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hQEGdx/6OMJYAqGAVDtd98na8hGiWj0c2wK/OiaFUas=; b=uXjyQdzBcdje9ayopngDBwK823bylLBqzx2eCYojbf82AGaqeM+kiXrg2cSpMQOUsO qcIEwx0Nj73JScnFNH1L6QOeDEkf/G780QFwNolsd1qpqRlRKpl5Lu6Bt5T4YwrR1VIY sUoAhckL3uW9DWfspZkSlcygrFa0cJj0hsdPmWZbiW9U+fOLROXAQhsL+bmy8Vn6qyIM 1Adj9TOMNla0MBigFA4iMq984yuo8+f4L+JLnwXDuH14biQwklwVxxbinhCkyat7uOsY oKdl2i/E+FRyg2XQQEEN02556++3gaq7FnHVxZCmmyAu6kE6kGExgRMpDhQISAmzkF5b ZgHQ== X-Gm-Message-State: AOUpUlG/lF5B9gA5NWckumnRTD3Nouzz36jui+OAGvGg6bVxzt0Pgq70 v4AjYch98+mpzpY+Kf6eXsU= X-Google-Smtp-Source: AAOMgpdtPFVogerqm3vZo6efBdZJAIkP1T8WVmfE6zPpZ1tX8155ShjdcQuKdnbz8IcgSDNnF9QtAA== X-Received: by 2002:a1c:b49:: with SMTP id 70-v6mr8575065wml.149.1533424448291; Sat, 04 Aug 2018 16:14:08 -0700 (PDT) Received: from localhost.localdomain (ipb218f456.dynamic.kabel-deutschland.de. [178.24.244.86]) by smtp.gmail.com with ESMTPSA id f17-v6sm5645627wrs.1.2018.08.04.16.14.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Aug 2018 16:14:07 -0700 (PDT) From: Eugeniu Rosca X-Google-Original-From: Eugeniu Rosca To: Simon Horman , Geert Uytterhoeven , Yoshihiro Shimoda , Sergei Shtylyov , Vladimir Barinov , Niklas Soderlund , Laurent Pinchart , Jacopo Mondi , Magnus Damm , Kieran Bingham , Takeshi Kihara , Ulrich Hecht , Kuninori Morimoto , linux-renesas-soc@vger.kernel.org Cc: Eugeniu Rosca , Eugeniu Rosca Subject: [PATCH 10/14] arm64: dts: renesas: r8a77965: ulcb: Initial device tree Date: Sun, 5 Aug 2018 01:11:10 +0200 Message-Id: <20180804231114.21420-11-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180804231114.21420-1-erosca@de.adit-jv.com> References: <20180804231114.21420-1-erosca@de.adit-jv.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Allow the bare M3-N-based ULCB board to boot. Signed-off-by: Eugeniu Rosca Reviewed-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/Makefile | 1 + arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 5debb02fad2c..ad7be9a8ca56 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -8,6 +8,7 @@ dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-x.dtb r8a7796-ulcb.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-ulcb-kf.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-salvator-xs.dtb dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-salvator-x.dtb r8a77965-salvator-xs.dtb +dtb-$(CONFIG_ARCH_R8A77965) += r8a77965-ulcb.dtb dtb-$(CONFIG_ARCH_R8A77970) += r8a77970-eagle.dtb r8a77970-v3msk.dtb dtb-$(CONFIG_ARCH_R8A77980) += r8a77980-condor.dtb r8a77980-v3hsk.dtb dtb-$(CONFIG_ARCH_R8A77990) += r8a77990-ebisu.dtb diff --git a/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts b/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts new file mode 100644 index 000000000000..4dde14738fb0 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a77965-ulcb.dts @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3-N ULCB (R-Car Starter Kit Pro) board + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +/dts-v1/; +#include "r8a77965.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas ULCB board based on r8a77965"; + compatible = "renesas,ulcb", "renesas,r8a77965"; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x78000000>; + }; +}; + +&du { + clocks = <&cpg CPG_MOD 724>, + <&cpg CPG_MOD 723>, + <&cpg CPG_MOD 721>, + <&versaclock5 1>, + <&versaclock5 3>, + <&versaclock5 2>; + clock-names = "du.0", "du.1", "du.3", + "dclkin.0", "dclkin.1", "dclkin.3"; +};