From patchwork Thu Sep 29 22:34:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9357233 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 D7B316077A for ; Thu, 29 Sep 2016 22:34:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7D6E29BB1 for ; Thu, 29 Sep 2016 22:34:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BA61729BD1; Thu, 29 Sep 2016 22:34: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=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 E907229BB1 for ; Thu, 29 Sep 2016 22:34:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934815AbcI2Weg (ORCPT ); Thu, 29 Sep 2016 18:34:36 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:35365 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934511AbcI2Wef (ORCPT ); Thu, 29 Sep 2016 18:34:35 -0400 Received: by mail-lf0-f42.google.com with SMTP id l131so92428328lfl.2 for ; Thu, 29 Sep 2016 15:34:34 -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=I8EY8OM5ANbMxAM6NrKAOtnYEtzYAenK7khHHZswp79TuMMD3gf+qkW6bNjlQfa/fH UHf2YOGzLlsjI/FxJTHPmcqbPLwD7lyPki/7m7MGZBfV09QiNSoFkgejb7t1Jyf4pBcm 8et0wgFRWsPuUBQO4vUkUE5htw+TgLfLKBP9VHNhHKf5co0Z4qK0TN1Ybb3z1SINofal dobg5zBMvWnYlSRFpmJYJFaA+R7Zei5l61r+LhLsHpTgWzhAs3XEE+vmLUaD1BAokd3l jjzczISLZTx3tkEuVX8ed3lBjIbT212OE7xZqK99ibVxkG28OB0EufBBjlVl/uxVJm8H a/5A== 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=gPKOm6HYZBAFQ9Psc71RUYJ1bpN+JLn/FIRHZOusEKNWhR1igKf+naZzVBW92tLFFv wXGzyX42vkPxu5pZ4NssbKZxDwmKqQe7A+gw/XzAAZOIfIcPUQbnKRaw5IMAWeG5tFmm 9wtdt5dEr16oZxNh4Y4iUXVYXHSo6I5leEZ2ma9X9dWDv4SEKsj5UYJDvH3k4NlLwz96 e3+Mj82KInXVl2QJbKFKRMFbSaU0twKR70lsCmnUzqoHEbuI4QmykZyp+5UAITXrK1mR GkEj9lQPWiFgjC6/4bClNwG6bwgw5jB/ZZIPrsr+HJx6bZeQEirRfxZ+bT38dX8lPRej Hu4A== X-Gm-Message-State: AA6/9RkKomca/ZmmLZVMR6rGDZU1Hmmd4IBdQkGG9GxgfoZXZC0fD1VN3aA2c9CEEerOcQ== X-Received: by 10.25.24.101 with SMTP id o98mr1420408lfi.3.1475188473817; Thu, 29 Sep 2016 15:34:33 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.95]) by smtp.gmail.com with ESMTPSA id s63sm1361254lja.49.2016.09.29.15.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Sep 2016 15:34:33 -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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org Subject: [PATCH RFC v2 11/12] ARM: dts: sk-rzg1m: initial device tree Date: Fri, 30 Sep 2016 01:34:32 +0300 Message-ID: <2785627.2cnnnPXLS1@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.4-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <1987532.PE2ex6PrJ5@wasted.cogentembedded.com> References: <1987532.PE2ex6PrJ5@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 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"; +};