From patchwork Thu Jun 9 21:49:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9168309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8E9AF607DA for ; Thu, 9 Jun 2016 21:50:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F9E228310 for ; Thu, 9 Jun 2016 21:50:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7489728347; Thu, 9 Jun 2016 21:50:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 08A4428310 for ; Thu, 9 Jun 2016 21:50:56 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1bB7pb-0002l1-GP; Thu, 09 Jun 2016 21:49:39 +0000 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1bB7pX-0002dw-Qj for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2016 21:49:36 +0000 Received: by mail-lf0-x22c.google.com with SMTP id j7so11054099lfg.1 for ; Thu, 09 Jun 2016 14:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=SmiIEhaM8Ix31ggfqySMqdh0Dm7lHogm3wM2aJAhY0g=; b=Y13r2bVmcN1A1k/uUNE1sGqmgLl3Huv1dq3lBvfcwZ78q9qmNsCybhwH94dpIiAYAN N10IRo8D4nU82pSjB7AuURwQTOsDBFrWxG/13TwuFhzMyzUJWo5zHtxoVjR0Y7EUvRgq m0iiS46WwXnru8k57cq7Q3sVdj5KdwTEEyd+FGsQhcKNfiu4POazKxDsgk2D2OnAxA9s ziULIJYjDJCA+BiTkYrWaqBcEEByx4CTLsyQOztBvrJoibD2TcCoq/4SeB71yAAsG9f4 E98NcZk8qlV6a+nCKesg1RnAoyfI0l8AvLWz4iMA68rkM2DKXlM97Vxd8bSDLHsPhq4i Zgfg== 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; bh=SmiIEhaM8Ix31ggfqySMqdh0Dm7lHogm3wM2aJAhY0g=; b=TRCpUDMKmxdUmS5GNCNViKgV4TrvEXxcpXNJH9Fr0L3pXExebByomcmpk1UvTq2Omq II+jXCDCe43uSApohBWN1vA4qdhYynNFq2E1jKc//RpHKKe/P2PQs8Ct8ltNyZguNLLb HvcgWZfM6PbFBtiobbVv50zmMoPzOKfjXfMUoIVBAS9iSsuFGxPQ5IDChMBAS4FNJRj/ qNG96LHhmYTQpJf0THsHzl4A79iwOtbJyBI12XJRsdhz8qgh7Ao+lcY7FpCT7HxSBnir YTKOe2Z2zmJEQDHza1rnmZaJnwZh7IpKSQfR8mRZjShAQ+J3Z8kL+OkvXqFuNvpvXysW 8hEA== X-Gm-Message-State: ALyK8tKPRkh/t3MRIUGZsG8TA18CSAZl+FlAqDs76P15vqm2lJ8eXRuDcoDQWY90Uvo2jg== X-Received: by 10.46.1.196 with SMTP id f65mr2686764lji.24.1465508953824; Thu, 09 Jun 2016 14:49:13 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.139]) by smtp.gmail.com with ESMTPSA id g72sm905368lji.22.2016.06.09.14.49.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Jun 2016 14:49:13 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@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 Subject: [PATCH v4 11/12] ARM: dts: blanche: initial device tree Date: Fri, 10 Jun 2016 00:49:11 +0300 Message-ID: <1696555.qxkHIgkrXz@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.4.11-200.fc22.x86_64; KDE/4.14.17; x86_64; ; ) In-Reply-To: <1879394.3zBGLpF2nv@wasted.cogentembedded.com> References: <1879394.3zBGLpF2nv@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160609_144936_153770_4601C3E2 X-CRM114-Status: GOOD ( 11.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add the initial device tree for the R8A7792 SoC based Blanche board. The board has 2 debug serial ports: SCIF0 and SCIF3; include support for them, so that the serial console can work. Signed-off-by: Sergei Shtylyov Acked-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - added Renesas Electronics' copyright. Changes in version 2: - added Simon's ACK and Geert's tag too. arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7792-blanche.dts | 45 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) Index: renesas/arch/arm/boot/dts/Makefile =================================================================== --- renesas.orig/arch/arm/boot/dts/Makefile +++ renesas/arch/arm/boot/dts/Makefile @@ -638,6 +638,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ r8a7790-lager.dtb \ r8a7791-koelsch.dtb \ r8a7791-porter.dtb \ + r8a7792-blanche.dtb \ r8a7793-gose.dtb \ r8a7794-alt.dtb \ r8a7794-silk.dtb \ Index: renesas/arch/arm/boot/dts/r8a7792-blanche.dts =================================================================== --- /dev/null +++ renesas/arch/arm/boot/dts/r8a7792-blanche.dts @@ -0,0 +1,45 @@ +/* + * Device Tree Source for the Blanche board + * + * Copyright (C) 2014 Renesas Electronics Corporation + * Copyright (C) 2016 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 "r8a7792.dtsi" + +/ { + model = "Blanche"; + compatible = "renesas,blanche", "renesas,r8a7792"; + + aliases { + serial0 = &scif0; + serial1 = &scif3; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; +}; + +&extal_clk { + clock-frequency = <20000000>; +}; + +&scif0 { + status = "okay"; +}; + +&scif3 { + status = "okay"; +};