From patchwork Fri Sep 5 10:23:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4851331 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 795E69F314 for ; Fri, 5 Sep 2014 10:24:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6BF08201F7 for ; Fri, 5 Sep 2014 10:24:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 440CA20211 for ; Fri, 5 Sep 2014 10:24:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932068AbaIEKYD (ORCPT ); Fri, 5 Sep 2014 06:24:03 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:39877 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932120AbaIEKYB (ORCPT ); Fri, 5 Sep 2014 06:24:01 -0400 Received: by mail-lb0-f170.google.com with SMTP id w7so13376360lbi.29 for ; Fri, 05 Sep 2014 03:23:59 -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=041/Re62cpagSsObxUQ5KrZ50Jrvf7kvVm06IbctMR2WrJ+pAVNhH7xiY6ytfYbgoi RaxRUVy6Er+DBL9Fq/Ou9vYwytqzCVYai/zSnuajMLeXVuDei1Q+J1HBD8eiCbyveJ4K 2KUtpvyRPRV8MZW/zgtoTkwKhThP5bggnaHbvAeDHMQtq7uTd9VTiIFBLGWqMwSRxycP cxle6tfRBvRBpD0WP1N5QjD7t7h+VuX/gB9jci/psS8hWaoHhfwo8PRTPjZS8Vma85SR UmyNjeOvKBhiYuY+Y51RloHXsKnKhk9vbTFG7bPzITa2Rr+tKj4+w3vZ+c9+i3S/kxp4 zNWg== X-Received: by 10.152.88.46 with SMTP id bd14mr10797598lab.0.1409912639856; Fri, 05 Sep 2014 03:23:59 -0700 (PDT) Received: from groucho.site ([91.108.183.74]) by mx.google.com with ESMTPSA id cq4sm557587lad.10.2014.09.05.03.23.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 03:23:59 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, magnus.damm@gmail.com, Khiem Nguyen , geert@linux-m68k.org, Ulrich Hecht , Hisashi Nakamura Subject: [PATCH v5 2/2] ARM: shmobile: Initial Alt board device tree Date: Fri, 5 Sep 2014 12:23:49 +0200 Message-Id: <1409912629-20835-3-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1409912629-20835-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1409912629-20835-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"; +};