Received: by 10.223.185.116 with SMTP id b49csp4778491wrg; Tue, 27 Feb 2018 02:25:05 -0800 (PST) X-Google-Smtp-Source: AG47ELvQ3B5HpbXE70Cvra3NacLIwKwS5Sp+SXcFkiM7ICm/j2xz101kGJiC62X0plYskOvH55SH X-Received: by 10.99.146.26 with SMTP id o26mr3652954pgd.309.1519727105385; Tue, 27 Feb 2018 02:25:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519727105; cv=none; d=google.com; s=arc-20160816; b=pUjaFa1/7xA5r+hwbHUiY7SK/S7kl/VsumoY04RDQSigz4/QcSl1SkhbdOnElgSX0B PgnYNk6Rr3DCq9qbuZ3wumIF7TDcNVwu/6lUIOVMSfAHALJ96pLo02TxQ9FubZoKAbA0 F/ORAFSk8TTEkgf5nxK2axndN1gtzP3EepP0ViOAASvLnxPHa7yYq/IP1el9uJ25sn8V ZCKpoTFS99LR/ww5Y+y4Xoax4Nit8yrKO8dYEUIUT3AL4MQpZf65WuSpzgJ0LfNjB5u+ YqrbsUA6HN4Mlo89NueoaSZ1BV5csD0o3/CJhkjIlbOSc1EaD/IRWGtA+IzLfOciw7cM aWrQ== 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=2AbCggp7o9ieHPmXv/J9/hXyJLvCdYbjPdHiMWONEOQ=; b=cW+s4WTaE8iWIlrUgI4XOjveibrJXeX7So+93QlecU/hr6uyjThmKjfCweO4i+qW3n Podn/fZ47uod1WpuwND5eBPrgDhbJyuNNTK5obEaUE3Tc0fGGzbAcg9qY/F4l+tgpyJs bxPgdM/B5xO86Jg1VRef55cfsjhfroqb/lmol/eFEfYCB/7zRkgAP6IG82n0/5++pmT2 iZegxO9SEBY123n0NHBGLa/3zc3msEVlYGaVODJJ0ZePJpxD5WtLKYY4GcImn4rzDj+U EQHQD4kmU1HVfMAHLVeE35b9nelKZj2kjXOdG38FAQOmGNByS2yjn8jiSG5cPiSei2RM Lmvg== 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 198si5274041pga.176.2018.02.27.02.24.50; Tue, 27 Feb 2018 02:25:05 -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 S1752996AbeB0KYD (ORCPT + 99 others); Tue, 27 Feb 2018 05:24:03 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:60108 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752968AbeB0KYA (ORCPT ); Tue, 27 Feb 2018 05:24:00 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:2e0:f265:b1a6:a124:afcf:59d5]) (Authenticated sender: jacopo@jmondi.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6BE3DA80D9; Tue, 27 Feb 2018 11:23:55 +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, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 10/10] arm64: dts: renesas: r8a77965: Add EtherAVB device node Date: Tue, 27 Feb 2018 11:22:54 +0100 Message-Id: <1519726974-23160-11-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519726974-23160-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519726974-23160-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 v2 -> v3: - Send as part of a dedicated series reworking "rgmii" properties in all mainline Renesas boards/SoC - Add iommu dependencies v3 -> v4: - Remove iommu dependencies --- arch/arm64/boot/dts/renesas/r8a77965.dtsi | 43 ++++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 8c9648a..1f25934 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -522,11 +522,48 @@ }; 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"; #address-cells = <1>; #size-cells = <0>; - - reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; - /* placeholder */ + status = "disabled"; }; csi20: csi2@fea80000 { -- 2.7.4