From patchwork Thu Jul 27 08:33:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 1813667 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=) 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 4RBPFM4lYxz1yYc for ; Thu, 27 Jul 2023 18:34:15 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5885E8680B; Thu, 27 Jul 2023 10:34:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 27C6F86860; Thu, 27 Jul 2023 10:34:02 +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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from 7.mo550.mail-out.ovh.net (7.mo550.mail-out.ovh.net [87.98.158.110]) (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 12FD4867D9 for ; Thu, 27 Jul 2023 10:33:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=armadeus.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sebastien.szymanski@armadeus.com Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.16.8]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 9F8E327B06 for ; Thu, 27 Jul 2023 08:33:56 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-vxjvj (unknown [10.110.115.131]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E46471FE5B; Thu, 27 Jul 2023 08:33:55 +0000 (UTC) Received: from armadeus.com ([37.59.142.110]) by ghost-submission-6684bf9d7b-vxjvj with ESMTPSA id 4r6wMfMrwmRJggQASGznVQ (envelope-from ); Thu, 27 Jul 2023 08:33:55 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-110S0045ab1dbdb-da89-4c4c-8b46-0e2038a18c76, 9DF3CAED9402E7618BF4FF5722A68B48D5762D3F) smtp.auth=sebastien.szymanski@armadeus.com X-OVh-ClientIp: 92.148.253.243 From: =?utf-8?q?S=C3=A9bastien_Szymanski?= To: u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" , Peng Fan , Joe Hershberger , Ramon Fried , =?utf-8?q?S=C3=A9bastien_Szymanski?= Subject: [PATCH 0/4] imx93: add DWC EQoS MAC driver support Date: Thu, 27 Jul 2023 10:33:32 +0200 Message-ID: <20230727083336.15301-1-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 3167156441980070891 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedviedrieefgddufeduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecuhfhrohhmpefurogsrghsthhivghnucfuiiihmhgrnhhskhhiuceoshgvsggrshhtihgvnhdrshiihihmrghnshhkihesrghrmhgruggvuhhsrdgtohhmqeenucggtffrrghtthgvrhhnpeefgfdtuedtudeifedtieefheffffffgefftdefgfehvedvfeeghfevudevteeftdenucffohhmrghinhepmhigleefrdhithdpkhgvrhhnvghlrdhorhhgnecukfhppeduvdejrddtrddtrddupdelvddrudegkedrvdehfedrvdegfedpfeejrdehledrudegvddruddutdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehsvggsrghsthhivghnrdhsiiihmhgrnhhskhhisegrrhhmrgguvghushdrtghomheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepuhdqsghoohhtsehlihhsthhsrdguvghngidruggvpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth 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 This series makes the DWC EQos MAC work on i.MX93. It depends on the i.MX93 CCF driver: https://lore.kernel.org/u-boot/20230725080856.26567-1-sebastien.szymanski@armadeus.com/ Tested on i.MX93 EVK board: u-boot=> dhcp ethernet@428a0000 Waiting for PHY auto negotiation to complete........ done BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 125 *** Unhandled DHCP Option in OFFER/ACK: 125 DHCP client bound to address 192.168.1.50 (35 ms) u-boot=> ping 192.168.1.51 Using ethernet@428a0000 device host 192.168.1.51 is alive u-boot=> Sébastien Szymanski (4): net: dwc_eth_qos: add i.MX93 support net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93 net: phy: realtek: Add support for RTL8211F(D)(I)-VD-CG arm: dts: imx93-evk: remove wrong eqos compatible string arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 4 -- arch/arm/mach-imx/imx9/clock.c | 53 ++++++++++++++++++++++++ board/freescale/imx93_evk/imx93_evk.c | 16 ------- drivers/net/dwc_eth_qos.c | 4 ++ drivers/net/dwc_eth_qos_imx.c | 3 ++ drivers/net/phy/realtek.c | 14 +++++++ 6 files changed, 74 insertions(+), 20 deletions(-) Reviewed-by: Fabio Estevam