Received: by 10.223.185.116 with SMTP id b49csp748146wrg; Tue, 20 Feb 2018 07:15:54 -0800 (PST) X-Google-Smtp-Source: AH8x225/WYRROiFXQREsdiwF/+p4Bv3j19Qf2QXxnLBqwjixHibUaYcXgAhYCLA+e3WnxsfAscfW X-Received: by 10.98.71.217 with SMTP id p86mr18256614pfi.81.1519139753979; Tue, 20 Feb 2018 07:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139753; cv=none; d=google.com; s=arc-20160816; b=e+4S2q9RFIhrv3GveicfabmjZfLrC007dsuWEmuevroghWdz9bGTLjA26fJHF/fryl QzXQZs2weYtmJwA9ZGkQTOlQEiKEdqW/jpKL8Vtbkdx+0MUFCikzUoxL5ZARvj3/lhNJ bpItxcNYWvbDzyoZcortzp/akFdsqu1sHyxAbBIy9K6V5k1q+0GMmFKg4B+l+IOOqDAJ 9y+XH+8LqOnAYSey5IUDndStwtPk003BtgM6t6G47nZ288xFq6r4dX1waKRhZV1t7RpM AQGbIn4BEFb6uMzjVjTzKob/ihvoXf5qFV7x6TPWjvG1T6rIXl2u7Mj9M7zh38UW/amd HvCw== 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=FFmeP+yDAnwDA0JXj1YzSXdieIDmJ/JxOWyT5k2XHUI=; b=Y7+np2jiqmiWa0ORbwkp7CQs3r0lTzqlB89UgO9VROH+1LScUvpNF5P2oEkGwN1nUp tOgKJ2luyOHeXt4gBbxmfqGf5Yy4goj8Wp7f8Qok/ta52mHyuFYqx+ZthLR1P6fagAWc VmBgj1YQz8llX14DXa8d/7uEqS0a07os61Y8ZF+fdU29K6QCDitL6oQ2Uw02lz9MLd6i pU6l0hqmxW2fFE/CsvZZYychPHZH7W0KAMFMcQFQkX7XojSRGs4Bk0tCml86C1JeFzAS 5IvPsmu1dgGvPErpB7r25zWzmUMX+eEcdTR75vhIFENwV6P4fwIvKqx4d4/80NUjMnz2 rfBA== 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 g12-v6si9270343pla.226.2018.02.20.07.15.39; Tue, 20 Feb 2018 07:15:53 -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 S1752676AbeBTPOk (ORCPT + 99 others); Tue, 20 Feb 2018 10:14:40 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:48048 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752196AbeBTPOi (ORCPT ); Tue, 20 Feb 2018 10:14:38 -0500 Received: from w540.lan (unknown [IPv6:2001:b07:6442:1ac4:4036:52e3:3484:3ff2]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 21D17C5A8C; Tue, 20 Feb 2018 16:14:33 +0100 (CET) From: Jacopo Mondi To: geert@linux-m68k.org, horms@verge.net.au, 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, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node Date: Tue, 20 Feb 2018 16:12:21 +0100 Message-Id: <1519139541-18783-20-git-send-email-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> References: <1519139541-18783-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 | 43 ++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a77965.dtsi b/arch/arm64/boot/dts/renesas/r8a77965.dtsi index 55f05f7..c249895 100644 --- a/arch/arm64/boot/dts/renesas/r8a77965.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77965.dtsi @@ -520,7 +520,48 @@ }; avb: ethernet@e6800000 { - /* placeholder */ + 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-txid"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; }; csi20: csi2@fea80000 { -- 2.7.4