From patchwork Fri Sep 16 13:38:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9335841 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 12F9A60839 for ; Fri, 16 Sep 2016 13:41:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 072F229FB8 for ; Fri, 16 Sep 2016 13:41:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F06C529FBA; Fri, 16 Sep 2016 13:41:37 +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=ham 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 064BE29FB9 for ; Fri, 16 Sep 2016 13:41:36 +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 1bktN2-00060v-31; Fri, 16 Sep 2016 13:40:00 +0000 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bktM6-000542-LV for linux-arm-kernel@lists.infradead.org; Fri, 16 Sep 2016 13:39:07 +0000 Received: by mail-lf0-x22f.google.com with SMTP id l131so61669970lfl.2 for ; Fri, 16 Sep 2016 06:38:42 -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=Yxotpp0XExgtNUjjeR0zPLN8l2nW3TRMxpqgNgZnaGU=; b=QR56t3YwvXZsv339F09QhfvND2D0SqoC6pyqgh2zxo8h4RIljqU/Y8qg7CjeAARBWi f+6r3tBEGPJ0bmsBfK5RFdeOJ57wrYLHRAXjDnlQSIe8vhOt4YEG96hRLW1CP75iKX6u +59F+q4DopKYh4uo0LrLAAfNn9p9cYgeiv2nTzeC0JnffOXLWkWGphUS1Gz+vrmzJ4Pa 08xj/RxiXJ4R+c1nztCBgPtepZgkwAI+MqhL/W2XMf6h9roJ9T7PBsZ7R5y6tYiQRXok DI8kAvN7SYoOzfmmBWjqTdUInNJk3rFFg4iiq/0C/4fwxOt4Gs7Yg26cFskzYWEpIqHd Evcw== 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=Yxotpp0XExgtNUjjeR0zPLN8l2nW3TRMxpqgNgZnaGU=; b=l3czfiYQY98mXSf+WEx0oQiTYmb5kNA+K2QCYOgfwiu0YpYHHyaR2cOnZXFfuXDxm/ 6ZjrXFnh82q6SM8guKsYpnyMITwoR+TsTVvRFDpoDwnjMpUPLNe6sYsr5YIBW4SJIrVI kKVoxVWE2j7KU4OJmiKrMZNK75hQvIsrKPP+obMv7TyI47SsGqYuZJoAdEjdWjVcRMy4 2NIC4wjZnqYLs+WNFiPLPH7OgJwMBHLG63yqo6B9haeLQOO0Q5H4JlGCVAYfRKgdWBal jxFxhHZ2G4iKN6lqOfwYGGBfYZHppOQmm/KIMAwC00SuZlqaAUXEJrwfiraQtr6JeT+3 0oPA== X-Gm-Message-State: AE9vXwNcUO+kKhkiqEJ3qTurwYIqllwKEerYBYgA/fMPR7/CUBB73OGeDCM9qwsulFmxkg== X-Received: by 10.25.154.10 with SMTP id c10mr6211934lfe.72.1474033120418; Fri, 16 Sep 2016 06:38:40 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.81.193]) by smtp.gmail.com with ESMTPSA id e8sm2326101lji.40.2016.09.16.06.38.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Sep 2016 06:38:39 -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 RFC 8/8] ARM: dts: sk-rzg1m: initial device tree Date: Fri, 16 Sep 2016 16:38:38 +0300 Message-ID: <2097453.1xPZsJcFmC@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.2-101.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <3533019.Wim1Kuh1ic@wasted.cogentembedded.com> References: <3533019.Wim1Kuh1ic@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160916_063903_099843_18CC1C1E X-CRM114-Status: GOOD ( 11.94 ) 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 --- 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 @@ -654,6 +654,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"; +};