Received: by 10.223.185.116 with SMTP id b49csp1035058wrg; Wed, 21 Feb 2018 10:57:28 -0800 (PST) X-Google-Smtp-Source: AH8x227gUXUxONSchRGSfRxdjKZ4dBWU7dCuPiWSkIxX7hsPCDgUWQ+09P+Zdii6Z7sA/k/69e7o X-Received: by 2002:a17:902:24c1:: with SMTP id l1-v6mr4013650plg.281.1519239448258; Wed, 21 Feb 2018 10:57:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239448; cv=none; d=google.com; s=arc-20160816; b=RdPPyq/39scdsowrNNayyRy2gJLbHx8R39lA6j+qoggXdoaJnYerDS0P3T8TAWTWwp B5wDQoUiBBuD5GiZ60HrJj4NHlk0FHTgAfYrgPKp2ouIjWZsW1y53AS4YsDSpCOjfGTk 4II/XegwHEPelInZPe5e7xlOqHzvc6ig4uuG1734i55XPxz/RlMWKYbK1PO65F8n63I8 ty0Dodn79mDVA7OaDTRsbYYMbbOVKQhsauDqkyKAA5sOrbJdTHY6IFDSy3iUU1pICBT3 Gzo1jirq4KoRwZZiKR7McKleO00LsUTLSb0Pf9Ois/nxezFrdRUflV7L0I/SA86YSk8g 3fBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=Ka9wFDqLErgPi0mhQZ4QBdl3l2tB7hNHJ63hRzVoQog=; b=wIMWXztSpENLjOT16IFORQ6ber0W+9bGbpAx3CbdNAkqRsz6gZsSDrj33mHBtGAAMs NGnDX+WiFsFsmbzJvib12UPVQvrkSrQefmjvtWfK4oeWl7WHu5vuHwoiNo+yEt+5MHsF 2dkG3thn1Mv1b8pmVXsXo/L1PsMofZozmZ3Yqm5B13zuGGnQcfhvHdMmQm9AvIi9DbXY vuER0mbieaiW64Gvxme/TLLx76u9wGMLA3XhlFurbbpg7M1Ggk7uVVgTAJ12zejUvIht mIy6mBJhsL5ROt3xb7VU1EdFTDwCltrBdHsByoluuOIN61MJ22xNJSBgUJRFcFJvN30X vk6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=t3T9/lwu; 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 c5si2008661pfn.386.2018.02.21.10.57.14; Wed, 21 Feb 2018 10:57:28 -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; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=t3T9/lwu; 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 S938416AbeBUPtG (ORCPT + 99 others); Wed, 21 Feb 2018 10:49:06 -0500 Received: from mail-lf0-f68.google.com ([209.85.215.68]:32837 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938400AbeBUPtD (ORCPT ); Wed, 21 Feb 2018 10:49:03 -0500 Received: by mail-lf0-f68.google.com with SMTP id f19so3027910lfg.0 for ; Wed, 21 Feb 2018 07:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Ka9wFDqLErgPi0mhQZ4QBdl3l2tB7hNHJ63hRzVoQog=; b=t3T9/lwuEn2+GQzAfs4Nz2L1koLz9442cnE3KTl3SIVg27D0f8F+uJI7kei/Rf9DQ+ X6DE5G81gR5mMCb6W/slEzYHlvu2NZgSSKItiSkU8OBZ3GYrVRdFB7qN0USilFtjZjAC rRH+HuL95X8f1C6ZMsUnd/N+Ia6SlzvWSLIZRoYvfMOsr2c/Er7kywJnNBEHYg6g4nTE NOQNN3FWL1ot10CoRcHG6rLaBxyMV2YSggzUkCzdtpUYBXDn0K3m0zBvNujPCkU7RoCL u4xV+DRrRgobvY0UDvULMXxhH+Xtpm0ENad//U44jx6Fk6LqMW0gssBVhMGpYGYCE6rY fTgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=Ka9wFDqLErgPi0mhQZ4QBdl3l2tB7hNHJ63hRzVoQog=; b=fhohy9f4AsRJM27n8LOE3f/JwILMkkEc7PNWxLj3wxUgCMNERjwWLpPb1CqmH3/GKF sPtzLROjY0kvks+foED7qvwD5JELABoCqvuDGSSgbJ6x2dxiw/OByMbe559svTQ/2SL+ p3E9xLG7xUanY9XOqxN+jS3KrbJ+weqa7+OuoOUeSR3I5CWlWYRPJSOtGeHpT1ii1Lwj HIU/gCczR3L16HyK1EllHJHSEPQ4KinUER6NF+pG5/1+OwTxXU81Uh7yGV5VTjSQMltw t9QpbdM0UeEU7zU5DGxbZIlm65WiI+WYdegW5Pc+gthpRcj2JykHfqIxQ0Wti80qI+yO DL7Q== X-Gm-Message-State: APf1xPB2wJqJRKuScbw4O3DfOdo+8E4JRLpdjG65/KPaAQlRSzYBvn2B Q97dZVKX+8Eqo/lyIIONFnkUc8ESMZM= X-Received: by 10.25.167.70 with SMTP id q67mr2725066lfe.49.1519228141620; Wed, 21 Feb 2018 07:49:01 -0800 (PST) Received: from wasted.cogentembedded.com ([31.173.86.186]) by smtp.gmail.com with ESMTPSA id l5sm5202509lje.58.2018.02.21.07.49.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Feb 2018 07:49:01 -0800 (PST) Subject: Re: [PATCH v2 19/19] ARM64: dts: r8a77965: Add EtherAVB device node To: jacopo mondi Cc: Jacopo Mondi , geert@linux-m68k.org, horms@verge.net.au, magnus.damm@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1519139541-18783-1-git-send-email-jacopo+renesas@jmondi.org> <1519139541-18783-20-git-send-email-jacopo+renesas@jmondi.org> <20180221100716.GF7203@w540> From: Sergei Shtylyov Organization: Cogent Embedded Message-ID: Date: Wed, 21 Feb 2018 18:48:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20180221100716.GF7203@w540> Content-Type: text/plain; charset=utf-8 Content-Language: en-MW Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 02/21/2018 01:07 PM, jacopo mondi wrote: >>> 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"; >> >> Why not just "rgmii"? TX delay is a board specific detail, no? >> > > I admit I took this one straight from r8a7796 dtsi. > Would you like to me resend and change this? Yes, unless Simon would fix it while merging... > Thanks > j > >>> + #address-cells = <1>; >>> + #size-cells = <0>; >>> + status = "disabled"; >>> }; >>> >>> csi20: csi2@fea80000 { MBR, Sergei