From patchwork Tue May 31 22:32:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9145763 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 8237A60752 for ; Tue, 31 May 2016 22:32:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7619126464 for ; Tue, 31 May 2016 22:32:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AFF32666A; Tue, 31 May 2016 22:32:41 +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 EBE5E26464 for ; Tue, 31 May 2016 22:32:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753811AbcEaWck (ORCPT ); Tue, 31 May 2016 18:32:40 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:33737 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755911AbcEaWcj (ORCPT ); Tue, 31 May 2016 18:32:39 -0400 Received: by mail-lf0-f48.google.com with SMTP id s64so1095120lfe.0 for ; Tue, 31 May 2016 15:32:38 -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=7k6vNAZGYLCii1XIS7pDv7TwhOwl/VUZMaaGtxQ8dEs=; b=M6xiJtBnok6edl3the8YXIesp72D/9UAXmXGxvhKZ+KuerjuK/sRl4fl3LxuNnJFRp AcR7sNgoHTOtEnG30n3JwSyDrt6H3edoOdHB5Mqel2Q6tKWVmfW7ulvy0Lz4Yy30uZaU Ag7BKthDOOnjNISw3wBefmfwOT4FH2N/PXII0PWuikaLLdFJ+4p8UptE8eEaULLiQMCG KiYSUsggeS0kiQCOvOcy50mErCFodznLNHV9B0P5OPwiOlX3v053Pw5lfZXOYWrlWqay fzrcKUWUNfwH0gSNjKvUVhOKQnrvVzLjAtLCadIE1bZAtGrwO+gsT9X08DPL+1iH5ELh u5zg== 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=7k6vNAZGYLCii1XIS7pDv7TwhOwl/VUZMaaGtxQ8dEs=; b=POHonveQyPEWEAceuSv/uiOEWMHCEMinGxPkLEEWIcsIBYWhvZZhrTRiyTL4kbVVX1 YDH3QEguYlI6T63eChyfDXG1bbnCjFG5clM585rK71y3DkTCEpHQEf7vZo9we5sAVrgc ZFhWoOD0cMe/Xu9huifdKLuso4LChxpy2IhGvA4pBDVrevuRgHgp7vgMD6uFhkW8N7bS jLib0QMCbZPa7liWHLxYLFEEGdgCNJ88HpLNzEK9iLAbnCbmSf2xls/wYCj4cRqTvwzr ZTSonixI7doT0N2JuQuSkeoazqsilqF/HqCJKa/YTC9fygmhYV7F2A+Y/zgEMwyt42+D nCyg== X-Gm-Message-State: ALyK8tKivzW+OgnDCwUJguFd11FJbd6wtOQgKR1aWNTWe0v5MX3FdFjgzK129i1HhRC3hw== X-Received: by 10.25.21.85 with SMTP id l82mr352971lfi.194.1464733957651; Tue, 31 May 2016 15:32:37 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.163]) by smtp.gmail.com with ESMTPSA id d202sm2091379lfe.36.2016.05.31.15.32.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 15:32:37 -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 12/13] ARM: dts: blanche: initial device tree Date: Wed, 01 Jun 2016 01:32:35 +0300 Message-ID: <1923946.Jvi0TDUXFC@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.4.10-200.fc22.x86_64; KDE/4.14.17; x86_64; ; ) In-Reply-To: <13205049.n7pM8utpHF@wasted.cogentembedded.com> References: <13205049.n7pM8utpHF@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 --- 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"; +};