From patchwork Fri Jun 3 21:35:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9154121 X-Patchwork-Delegate: horms@verge.net.au 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 0A9C960865 for ; Fri, 3 Jun 2016 21:36:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFB11282EE for ; Fri, 3 Jun 2016 21:36:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E499828338; Fri, 3 Jun 2016 21:36:06 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FDFA28337 for ; Fri, 3 Jun 2016 21:36:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932984AbcFCVgE (ORCPT ); Fri, 3 Jun 2016 17:36:04 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:34203 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932975AbcFCVgA (ORCPT ); Fri, 3 Jun 2016 17:36:00 -0400 Received: by mail-lf0-f52.google.com with SMTP id k98so62449718lfi.1 for ; Fri, 03 Jun 2016 14:35:59 -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=PKTdjyNNk+KGUn/hKGY4gZ1xqFVUuu/2hlqoOE1vq0s=; b=xMVBZRCccZsmNJGgfhmmhAsWvDtqViLMca2v7P0/qbsTY116aN22/RD2xzpLFRZkSh uXziZO2PZ9Pl8yMd14AB0y1aNuKY+2xaSfn0tqytVj+0nW18oE5OviZNMfu5EUFp/rRR qa1DMC2ZLiIDndKJ/2pJHNtFDOwWBNgLMMy2Fe4oOW7XhHzOKEBkpvIb6PSrY95Noo7U ycex4i/2Z+SUhlNFZbehhwzd1druucoYhVlNo2WhLW/2sTcVn8OqwlVPCrOH2ru1/+6P xRnJGlQtiSPbduyBw5/alBo55eDPhuilXH1DZtq6dlHJPuzjdc5mI1QfgUhGWHtjRfT/ AG7A== 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=PKTdjyNNk+KGUn/hKGY4gZ1xqFVUuu/2hlqoOE1vq0s=; b=B0zp0iVuVcWNPaMSPuAf8zbtZOLz15r4TSlsDSPZos2zp6uWFMANbpQBcWh7AGiFzz FTPQK4tZbC8iHmTvEQKL48WzMwSfa8+UB490oGqG0b5oQU1GuQyUivMWI0eMoUZjolVf +wba/HWoKnZYNF7RmilGdVdHE9LmmhBKQW59879P9vGV0DupSnv2re/uxbf1977VxrjF Gegpbx40Z8kvN/Xnbzic9YoLpKNlc8wH7Dgd6fqqiU3ia7Qmzasq2pCQNru832HrJVlN EiE2/fYl3Z0eqJvogR3r6AdHaK5sGI1gi5/SEX/Abw+EnCbzKPuoXEyDfExMVg6ci1nn fBgQ== X-Gm-Message-State: ALyK8tIsOcBLyewVfE2N2sZyovur3z3gNw3LuTDYu9CjuIm71z4ENUfJMwf2XbqTtb7bUA== X-Received: by 10.25.77.129 with SMTP id a123mr1414016lfb.3.1464989758358; Fri, 03 Jun 2016 14:35:58 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.86.122]) by smtp.gmail.com with ESMTPSA id z8sm713595lbv.42.2016.06.03.14.35.57 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Jun 2016 14:35:57 -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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 10/11] ARM: dts: blanche: initial device tree Date: Sat, 04 Jun 2016 00:35:56 +0300 Message-ID: <13571934.l66Gg7Cpm9@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: <3446154.oZ24315zaL@wasted.cogentembedded.com> References: <3446154.oZ24315zaL@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.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 2: - added Simon's ACK and Geert's tag too. arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7792-blanche.dts | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 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,44 @@ +/* + * Device Tree Source for the Blanche board + * + * 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"; +};