From patchwork Tue Sep 29 23:26:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7291411 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7FD8BBEEA4 for ; Tue, 29 Sep 2015 23:26:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CF35B20676 for ; Tue, 29 Sep 2015 23:26:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19C842054D for ; Tue, 29 Sep 2015 23:26:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750966AbbI2X0N (ORCPT ); Tue, 29 Sep 2015 19:26:13 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:36708 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbbI2X0M (ORCPT ); Tue, 29 Sep 2015 19:26:12 -0400 Received: by laclj5 with SMTP id lj5so26657769lac.3 for ; Tue, 29 Sep 2015 16:26:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=ADUX19r5bfQ+igPclnAg9eb8LmLP9El54EwfzdB2IMM=; b=GpyNCZ31SSveNKX5ebr7APyG0BPoxYQBnm1NC6fr5YA82ZOIVCu0lB0Pelo2SAqYFO +GRWNZd2zq/fWswjKwnVDh7hWeyyR1IwIT/+zv+qnnQ1DBD+Ly9HHZFIS5r5FTtdwF5+ y2pBMS8P/AQOSU0qQwBZKCdxMP7Np+TdKjBM5IIdgMVGs0pzmIMME1hpmlODurzKTvPd PbpAMSlDH7eVlP3hxTGRiNfGAlCoUiTdqOpk1wpZxgN2IZWBLLEwHaeLsKKrTCgDOAQe 1cbGvo5uxSRQ2y/BiyWJEv19UfWjnf+SM4KfuuX1/XJslY7OSiu1R8C8521SSLNgpHzP wKXg== X-Gm-Message-State: ALoCoQkl1j5z5FD8A0itx8u+tBvRv8B/XIDHsTyWxXwJSIZZ5oh9secLIa0ptd+YiCzoE6OoejZM X-Received: by 10.112.134.102 with SMTP id pj6mr176871lbb.14.1443569170401; Tue, 29 Sep 2015 16:26:10 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-251-180.pppoe.mtu-net.ru. [83.237.251.180]) by smtp.gmail.com with ESMTPSA id f8sm3086216lff.28.2015.09.29.16.26.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Sep 2015 16:26:09 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: porter: initial device tree Date: Wed, 30 Sep 2015 02:26:08 +0300 Message-ID: <2022535.FYlSB7sRz4@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.7-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <201404250239.39150.sergei.shtylyov@cogentembedded.com> References: <201404250239.39150.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 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.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Add the initial device tree for the R8A7791 SoC based Porter low cost board (which is a slightly modified version of the Henninger board). SCIF0 serial port support is included, so that the serial console can work. Signed-off-by: Sergei Shtylyov Acked-by: Geert Uytterhoeven --- This patch is against the 'renesas-devel-20150928-v4.3-rc3' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7791-porter.dts | 54 +++++++++++++++++++++++++++++++++++ 2 files changed, 55 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 Index: renesas/arch/arm/boot/dts/Makefile =================================================================== --- renesas.orig/arch/arm/boot/dts/Makefile +++ renesas/arch/arm/boot/dts/Makefile @@ -532,6 +532,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ r8a7790-lager.dtb \ r8a7791-henninger.dtb \ r8a7791-koelsch.dtb \ + r8a7791-porter.dtb \ r8a7793-gose.dtb \ r8a7794-alt.dtb \ r8a7794-silk.dtb \ Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts =================================================================== --- /dev/null +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -0,0 +1,54 @@ +/* + * Device Tree Source for the Porter board + * + * Copyright (C) 2015 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 "r8a7791.dtsi" + +/ { + model = "Porter"; + compatible = "renesas,porter", "renesas,r8a7791"; + + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "console=ttySC0,115200 ignore_loglevel"; + stdout-path = &scif0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; + + memory@200000000 { + device_type = "memory"; + reg = <2 0x00000000 0 0x40000000>; + }; +}; + +&extal_clk { + clock-frequency = <20000000>; +}; + +&pfc { + scif0_pins: serial0 { + renesas,groups = "scif0_data_d"; + renesas,function = "scif0"; + }; +}; + +&scif0 { + pinctrl-0 = <&scif0_pins>; + pinctrl-names = "default"; + + status = "okay"; +};