From patchwork Fri Sep 5 08:38:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4850541 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D7B039F2EC for ; Fri, 5 Sep 2014 08:38:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E73920272 for ; Fri, 5 Sep 2014 08:38:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7F47720268 for ; Fri, 5 Sep 2014 08:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750906AbaIEIit (ORCPT ); Fri, 5 Sep 2014 04:38:49 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:33450 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbaIEIis (ORCPT ); Fri, 5 Sep 2014 04:38:48 -0400 Received: by mail-lb0-f170.google.com with SMTP id w7so13104314lbi.1 for ; Fri, 05 Sep 2014 01:38:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=KVVyBZqJx0/GsgAqWX10Hf7vTBzpUplM2LhoyVr/aVg=; b=WmyQ7irWFVRs+8gbU+45XGmyLzwr8dzAmOR48mrVe3XwCd4J5c4pm0T3SEe8NPSGGO 1A2u7YbnSq3n3y+2KNnlOZRWjx+zMhuUXYG1gx0z8V85QQKz2EXCKrelFwyrbljSO2An 1EqMlx5glpOvW5qrQVi5yn0IfQnycLSFPSWg2bZtN12+IXbInGzuV931TJ8Hj5lnXRm8 gR/7s/ezs1R+4UuxQwh/aDaUowDKbmIbjQ/ief4u+FgOt1vEz4LQa+T5RmTZ7oqjnUeS G/B9z0Zvi2c79lXRzonX9wc84UbUY+kiVE0YxsI5QGIYiKwCTIteVMa86fQ17T8c4gwA /PKA== X-Received: by 10.112.34.143 with SMTP id z15mr9538266lbi.86.1409906327592; Fri, 05 Sep 2014 01:38:47 -0700 (PDT) Received: from groucho.site ([91.108.183.74]) by mx.google.com with ESMTPSA id ai1sm506068lbd.12.2014.09.05.01.38.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 01:38:46 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, Khiem Nguyen , Ulrich Hecht , Hisashi Nakamura Subject: [PATCH v4 2/2] ARM: shmobile: Initial Alt board device tree Date: Fri, 5 Sep 2014 10:38:34 +0200 Message-Id: <1409906314-10946-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1409906314-10946-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1409906314-10946-1-git-send-email-ulrich.hecht+renesas@gmail.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=-8.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SBL, RP_MATCHES_RCVD, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 Signed-off-by: Hisashi Nakamura [uli: reduced to minimum, added cmt, enabled scif2, split off from SoC] Signed-off-by: Ulrich Hecht --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/r8a7794-alt.dts | 47 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/r8a7794-alt.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2bff594..783126b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -375,7 +375,8 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \ r8a7791-henninger.dtb \ r8a7791-koelsch.dtb \ r8a7790-lager.dtb \ - r8a7779-marzen.dtb + r8a7779-marzen.dtb \ + r8a7794-alt.dtb dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \ socfpga_cyclone5_socdk.dtb \ socfpga_cyclone5_sockit.dtb \ diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts new file mode 100644 index 0000000..79d06ef --- /dev/null +++ b/arch/arm/boot/dts/r8a7794-alt.dts @@ -0,0 +1,47 @@ +/* + * Device Tree Source for the Alt board + * + * Copyright (C) 2014 Renesas Electronics Corporation + * + * 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 "r8a7794.dtsi" + +/ { + model = "Alt"; + compatible = "renesas,alt", "renesas,r8a7794"; + + aliases { + serial0 = &scif2; + }; + + chosen { + bootargs = "console=ttySC0,38400 ignore_loglevel rw root=/dev/nfs ip=dhcp"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; + + lbsc { + #address-cells = <1>; + #size-cells = <1>; + }; +}; + +&extal_clk { + clock-frequency = <20000000>; +}; + +&cmt0 { + status = "ok"; +}; + +&scif2 { + status = "ok"; +};