Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1155214ybs; Mon, 25 May 2020 08:25:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgyQQc//VrDxdgVo2Euj7zDRVBXfbWqnODM7aAE9j347gyeY54qV0X3Bs1WQHvx0+8vS98 X-Received: by 2002:a17:906:9383:: with SMTP id l3mr19524673ejx.520.1590420330243; Mon, 25 May 2020 08:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590420330; cv=none; d=google.com; s=arc-20160816; b=aZ9/nl1CF7p//mal4Wl1fNsdJgJ9AZOSe8NYRcnWS7Bq6KKpLIUusAaxnEp8N2wz/w xcWrxsL6UlSefZ7rRZu9OK+TZ26ww+dgfLV/afSsGlKJjKfig8izhJbRmu/7ctwQ2d+D v4TbiqUik+lytBr3fzdaYJCmyVUIf3mz526J/4EmoP+p8KaAvdO8MNZT0j8DNJtypkiw a72GNwQNaSp4z/OMZPT/TZ3eB9+sbZqpyUOEa8rAUA8MsTtnD95panRlZK6AtXzneatK 7g3WMPwUmCWbmqj8CEMcM4eQ5Ocmaoi/CNzPviB9hFeae+Zpg2FJkavurvb3WsllERsi rVzQ== 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; bh=hVAIAfEUzX+akq8q/F6wQIbK18yUN8/FkHBRPf/RLrY=; b=oltl/tcyp65FnugnpSoNzMun6mGOlELtw14/Qx36zcb0/8KQ0gaKerj5vz2mlK/LI4 ZzIDyA3YmvEGuSb8wYs4McMuI6hVHEh/hsvo0bROcrRuEDTFqxJwny0uSsJAVJ/aUJd9 t2/t/LQtBJDaTtk/ffvvEamLntMhPNKjPyxZS5Lefh7rDk67ok3oFI6eeUWCMey5pKYc UEeszhJHfzNbHAjPgGshiMvRVu3CVgWgE11FG9oejVuPr7aqbsfY69Kb4ohWGYSYFSOP Nrq6TMuwOSH0Ps4aAlArz7RyLVKuz8ahE7BSxz7fuElICd19L4Nmm1YfXbVTtdXxcU4O U/yQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a99si10440331edf.381.2020.05.25.08.25.07; Mon, 25 May 2020 08:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404146AbgEYPXI (ORCPT + 99 others); Mon, 25 May 2020 11:23:08 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:47234 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2404135AbgEYPXG (ORCPT ); Mon, 25 May 2020 11:23:06 -0400 X-IronPort-AV: E=Sophos;i="5.73,433,1583161200"; d="scan'208";a="47971344" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 26 May 2020 00:23:05 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 8E36D4006C6C; Tue, 26 May 2020 00:23:03 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 3/4] ARM: dts: r8a7742-iwg21d-q7: Enable Ethernet avb Date: Mon, 25 May 2020 16:22:08 +0100 Message-Id: <1590420129-7531-4-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590420129-7531-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <1590420129-7531-1-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable ethernet avb on iWave RZ/G1H carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Marian-Cristian Rotariu --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index bb1deb0..c57a571 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -15,6 +15,7 @@ aliases { serial2 = &scifa2; serial4 = &scifb2; + ethernet0 = &avb; }; chosen { @@ -45,7 +46,27 @@ }; }; +&avb { + pinctrl-0 = <&avb_pins>; + pinctrl-names = "default"; + + phy-handle = <&phy3>; + phy-mode = "gmii"; + renesas,no-ether-link; + status = "okay"; + + phy3: ethernet-phy@3 { + reg = <3>; + micrel,led-mode = <1>; + }; +}; + &pfc { + avb_pins: avb { + groups = "avb_mdio", "avb_gmii"; + function = "avb"; + }; + scifa2_pins: scifa2 { groups = "scifa2_data_c"; function = "scifa2"; -- 2.7.4