From patchwork Thu Apr 24 22:42:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4056191 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EC6CBBFF02 for ; Thu, 24 Apr 2014 22:45:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 339DD2034E for ; Thu, 24 Apr 2014 22:45:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C9E720160 for ; Thu, 24 Apr 2014 22:45:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdSMG-0007Iy-H4; Thu, 24 Apr 2014 22:43:08 +0000 Received: from mail-la0-f52.google.com ([209.85.215.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WdSMD-0007Gn-PR for linux-arm-kernel@lists.infradead.org; Thu, 24 Apr 2014 22:43:06 +0000 Received: by mail-la0-f52.google.com with SMTP id mc6so1318945lab.25 for ; Thu, 24 Apr 2014 15:42:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=vjV/W3sJDq2C1brTmHyksXnHDJ4LBfpxE4dlHjeR3wU=; b=IpLDRhtqwIMhYNj4kCK51f9F23/o3d/tD6xG/U8DM7FpsFusYO0hWEdm4NtDWelB3O 5OwHhEDN5+vz0bJyRiRCFtFCezwCce/Fa4pjLwJJrpOTKumVzk7GzG5vIfTPzwHS4+Jz y+GyB5Y/aUOZrTyemSB1cRv4CSDncjNQdveD+W6jM3vYzQRLUcjFvfBDejc2bB9skHLt 1f9HqS1Ngpdg/13VLPeNH04iJlYotinqQqlCVAyyQ+ntLlLlk8FeZue/ZJa8iNhpCD1B Ug7Smgn1aSmNmzkpMeV3pRR5w0n/aqEj+GDSdxjDG9nzTarRx69LjvZhygBJ9S4Rkpyh y72g== X-Gm-Message-State: ALoCoQlGgrjmRN8jM510yaLZLmmGB+rAQxFi5ZXKZC9Xkq4kAm13b7EkgceupigNKDQnRIIW2mko X-Received: by 10.112.126.7 with SMTP id mu7mr2681703lbb.17.1398379361038; Thu, 24 Apr 2014 15:42:41 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-63-24.pppoe.mtu-net.ru. [83.237.63.24]) by mx.google.com with ESMTPSA id x5sm5928391lbk.5.2014.04.24.15.42.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Apr 2014 15:42:40 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, linux-sh@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 Subject: [PATCH 1/2] ARM: shmobile: henninger: initial device tree Date: Fri, 25 Apr 2014 02:42:41 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) References: <201404250239.39150.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201404250239.39150.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201404250242.42725.sergei.shtylyov@cogentembedded.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140424_154306_005504_14EEF2D5 X-CRM114-Status: GOOD ( 12.71 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the initial device tree for the R8A7791 SoC based Henninger board. SCIF0 serial port support is included, so that the serial console can work. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/Makefile | 1 arch/arm/boot/dts/r8a7791-henninger.dts | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) Index: renesas/arch/arm/boot/dts/Makefile =================================================================== --- renesas.orig/arch/arm/boot/dts/Makefile +++ renesas/arch/arm/boot/dts/Makefile @@ -321,6 +321,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += r7 sh7372-mackerel.dtb dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ r7s72100-genmai-reference.dtb \ + r8a7791-henninger.dtb \ r8a7791-koelsch.dtb \ r8a7790-lager.dtb dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- /dev/null +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -0,0 +1,50 @@ +/* + * Device Tree Source for the Henninger board + * + * Copyright (C) 2014 Renesas Solutions Corp. + * Copyright (C) 2014 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 "r8a7791.dtsi" + +/ { + model = "Henninger"; + compatible = "renesas,henninger", "renesas,r8a7791"; + + aliases { + serial0 = &scif0; + }; + + chosen { + bootargs = "console=ttySC0,38400 ignore_loglevel"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; + + memory@200000000 { + device_type = "memory"; + reg = <2 0x00000000 0 0x40000000>; + }; +}; + +&pfc { + scif0_pins: serial0 { + renesas,groups = "scif0_data_d"; + renesas,function = "scif0"; + }; +}; + +&scif0 { + pinctrl-0 = <&scif0_pins>; + pinctrl-names = "default"; + + status = "okay"; +};