From patchwork Tue Sep 12 20:37:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9950123 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E109C603F4 for ; Tue, 12 Sep 2017 21:06:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2ECA290CE for ; Tue, 12 Sep 2017 21:06:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C78FA290CC; Tue, 12 Sep 2017 21:06:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB66B290D7 for ; Tue, 12 Sep 2017 21:06:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751484AbdILVFl (ORCPT ); Tue, 12 Sep 2017 17:05:41 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:36583 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbdILVFk (ORCPT ); Tue, 12 Sep 2017 17:05:40 -0400 Received: by mail-lf0-f48.google.com with SMTP id m199so29513354lfe.3 for ; Tue, 12 Sep 2017 14:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=EJDCXSHiBaHg0cIPe7rdgdbkzSgwQNIbM10ww2vhV6Y=; b=ouHpR+HXoShBJbi4EMtiVd7gzL2J/xLyd0diCQFe+RcTJLvoyok8SdRShs0DigDhWu XheItMPnx4SrT8ijUzxpV24R9aOS8rQ26IZZAuiOJG9K4cbieM9SPWYvC+1qLMp2fZPM l1bqA9uso7M/4MVBGjIhOflvVt2bjOG01iL3tnaPp0zlmW+KLBpNQ9P6AewaxtWwsFf3 pPvkeol/OCnjrpRLdQcJ8NMmqmleppQUcEHGwsxAZ5Ol1d7VtbFYwlJEVGSMjPSnTyjb 3F4jS4RT4jzfU/Po0jftrLlxo9D+LJrSW17epp4ZMv1AukcAZFfk8kITKiUDYy4i6Zeb gVtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=EJDCXSHiBaHg0cIPe7rdgdbkzSgwQNIbM10ww2vhV6Y=; b=AT2Y4xN7yeFKBpOf9g0EM5fEwR4iEGCc/rlft9i3TYkFGO2RT8VwsYrj2ggZopGiP2 7h9iS3gtHKfb+OgiyaEpU3gA+tEQ/P7GBH6AeA2PxJUPTKqrvbZbhrDjSLPVS94+ydA5 zBSX/3tpgs1WQuLt/P8P0lOlcKmK2g4j/mLJ9/Ik0VZQQAAEWxfLDCypgJXc6xl1SyB0 aWj+riGe2TpPTUTyRlG5VIyBAf8JSTSjH871cXE3zP0u3RqeduDT5Lq9WBpL0Fgf8FAW o5uK4x8fOj9iBA9nt6EWUGddhDTVt1WVsmEZTTg+j0x7NUp7sKJbiSlljLsg1eTbX8Yd jCYg== X-Gm-Message-State: AHPjjUhKXnSQPLYG0CUtUeaErij8+bn6xl7pfRxMuhhsUGl6nTLinjCB /t3c63AzOYgjlm6n X-Google-Smtp-Source: AOwi7QCnYPBVmUPdeoWOyaCUkNf1TVH/RE0hxmLW3Nnad4Ar6VteYdZfjMhjOLcqBN0dDz3uK8wjBA== X-Received: by 10.25.229.144 with SMTP id i16mr5006773lfk.159.1505250339497; Tue, 12 Sep 2017 14:05:39 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.236]) by smtp.gmail.com with ESMTPSA id x28sm253444lje.30.2017.09.12.14.05.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 14:05:38 -0700 (PDT) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Wed, 13 Sep 2017 00:05:35 +0300 Message-Id: <20170912210535.529848695@cogentembedded.com> User-Agent: quilt/0.64 Date: Tue, 12 Sep 2017 23:37:24 +0300 To: Rob Herring , Simon Horman , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org, Vladimir Barinov , Sergei Shtylyov Subject: [PATCH 08/11] arm64: dts: renesas: r8a77970: add EtherAVB support MIME-Version: 1.0 Content-Disposition: inline; filename=arm64-dts-renesas-r8a77970-add-EtherAVB-support.patch Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Define the generic R8A77970 part of the EtherAVB device node. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -311,5 +311,49 @@ resets = <&cpg 203>; status = "disabled"; }; + + avb: ethernet@e6800000 { + compatible = "renesas,etheravb-r8a77970", + "renesas,etheravb-rcar-gen3"; + 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 = <&cpg CPG_MOD 812>; + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; + resets = <&cpg 812>; + phy-mode = "rgmii-id"; + #address-cells = <1>; + #size-cells = <0>; + }; }; };