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: 4056111 Return-Path: X-Original-To: patchwork-linux-sh@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 DF559BFF02 for ; Thu, 24 Apr 2014 22:42:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1EE712034E for ; Thu, 24 Apr 2014 22:42:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B9D9F2035E for ; Thu, 24 Apr 2014 22:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755886AbaDXWmx (ORCPT ); Thu, 24 Apr 2014 18:42:53 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:38759 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754968AbaDXWmm (ORCPT ); Thu, 24 Apr 2014 18:42:42 -0400 Received: by mail-lb0-f181.google.com with SMTP id z11so1287901lbi.12 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=mOoAYvBz7FH/zc6SG2WXQGXaI9x2L7vL4xpgQsp8JNZuGmTUD/YN7+ru0l/0bB+JW/ UnRq5e7UN1pFww1BBRYLGrBtXNrKcQu7f1If5TUdcRb61ZgC1XwjQ6Y5b72I9phuYxLY VtCbw0xL8HPvz4amlkFUaxh6+/p84ogGwzjbpIhmqTBUN82BBPQe/GAXQxq/c8w6chAM SrDbfLvKLzZYQcG3XqsTqxIFU35DjDbNcqxUUnsdl96rZ+qW483Sw7DMOS0ZP/8L5O8Q TXnX61l+yWnBicnbad+eBFGQK8UOGZXvtCQ6Kp8Ly5ryxv4GPsYhxG/eqdsjAmPJxvdX cZRg== X-Gm-Message-State: ALoCoQmsAUJ3icrOLBQKDZVwh+6BV5Dx39dTduMfszG2HrRB0QXduaJVT/nb94iFH+ipJNXXV2ig 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; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org 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> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; +};