From patchwork Mon Jun 1 14:22:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 6522451 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D287C9F40A for ; Mon, 1 Jun 2015 14:23:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D958205B4 for ; Mon, 1 Jun 2015 14:23:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89F7E2052F for ; Mon, 1 Jun 2015 14:23:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753418AbbFAOXQ (ORCPT ); Mon, 1 Jun 2015 10:23:16 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:34364 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753465AbbFAOXJ (ORCPT ); Mon, 1 Jun 2015 10:23:09 -0400 Received: by wibut5 with SMTP id ut5so40240462wib.1; Mon, 01 Jun 2015 07:23:07 -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=kiCP3XkKoWurhU67AzqO9dRzV/usBQTjrtzVCI9bq3Q=; b=b4WhBcXkSjSrPFqZUmiyW9uJMZEXD2UpJnOcNZQ53eBMGrqJwz+ljfsTlLkZp6FzW7 hviwO0EriBou000RUMpROewY3iBnF7YvBbf5cXC/FBFMC//OsrdeZF9L0r9O6xTMjxbc XDO+1FVbLOfAuPYiWYo+JUFbzLVUNIin9beBm9e0NMbcC6pnLUEVwrXMldaoBFHIlUFL TSUU6UzNTBPQrLTFYqs+cG4E+LtV4mLH6BR2Neb33H3VbCxxZ9Upc0jL8NvRnigrPL1/ FMG2GpGuKZwQJxTM2zQoKUUJaQSxtWxGM75fD1b7bR3rW/v+06EYn6/f3RETHULd1t1w a7BA== X-Received: by 10.194.133.7 with SMTP id oy7mr42242645wjb.54.1433168587485; Mon, 01 Jun 2015 07:23:07 -0700 (PDT) Received: from groucho.site ([46.166.190.220]) by mx.google.com with ESMTPSA id bw5sm1794145wjc.31.2015.06.01.07.23.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 07:23:06 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au, linux-sh@vger.kernel.org Cc: magnus.damm@gmail.com, laurent.pinchart+renesas@ideasonboard.com, geert@linux-m68k.org, kuninori.morimoto.gx@renesas.com, Ulrich Hecht , devicetree@vger.kernel.org Subject: [PATCH v5 3/4] ARM: shmobile: r8a7793: add minimal Gose board device tree Date: Mon, 1 Jun 2015 16:22:56 +0200 Message-Id: <1433168577-7678-4-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.4.2 In-Reply-To: <1433168577-7678-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1433168577-7678-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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 Minimal DT description and Makefile entry for the Gose eval board. Support for console, timer, and Ethernet. Signed-off-by: Ulrich Hecht Acked-by: Geert Uytterhoeven Cc: devicetree@vger.kernel.org --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/r8a7793-gose.dts | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 arch/arm/boot/dts/r8a7793-gose.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 86217db..03d876f 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -492,6 +492,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \ r8a7790-lager.dtb \ r8a7791-henninger.dtb \ r8a7791-koelsch.dtb \ + r8a7793-gose.dtb \ r8a7794-alt.dtb \ sh73a0-kzm9g.dtb dtb-$(CONFIG_ARCH_SOCFPGA) += \ diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts new file mode 100644 index 0000000..96443ec --- /dev/null +++ b/arch/arm/boot/dts/r8a7793-gose.dts @@ -0,0 +1,63 @@ +/* + * Device Tree Source for the Gose board + * + * Copyright (C) 2014-2015 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 "r8a7793.dtsi" +#include +#include + +/ { + model = "Gose"; + compatible = "renesas,gose", "renesas,r8a7793"; + + aliases { + serial0 = &scif0; + serial1 = &scif1; + }; + + chosen { + bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; + stdout-path = &scif0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; +}; + +&extal_clk { + clock-frequency = <20000000>; +}; + +ðer { + phy-handle = <&phy1>; + renesas,ether-link-active-low; + status = "okay"; + + phy1: ethernet-phy@1 { + reg = <1>; + interrupt-parent = <&irqc0>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + micrel,led-mode = <1>; + }; +}; + +&cmt0 { + status = "okay"; +}; + +&scif0 { + status = "okay"; +}; + +&scif1 { + status = "okay"; +};