From patchwork Thu Oct 15 06:48:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 7402691 X-Patchwork-Delegate: horms@verge.net.au 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 870B79FC65 for ; Thu, 15 Oct 2015 06:48:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABA7420836 for ; Thu, 15 Oct 2015 06:48:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A15E7208B5 for ; Thu, 15 Oct 2015 06:48:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932386AbbJOGs3 (ORCPT ); Thu, 15 Oct 2015 02:48:29 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:36570 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932303AbbJOGs2 (ORCPT ); Thu, 15 Oct 2015 02:48:28 -0400 Received: from reginn.isobedori.kobe.vergenet.net (p2250-ipbfp1101kobeminato.hyogo.ocn.ne.jp [122.22.210.250]) by kirsty.vergenet.net (Postfix) with ESMTPA id B9ADA25B7A0; Thu, 15 Oct 2015 17:48:22 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1444891702; bh=r9FGBqHwmSQ0MaqQagb9lWUEr5pIujcX/RF1AhSUYhg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lk9cayBceysSC02AVjudB0UX1Py1mWzryMahFgV011jrkIDpdASaMr5p5Qsa8eeuA R1+KJE9r/cDpFFIsR5Ey0f51Ec/O0go2qUOxxo10IUD5LNhRm1+qDTD7GIMKk7VMVN GSdIE5lHmMmmY6fz+g1Ehi171acCa2OJ3mxMgvGQ= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 96E249405AE; Thu, 15 Oct 2015 15:48:21 +0900 (JST) From: Simon Horman To: linux-sh@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm Subject: [PATCH v5 2/5] arm64: dts: r8a7795: add EthernetAVB device node Date: Thu, 15 Oct 2015 15:48:15 +0900 Message-Id: <1444891698-8780-3-git-send-email-horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444891698-8780-1-git-send-email-horms+renesas@verge.net.au> References: <1444891698-8780-1-git-send-email-horms+renesas@verge.net.au> 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_SIGNED, 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 From: Kazuya Mizuguchi Signed-off-by: Kazuya Mizuguchi [horms: minor updates] Signed-off-by: Simon Horman Acked-by: Geert Uytterhoeven --- v0 [Kazuya Mizuguchi] v1 [Simon Horman] * moved to soc node * updated patch subject v2 [Simon Horman] * Specify all interrupts * Use named interrupts * Rebase * Remove spurious whitespace change introduce in v1 v3 [Simon Horman] * As suggested by Geert Uytterhoeven - Add power-domains property * Added Ack v4, v5 * No change --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 42 ++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 6efa49f97e07..63bc74e89fa4 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -312,6 +312,48 @@ /* Empty node for now */ }; + avb: ethernet@e6800000 { + compatible = "renesas,etheravb-r8a7795"; + reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + interrupt-names = "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14", "ch15", + "ch16", "ch17", "ch18", "ch19", + "ch20", "ch21", "ch22", "ch23", + "ch24"; + clocks = <&mstp8_clks R8A7795_CLK_ETHERAVB>; + power-domains = <&cpg_clocks>; + phy-mode = "rgmii-id"; + #address-cells = <1>; + #size-cells = <0>; + }; + dmac1: dma-controller@e7300000 { /* Empty node for now */ };