From patchwork Mon Aug 31 06:30:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7098571 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 37CB69F36E for ; Mon, 31 Aug 2015 06:26:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 40F4A20742 for ; Mon, 31 Aug 2015 06:26:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4C04C2073F for ; Mon, 31 Aug 2015 06:26:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751702AbbHaG0F (ORCPT ); Mon, 31 Aug 2015 02:26:05 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:35237 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750912AbbHaG0E (ORCPT ); Mon, 31 Aug 2015 02:26:04 -0400 Received: by pacdd16 with SMTP id dd16so128516283pac.2 for ; Sun, 30 Aug 2015 23:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=HSe816dOSYewORpevgmvpdZ59b8Sp6mndFCE7vwpkNE=; b=HravcParC/1LNWxI6gB/DCixxoF5Oy+hypZIyh9bIZul+bngRWR5dQtyWMOYJPVfpr HOscBavQaZME8n8qzj7xHLljZQ+3CNn5iPzh06z4p0y49YslM/54iMhmnAXEmWKPBZ4R 1TN3/idT5L8JY2LzejVer3nJoRi6vZNl2Bmzp5O22DZam52UL9Lw2mhpWbKARe+kxmHC fDedNPFmDW4LIXgtTSeqkzCBAYV/G4oltnHCdDRR/nzw9Sh56xjq6nEePwfD+LIwhImX NEdcDu9jNDL/m6bMlpkJtV1wGRcMPg8LggPd+nCkqG5CMjYg5zWLd35Yw/TCqva/yAnu RF7g== X-Received: by 10.66.186.39 with SMTP id fh7mr34637892pac.136.1441002363146; Sun, 30 Aug 2015 23:26:03 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id hh3sm13176393pbc.8.2015.08.30.23.25.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 23:26:01 -0700 (PDT) From: Magnus Damm To: Magnus Damm , linux-sh@vger.kernel.org Cc: takeshi.kihara.df@renesas.com, kuninori.morimoto.gx@renesas.com, gaku.inami.xw@bp.renesas.com, yoshihiro.shimoda.uh@renesas.com, hisao.munakata.vt@renesas.com, toshiaki.komatsu.ud@renesas.com, yusuke.goda.sx@renesas.com, horms@verge.net.au, geert@linux-m68k.org, laurent.pinchart@ideasonboard.com, Magnus Damm , yoshiyuki.ito.ub@renesas.com Date: Mon, 31 Aug 2015 15:30:14 +0900 Message-Id: <20150831063014.24004.39617.sendpatchset@little-apple> In-Reply-To: <20150831062907.24004.79614.sendpatchset@little-apple> References: <20150831062907.24004.79614.sendpatchset@little-apple> Subject: [PATCH v8 06/07] arm64: renesas: add Salvator-X board support on DTS Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto Add initial board support for r8a7795 Salvator-X. At this point only DEBUG0 and DEBUG1 serial ports are supported. Signed-off-by: Kuninori Morimoto Signed-off-by: Gaku Inami Signed-off-by: Takeshi Kihara Signed-off-by: Geert Uytterhoeven Signed-off-by: Magnus Damm --- Based on: [PATCH 15/25] arm64: renesas: add Salvator-X board support on DTS [PATCH 5/5] arm64: renesas: salvator-x: Update SCIF2 pin group [PATCH 5/6] arm64: renesas: salvator-x: Enable SCIF1 on serial1 Changes: (Magnus Damm ) - Added changelog Documentation/devicetree/bindings/arm/shmobile.txt | 2 arch/arm64/boot/dts/renesas/Makefile | 2 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 58 ++++++++++++++++++++ 3 files changed, 62 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0008/Documentation/devicetree/bindings/arm/shmobile.txt +++ work/Documentation/devicetree/bindings/arm/shmobile.txt 2015-08-29 15:41:16.642366518 +0900 @@ -57,5 +57,7 @@ Boards: compatible = "renesas,lager", "renesas,r8a7790" - Marzen compatible = "renesas,marzen", "renesas,r8a7779" + - Salvator-X + compatible = "renesas,salvator-x", "renesas,r8a7795"; - Silk compatible = "renesas,silk", "renesas,r8a7794"; --- 0009/arch/arm64/boot/dts/renesas/Makefile +++ work/arch/arm64/boot/dts/renesas/Makefile 2015-08-29 15:42:49.162366518 +0900 @@ -1,3 +1,5 @@ +dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb + always := $(dtb-y) subdir-y := $(dts-dirs) clean-files := *.dtb --- /dev/null +++ work/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts 2015-08-29 15:45:56.692366518 +0900 @@ -0,0 +1,58 @@ +/* + * Device Tree Source for the Salvator-X board + * + * Copyright (C) 2015 Renesas Electronics Corp. + * + * 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 "r8a7795.dtsi" + +/ { + model = "Renesas Salvator-X board based on r8a7795"; + compatible = "renesas,salvator-x", "renesas,r8a7795"; + + aliases { + serial0 = &scif2; + serial1 = &scif1; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = &scif2; + }; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; +}; + +&pfc { + scif1_pins: scif1 { + renesas,groups = "scif1_data_a", "scif1_ctrl"; + renesas,function = "scif1"; + }; + scif2_pins: scif2 { + renesas,groups = "scif2_data_a"; + renesas,function = "scif2"; + }; +}; + +&scif1 { + pinctrl-0 = <&scif1_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&scif2 { + pinctrl-0 = <&scif2_pins>; + pinctrl-names = "default"; + + status = "okay"; +};