From patchwork Fri Oct 2 02:56:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 7312631 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 409B59F314 for ; Fri, 2 Oct 2015 02:56:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3B960203FB for ; Fri, 2 Oct 2015 02:55:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 39F82203F7 for ; Fri, 2 Oct 2015 02:55:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbbJBCz6 (ORCPT ); Thu, 1 Oct 2015 22:55:58 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35170 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750988AbbJBCz5 (ORCPT ); Thu, 1 Oct 2015 22:55:57 -0400 Received: by pacfv12 with SMTP id fv12so95208211pac.2 for ; Thu, 01 Oct 2015 19:55:57 -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=3d5pzYSDvVkdNOgXgv0Ft9N/XysXgu2vCd0TmmTGcVY=; b=BugW2fHNJhL1wcZ+hUU5amHdqOv7D7zjQw3O85yHv1kTqf96FIS+BHuNcOwmoOwlmb 4nMNAfRXvs7nVrBi4iY6EIR+oe2HxRaweFwCaX1A9m5D45WZtLdrGctmKvhyqh1IQTBo va/u2GtGo0lDkPelZ6fvKEKDcI0Mw+3YfSHj1GsC06Nuj5xC8UADs8rcuovJS4bKlQyN W1Ah0lbAsNVBKjfDtbUAYFs8IhgjUQ2CZ5I/T/P+YM0zRLtfYqtwDQp+8L+5V1Hbm9Fv SsvWmMhZgnvfC1Aaf9VwdtP4y9X3lJvHKyVPDekkS46TDZdDrf5M3bPVoWp5/8Sl79HB 3zSA== X-Received: by 10.66.146.197 with SMTP id te5mr12114938pab.35.1443754557219; Thu, 01 Oct 2015 19:55:57 -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 rw8sm9411650pac.11.2015.10.01.19.55.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 19:55:56 -0700 (PDT) From: Magnus Damm To: 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: Fri, 02 Oct 2015 11:56:12 +0900 Message-Id: <20151002025612.28158.43848.sendpatchset@little-apple> In-Reply-To: <20151002025509.28158.23176.sendpatchset@little-apple> References: <20151002025509.28158.23176.sendpatchset@little-apple> Subject: [PATCH v10 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 --- Changes since V9: (Magnus Damm ) - Added board specific EXTAL information by folding in: [PATCH][RFC] arm64: renesas: Add EXTAL configuration to Salvator-X Changes since V8: (Magnus Damm ) - None Changes since V7: (Magnus Damm ) - Added changelog 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 Documentation/devicetree/bindings/arm/shmobile.txt | 2 arch/arm64/boot/dts/renesas/Makefile | 2 arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 62 ++++++++++++++++++++ 3 files changed, 66 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-10-01 23:00:24.340513000 +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"; --- 0008/arch/arm64/boot/dts/renesas/Makefile +++ work/arch/arm64/boot/dts/renesas/Makefile 2015-10-01 23:00:24.340513000 +0900 @@ -1,2 +1,4 @@ +dtb-$(CONFIG_ARCH_R8A7795) += r8a7795-salvator-x.dtb + always := $(dtb-y) clean-files := *.dtb --- /dev/null +++ work/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts 2015-10-01 23:00:30.750513000 +0900 @@ -0,0 +1,62 @@ +/* + * 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>; + }; +}; + +&extal_clk { + clock-frequency = <16666666>; +}; + +&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"; +};