From patchwork Sun Aug 12 13:31:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniu Rosca X-Patchwork-Id: 10563657 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 9FAB914E2 for ; Sun, 12 Aug 2018 13:33:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 904DE28784 for ; Sun, 12 Aug 2018 13:33:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 846F8287BF; Sun, 12 Aug 2018 13:33:17 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 074D628784 for ; Sun, 12 Aug 2018 13:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727854AbeHLQLU (ORCPT ); Sun, 12 Aug 2018 12:11:20 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34974 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727796AbeHLQLU (ORCPT ); Sun, 12 Aug 2018 12:11:20 -0400 Received: by mail-wm0-f65.google.com with SMTP id o18-v6so6265557wmc.0 for ; Sun, 12 Aug 2018 06:33:14 -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=aOjwUUw00ROUgiLfIxHwjKH/Xp8I6/wZWVmYLSNYymI=; b=ub0nHlUHWe6fh6hBc1Q6UDx8AZ9zObAT2WsQa94zhIy8FcnVJlurSGutg5wswaSjsm 12lxVwLER62XswgbnGvpazcfQlLAiJEJ5B/o3O1PnAeph0OtDnhyOKFPYJxl57TwKyXm v4JAATfq1XAKJuxX5cMwLDJ4Q3lYT7NXzSgEwQoZZUSYfc/IRXcMrgzSm4oxEB+ATEjE FN0zjfO5n0lAYoB4DK8U77GvRAfoPRqH/Ksp7nZ4dy4U5gAIi7fK0KUymLYfvB1KeFkS rw/lrBF6gavmefBiJNHFOfOtolP8ILCwA0uS0sX9Jzok1jDw+7agdv5bV2cLzklxgMRT Ehtw== 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=aOjwUUw00ROUgiLfIxHwjKH/Xp8I6/wZWVmYLSNYymI=; b=iFZfY6TUXaVubGNT0vUcyerxMTio8SzhglxeX9GMCkGqkXtPclJkwK9L/NFq9jWaqQ y7Xwrq9YEGrOkiniEgaT7Dk8+IBRUaJUoz5Lodjdsqv3xphZwkY6RFw86YrhHcLH4TQ+ +AIKYSHeaT+9yqzDx6oqZ87CE5io2ugedEX+SjyoWQhSKldWM+WnTBIoHSFDH0bADEEP 4TY2Aaf1ebi35jeRq/WeM2avTh9AhwTmaRggIppwdlg+L8Qb8tsQBWUZsNbR2GuLRAWJ 1m+wHIePLSXl5gde8xoTbaBAu5lblXLLjAwj9cowrx9WprAj5pEaVXoLRou5YkA/nFqy Ja/Q== X-Gm-Message-State: AOUpUlGg/4dH9MwcvTiWUkGVzq78baMenG3uriR3sghu8Fm6kEPFYbxT jxjwhVCahEDJGd892AZnyEE= X-Google-Smtp-Source: AA+uWPy+nuQPkp6GkWq9AYoRK6wZ6c7jdGsZjG97oJJHUeLfUXKHekvD9FTa/i3hS3y4baP+tXjU4g== X-Received: by 2002:a1c:cc17:: with SMTP id h23-v6mr5614630wmb.82.1534080794271; Sun, 12 Aug 2018 06:33:14 -0700 (PDT) Received: from localhost.localdomain (ipb218f42f.dynamic.kabel-deutschland.de. [178.24.244.47]) by smtp.gmail.com with ESMTPSA id f6-v6sm14987436wrw.78.2018.08.12.06.33.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 12 Aug 2018 06:33:13 -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 v2 4/7] arm64: dts: renesas: r8a77965: m3nulcb: Initial device tree Date: Sun, 12 Aug 2018 15:31:46 +0200 Message-Id: <20180812133149.7710-4-erosca@de.adit-jv.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180812133149.7710-1-erosca@de.adit-jv.com> References: <20180812133149.7710-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 --- Changes in v2: - [Jacopo Mondi] Removed redundant license text. Added Reviewed-by. - [Simon Horman] - Renamed DTS 's/r8a77965-ulcb.dts/r8a77965-m3nulcb.dts/' - Renamed board name 's/M3-N ULCB/M3NULCB/' - Renamed compatible string 's/renesas,ulcb/renesas,m3nulcb/' - Adapted Makefile and commit summary line 's/ulcb/m3nulcb/' --- arch/arm64/boot/dts/renesas/Makefile | 1 + .../boot/dts/renesas/r8a77965-m3nulcb.dts | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 arch/arm64/boot/dts/renesas/r8a77965-m3nulcb.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 9e2394bc3c62..eb158d1f90e9 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-m3ulcb.dtb dtb-$(CONFIG_ARCH_R8A7796) += r8a7796-m3ulcb-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-m3nulcb.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-m3nulcb.dts b/arch/arm64/boot/dts/renesas/r8a77965-m3nulcb.dts new file mode 100644 index 000000000000..964078b6cc49 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a77965-m3nulcb.dts @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3NULCB (R-Car Starter Kit Pro) board + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a77965.dtsi" +#include "ulcb.dtsi" + +/ { + model = "Renesas M3NULCB board based on r8a77965"; + compatible = "renesas,m3nulcb", "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"; +};