From patchwork Thu Oct 27 21:40:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9400507 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 4AB836057E for ; Thu, 27 Oct 2016 21:42:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 306632A3B5 for ; Thu, 27 Oct 2016 21:42:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2190E2A3B8; Thu, 27 Oct 2016 21:42:09 +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 C08DC2A3B5 for ; Thu, 27 Oct 2016 21:42:05 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzsPl-0002WA-4n; Thu, 27 Oct 2016 21:40:45 +0000 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bzsPg-0001eO-NQ for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 21:40:42 +0000 Received: by mail-lf0-x229.google.com with SMTP id b81so42592486lfe.1 for ; Thu, 27 Oct 2016 14:40:20 -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=0S77IUfRXCLoj06ber1wel79Uzxt2rkla3fz/xGvWTg=; b=pU/mKe+YYRPcw4M3CTHyYYx/+qffA3i8XznMc2VbDr82GnY1GH3ZwgmTE3qLIAQZMn dzLM93TvuV/o5CUzhTH77hfD0c76EThyGtKwpHAngZc9B8RTvOtipfzhaH50vBw8fBuh 0dQqJ4odqWSp3QGKGrAirSXsrFLDzz8Acu+hBqnrCKDEfYuwHupweFnP/SDrRItDwWao ludUyCi78wAYi5Q03zGNfc3y7Q4p3ByZkkYp3VJLNZN+zJ3GT/Soiu5CB3WD/cStVDnd LCgLe0rQyoJKJKdVzrlxohlGAlOqis7pkCBUTyqKEUJtuZ8AjwDcN1nsWpJx9Y5ZzQFG laSg== 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=0S77IUfRXCLoj06ber1wel79Uzxt2rkla3fz/xGvWTg=; b=EuvBC/K0SactA2PANPNEMpv0mnsGbUoxEh7wiIzpWhivFSgeeJvPInXlCZzxOKkfqm C8R8Jm559+EXNzCC3egd7QXGPi5RaYysips84svW6GKx8eIDT91h2J7g1HTqI19R5NvO N3V84Evm3MJTNwGsWj+t5QVIKQmRdbKbk210vsnVCO/xM7MeRot7iE6YC+0GLB6NNWBG Z55b7S2iUF8GWXw5QHpSJIUO9bcGyoorXP1l+kKWvTXXX9J90aGhzotWqp8EMLu+P+si XzTRnQhlVYTpwkiKmC2tmxcd1etOvgzlPcT0+iU23Jre2KIrMaaW6YOJRSXS3G7/7mzb +XTA== X-Gm-Message-State: ABUngverUgNJ61NgSfHho+pikrVpoD78n+c0yGxAVmc6PVv3cd7uuxd5hn/MPym4OmUWwQ== X-Received: by 10.25.215.88 with SMTP id o85mr8005348lfg.98.1477604418607; Thu, 27 Oct 2016 14:40:18 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.91]) by smtp.gmail.com with ESMTPSA id x16sm1594315lff.15.2016.10.27.14.40.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 14:40:17 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v5 6/7] ARM: dts: sk-rzg1m: initial device tree Date: Fri, 28 Oct 2016 00:40:16 +0300 Message-ID: <1978824.yG90jsYNe4@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.9-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <1580369.yToZzJza1l@wasted.cogentembedded.com> References: <1580369.yToZzJza1l@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_144041_134014_31591F59 X-CRM114-Status: GOOD ( 12.15 ) 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 R8A7743 SoC based SK-RZG1M board. The board has one debug serial port (SCIF0); include support for it, so that the serial console can work. Based on the original (and large) patch by Dmitry Shifrin . Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 4: - refreshed the patch. Changes in version 3: - added Geert's tag. arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7743-sk-rzg1m.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 @@ -677,6 +677,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ r7s72100-rskrza1.dtb \ r8a73a4-ape6evm.dtb \ r8a7740-armadillo800eva.dtb \ + r8a7743-sk-rzg1m.dtb \ r8a7778-bockw.dtb \ r8a7779-marzen.dtb \ r8a7790-lager.dtb \ Index: renesas/arch/arm/boot/dts/r8a7743-sk-rzg1m.dts =================================================================== --- /dev/null +++ renesas/arch/arm/boot/dts/r8a7743-sk-rzg1m.dts @@ -0,0 +1,44 @@ +/* + * Device Tree Source for the SK-RZG1M 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 "r8a7743.dtsi" + +/ { + model = "SK-RZG1M"; + compatible = "renesas,sk-rzg1m", "renesas,r8a7743"; + + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "ignore_loglevel"; + stdout-path = "serial0:115200n8"; + }; + + 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>; +}; + +&scif0 { + status = "okay"; +};