From patchwork Wed Sep 30 23:02:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7303231 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 D6BB19F444 for ; Wed, 30 Sep 2015 23:02:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0AE992063F for ; Wed, 30 Sep 2015 23:02:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1978720644 for ; Wed, 30 Sep 2015 23:02:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754760AbbI3XCa (ORCPT ); Wed, 30 Sep 2015 19:02:30 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:34768 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754457AbbI3XC3 (ORCPT ); Wed, 30 Sep 2015 19:02:29 -0400 Received: by labzv5 with SMTP id zv5so64245904lab.1 for ; Wed, 30 Sep 2015 16:02:28 -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=o7n+hIco4vGnrHJHlVih3g30hNpxlOeibmPMNAu5lVc=; b=MZbq2wK1sZq+2Abf9vM8yQzIOYBt5uE0dJZv30Oa5aJ0yE2a6/3/F9Ahf4WMw4bFcU VlLLhmbVeBvsxPslnhDapI1oDp/HUybcLo5C5aC7vKUGUBFD2EyqSDQv71Mh6i2ZQt2Z ZISpv/0UIUOpK/lp4pgfwS4Hh/aB7nioIYMYTS0rzCXQtegdHqFN/bk4jgfl5XYj5u6k X0T4aKIzhaI+dp+NYoaP0+s9ScaAgdU/pj7zqWvWHwB8arnNBRs2r1dxEsGox/U7XNu6 hfE/WrxdQ5sL3d8JnCy1/z1iYM4IqCao21QCRCuaclYjoB/eIw7yHWdg3qNe7Qb98B/H H1Ww== X-Gm-Message-State: ALoCoQlxSq6Di2IY4sTGWyr35T8P9Azk9/SGL9KC6I5NBLyIh9t2FtkCfdf75y55kK7yaBoy0V3B X-Received: by 10.152.21.99 with SMTP id u3mr1837750lae.123.1443654148592; Wed, 30 Sep 2015 16:02:28 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-250-80.pppoe.mtu-net.ru. [83.237.250.80]) by smtp.gmail.com with ESMTPSA id wo3sm308401lbb.41.2015.09.30.16.02.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 16:02:28 -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 v2 2/2] ARM: shmobile: porter: initial device tree Date: Thu, 01 Oct 2015 02:02:27 +0300 Message-ID: <2525707.dTm8VYu5Xs@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-20150930-v4.3-rc3' tag of Simon Horman's 'renesas.git' repo. Changes in version 2: - removed the 'console=' kernel parameter from the "bootargs" prop; - removed trailing space in the change log; - added Geert's ACK. 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 = "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"; +};