Received: by 10.223.185.116 with SMTP id b49csp4032177wrg; Mon, 26 Feb 2018 09:59:38 -0800 (PST) X-Google-Smtp-Source: AH8x225LLR4fdE1uNo4CJBWNl3IummUfKLmCt0N1pbMkW2EzxhQBJrREgl4ZdFpcbgOGKGQjhzTD X-Received: by 10.99.103.195 with SMTP id b186mr9051245pgc.446.1519667978133; Mon, 26 Feb 2018 09:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519667978; cv=none; d=google.com; s=arc-20160816; b=TG3Wwa1n82LC6aG+YrSlVy30ILTodPApSlR9Rg7tJhTfcez0ozvpkhTRhuDz0KZ8tp xlh78w5pBQBvdem5h6++BK/gTarE6PH9nVV/7dr4TtrcdugNjgBlBoNDyvcct+GHdKCJ c1wt49iE+OOa2xtyhvNo+xDEm/VgihJV2tnknMYyuNzCI/JyNkeKGGfKGFjKMSPCkYKE ZhAnuN02VtRnzMupq4Vcv17szCCleyam/ALySZLXT2DDyv55t1wsSNlyIIgiD9BoCPDD xeWY5zRW51gGtx7HddtYOw8foWRn28qI0COtB8BVXGKU90eKgHdSqGN7aRgXxTh8m5OG FCWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=tO4jbgcgARDnwnnXmMwc5vIifZFK1KpXjgHDhGMmrLI=; b=kOwIQjFUL9WT4VV+7LTbEcuXcBe2wEA07Y2Ls5pu+UhqE1OZBV1ktGbhRwwmbI+FN7 y2UcPcCg1B6GozYMC1ev4n1FBOXtKKYGheBz/pEj7dI6Uzk5aB0+KfK+Agx4zk88m1pB X8+nocka/7+r23onhkd0WUGlQuXhFKJynbMEG0fFLZrwaUeDMLFCq05yWTjWnoaMgUr4 yfMnkFXTVZkwgcjV5pA8RAaokEvkIB/f+oj/5AAHHuwdoE4d0ZaqN02vZMSXMpgZ+E3l JMRaHelMGIlvVhodSDPw0d9Bs2NyQf7bW9qUhrQCqhJH1AkN7npNqL89Ceu5G5GT+s5e IvEA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l18si5814247pgn.103.2018.02.26.09.59.20; Mon, 26 Feb 2018 09:59:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752015AbeBZR6Y (ORCPT + 99 others); Mon, 26 Feb 2018 12:58:24 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:50387 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751935AbeBZR6J (ORCPT ); Mon, 26 Feb 2018 12:58:09 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:e122:d063:ac42:b74c]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 79C57C5A74; Mon, 26 Feb 2018 18:58:04 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, sergei.shtylyov@cogentembedded.com, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: Jacopo Mondi , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/8] arm64: dts: renesas: r8a77965: Add EtherAVB device node Date: Mon, 26 Feb 2018 18:57:16 +0100 Message-Id: <1519667836-31330-9-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519667836-31330-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519667836-31330-1-git-send-email-jacopo+renesas@jmondi.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Populate the ethernet@e6800000 device node to enable Ethernet interface for R-Car M3-N (R8A77965) SoC. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven --- v1 -> v2: - Replace ALWAYS_ON power area identifier with numeric constant --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 44 ++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index b3c0be8..37aac63 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -539,11 +539,49 @@ }; avb: ethernet@e6800000 { + compatible = "renesas,etheravb-r8a77965", + "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 32>; + resets = <&cpg 812>; + phy-mode = "rgmii"; + iommus = <&ipmmu_ds0 16>; #address-cells = <1>; #size-cells = <0>; - - reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; - /* placeholder */ + status = "disabled"; }; csi20: csi2@fea80000 { -- 2.7.4