From patchwork Fri Aug 7 03:20:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6964871 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 DC9C19F38B for ; Fri, 7 Aug 2015 03:20:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 04CC2206D5 for ; Fri, 7 Aug 2015 03:20:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 12D5A206B2 for ; Fri, 7 Aug 2015 03:20:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754283AbbHGDUH (ORCPT ); Thu, 6 Aug 2015 23:20:07 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:42604 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754161AbbHGDUF (ORCPT ); Thu, 6 Aug 2015 23:20:05 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie1.idc.renesas.com with ESMTP; 07 Aug 2015 12:20:04 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 8A32D490B5; Fri, 7 Aug 2015 12:20:04 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 74C19480A4; Fri, 7 Aug 2015 12:20:04 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 646D9480A3; Fri, 7 Aug 2015 12:20:04 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id NAC16428; Fri, 7 Aug 2015 12:20:04 +0900 X-IronPort-AV: E=Sophos;i="5.15,626,1432566000"; d="scan'";a="191978658" Received: from mail-hk1lp0122.outbound.protection.outlook.com (HELO APAC01-HK1-obe.outbound.protection.outlook.com) ([207.46.51.122]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Aug 2015 12:20:03 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HKXPR06MB0598.apcprd06.prod.outlook.com (10.161.181.147) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 7 Aug 2015 03:20:02 +0000 Message-ID: <87lhdndbz9.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 16/16 v5][RFC] Local: arm64: renesas: add SalvatorX board support on DTS User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Simon , Geert Uytterhoeven CC: YOSHIYUKI ITO , Magnus , Linux-SH , Gaku Inami , shimoda , munakata , komatsu , goda Date: Fri, 7 Aug 2015 03:20:02 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0012.apcprd06.prod.outlook.com (25.164.91.22) To HKXPR06MB0598.apcprd06.prod.outlook.com (25.161.181.147) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 2:ceoe+jYTyQy8SqHQpxfQzC1EgwZRyohOzWLF6M8H4CgryttXfQVRu9kEulhde7rjihRFD10dC3ZuTHj9JI45K+C9U+KPXoFV5xCH/B5+JVluuWXUkW62hiFUXepkgRwtvXyMO38YRAkt/WepVkKc+sNpeqeUm6cR6lfvFKM0hd0=; 3:a0o8JtfGpmIkdb3ySzsJmpUOy0VsdY6p/Bb6gTvwdMRK2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vBH6c+6Iz8a7sN1YSMbGgpnQ/O2QkQCFX3eLbMgxAdVXVzCIy0SX88S4L1nYild5s1wcFyVfmTu+5RyZKmbuTO+wGnYvs8IY/jTCYrLTMr/wfJuzIuh9hY6Jua5oABv/yO99NXBi6V6Tpz5nklHPXQZGcggdnS8UfdKGQCNSx4PE4cKSvP9+PDEGJd3vjHI6zj9k2bioHgZnmx1ad50Q3GFbE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:HKXPR06MB0598; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB0598; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(68736005)(105586002)(53416004)(101416001)(86362001)(81156007)(46406003)(50986999)(106356001)(87976001)(66066001)(19580405001)(4001540100001)(54356999)(4001350100001)(5001770100001)(97736004)(19580395003)(69596002)(5001860100001)(23726002)(64706001)(36756003)(5001830100001)(77156002)(33646002)(5001960100002)(77096005)(47776003)(42186005)(50466002)(92566002)(122386002)(62966003)(40100003)(229853001)(46102003)(83506001)(189998001)(107886002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB0598; H:morimoto-PC.renesas.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HKXPR06MB0598; 23:0+Q+hSNuXPuNnDeKflD9vem98qWMBTA/hhMAIaem3?= =?us-ascii?Q?dNgCioR2GkctYys2n0DGoGZQJU5Qlx+lq1Pccm+Fs5bSsBpqhu/iKwNqFOsH?= =?us-ascii?Q?q0mKLXKuSHUAbAnKELO3Vb0nrjFBa9VTsDpgyU7vmK6DUSxuR9U3CEYFmPp/?= =?us-ascii?Q?NkGg+pVHGPc/XAh3vm9tqYDdjYm4OCeOaKDEa0L6YsEPcrig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fub5Dhri9tHORjjeVD7VIikUTJ01fHUsSxduRRP4?= =?us-ascii?Q?GRM0F0mq160gNtbadbV5dS/boOF0I+h6tj3d1TVxEUS94bwlJOQqOHU9WL1z?= =?us-ascii?Q?3EeJRtqs+zjmuw=3D?= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB0598; 5:gBOqwVuLmQgB70L+6TYkviDlC8PBrZW9eUHwoJ0mONmOSre+qJOxIBfyUxZyGW3oV2AKVJFnIrrzK6GWlN9z+0BZ1h3X9isXXAhSqjCWx3gDMZZWuJSI413S0/JdEeopJRidd+lGjOPzKWphr5O+Xw==; 24:eK1lVZHVDbuFLTHBvGFp6bpyCRWoChElz2RNYBeHCv6GMmMoLMkVqrCHIO8bw1Clwr62t24sah2vEg4a2pLDx/LDBpC6OXd9ohgOMZ49tlw=; 20:u65fl2U2PK1iMTDVzTHfFqQkqj1izcTm6Y+5XSbo1qjOWfcZf7D5BWcHPzXwQ1yro4g3MARyp5HMGcfh49vgaV/VPfXEqqm/V0lDdPfpSeFeNTCN6ZsiamPnPyVkT/FMF6Kk7vF9CuLF1vI3IK6E4POi6vGB+x8aHixo24CdU3U= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2015 03:20:02.1034 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB0598 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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: Gaku Inami Signed-off-by: Gaku Inami Signed-off-by: Takeshi Kihara Signed-off-by: Kuninori Morimoto --- v4 -> v5 - modify bootargs arch/arm64/boot/dts/renesas/Makefile | 2 +- arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts | 36 +++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile index 6aeefd9..255c957 100644 --- a/arch/arm64/boot/dts/renesas/Makefile +++ b/arch/arm64/boot/dts/renesas/Makefile @@ -1,4 +1,4 @@ -dtb-$(CONFIG_ARCH_RCAR_GEN3) += +dtb-$(CONFIG_ARCH_RCAR_GEN3) += r8a7795-salvatorx.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts new file mode 100644 index 0000000..1b00390 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvatorx.dts @@ -0,0 +1,36 @@ +/* + * Device Tree Source for the SalvatorX 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 SalvatorX board based on r8a7795"; + compatible = "renesas,salvatorx", "renesas,r8a7795"; + + aliases { + serial0 = &scif2; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = &scif2; + }; + + memory@48000000 { + device_type = "memory"; + /* first 128MB is reserved for secure area. */ + reg = <0x0 0x48000000 0x0 0x38000000>; + }; +}; + +&scif2 { + status = "okay"; +};