From patchwork Tue May 30 22:49:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1787989 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=Y3HvVsHe; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QW6zg2cnHz20PW for ; Wed, 31 May 2023 08:50:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8EF078609C; Wed, 31 May 2023 00:50:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=mailbox.org header.i=@mailbox.org header.b="Y3HvVsHe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E1238509D; Wed, 31 May 2023 00:50:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [IPv6:2001:67c:2050:0:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6F536860A8 for ; Wed, 31 May 2023 00:49:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut+renesas@mailbox.org Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QW6zT2hVQz9sp8; Wed, 31 May 2023 00:49:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685486997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=kCifpesryzMbbVUN12fgaqW/G0b1z7eEycNpKbRPvQ0=; b=Y3HvVsHeoJPxqswc2FQb4+dXUQZPi4hTgDCypXfPngv1zPqx5C6yhGtaqz0W8oD4ZzkOyU 7Vn9cOo6qqpAf0dFGKWIkr99Zw6IRWNSuAbzLJAX3sc7//oSHZog8bqOiOWDjNMCO9Hkcg r9V6OAdRX+31mIT4E5iio4rwtOa6fzUCBIcM/SdgIYZkg80KzldTwpV4g2slHkyAESpumJ tjCDTQVLzrSmdqS3hVt8FLUkDSSkE06NOpVMhguiVmCEhLdHt15XOEfHFDkUEvnvoHgJAY cjmMEl8C8mN0IpKRXmOIAUuAesJj0QG+qJq2Z6z1dmubKp/BkIKICYZG7zlNwQ== From: Marek Vasut To: u-boot@lists.denx.de Cc: Geert Uytterhoeven , Andrew Lunn , Joe Hershberger , Michal Simek , Nishanth Menon , Ramon Fried Subject: [PATCH] ARM: dts: renesas: Add compatible properties to LAN8710A Ethernet PHYs Date: Wed, 31 May 2023 00:49:48 +0200 Message-Id: <20230530224948.949676-1-marek.vasut+renesas@mailbox.org> MIME-Version: 1.0 X-MBO-RS-META: byx9nm9icqqd1jioknx9z1dypujm7rpd X-MBO-RS-ID: d4c42ded246ec8d3d6e X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Geert Uytterhoeven Add compatible values to Ethernet PHY subnodes representing SMSC LAN8710A PHYs on RZ/A1 and R-Mobile A1 boards. This allows software to identify the PHY model at any time, regardless of the state of the PHY reset line. Ported from Linux kernel commit 1c65ef1c71e473c00f2a7a1b9c140f0b4862f282 . Signed-off-by: Geert Uytterhoeven Reviewed-by: Andrew Lunn Link: https://lore.kernel.org/r/247dc2074dae149af07b6d014985ad30eb362eda.1631174218.git.geert+renesas@glider.be --- Cc: Geert Uytterhoeven Cc: Joe Hershberger Cc: Michal Simek Cc: Nishanth Menon Cc: Ramon Fried --- arch/arm/dts/r7s72100-gr-peach.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/r7s72100-gr-peach.dts b/arch/arm/dts/r7s72100-gr-peach.dts index fe1a4aa4d7c..70d034c26dd 100644 --- a/arch/arm/dts/r7s72100-gr-peach.dts +++ b/arch/arm/dts/r7s72100-gr-peach.dts @@ -126,6 +126,8 @@ phy-handle = <&phy0>; phy0: ethernet-phy@0 { + compatible = "ethernet-phy-id0007.c0f0", + "ethernet-phy-ieee802.3-c22"; reg = <0>; reset-gpios = <&port4 2 GPIO_ACTIVE_LOW>;