From nobody Sun Dec 14 19:53:00 2025 Received: from cpanel.siel.si (cpanel.siel.si [46.19.9.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B66A1268FC9; Fri, 18 Apr 2025 06:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.19.9.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744957887; cv=none; b=SSPPuDYfWYFwMK4xvjipV4AHNC4xuW+bk5clxNaiHZQ6lAVMNu0hD5AFyHzPTGANtgksSVCOBi1MhO+3Q4rmwqcDFvrznxNwjkjpbK52AZ+iD54+qsRRtO1Gkutg5+gkXjb5f/ZHnil5iolZ/FUl8tjAQrWdZaVoMZexmPJYp0o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744957887; c=relaxed/simple; bh=o5WlUluG5sRWhuQLUlkVHvte88HklkoFbiwPMFunw0M=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kGJuyU/5F4VTQ5kjMKEOaP3x69GQpspwR4dZuRsMeZQxPjrs34uF87Xqu61nqSt1MZuNTPuZg3Vusi1tEdYvTFrKlYRNZ6epqi8FJXnKkynju+LNBdoRovtgMFYKWK9efcq9fbHFoF4AURgHSDPWsEVxnqq/OkZI24S0hnH/sGQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com; spf=pass smtp.mailfrom=norik.com; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b=Grow0Jbu; arc=none smtp.client-ip=46.19.9.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=norik.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=norik.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=norik.com header.i=@norik.com header.b="Grow0Jbu" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=759BT16GeVELagkUCkvhmhAR2ZnlXpPZ5Yu7sTegWZ4=; b=Grow0JbuewNI5GGpb0UyrOlb3h YRum+PWbfbUCPdldU2eq5jF1T6v2g+A4ClZnvBL9x8N20dKuxCVDz2+0Td8cZFZl4WzGX7c2Ds36o tQ5wtvr9xU4/Jc/gRTbPdLXfFkNmY8Iw+F3eUD7OLv+JXXBW3/4grsHGCWqP35juHaHBLs7FFNH0L fzfcbK26exbuiHzdD2keWjux5K87+7uCCTVHWTNxltPzn0i4QKbFD3kdRB48z9o1Z8dLQ2yhbJ58N Wl2CZGPFdJdOXujB7v9tUGh4Brg1O8sEHm1CWPSZoAgBLto988j8WJHtOZ/2gcIG/6UW2E3YFC2SD 1+tmu2+Q==; Received: from [89.212.21.243] (port=56446 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1u5fG0-00AbM0-1K; Fri, 18 Apr 2025 08:31:24 +0200 From: Primoz Fiser To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, upstream@lists.phytec.de Subject: [PATCH v3 14/15] arm64: dts: freescale: imx93-phyboard-segin: Add EQOS Ethernet Date: Fri, 18 Apr 2025 08:31:03 +0200 Message-Id: <20250418063104.2202085-15-primoz.fiser@norik.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250418063104.2202085-1-primoz.fiser@norik.com> References: <20250418063104.2202085-1-primoz.fiser@norik.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: primoz.fiser@norik.com X-Authenticated-Sender: cpanel.siel.si: primoz.fiser@norik.com X-Source: X-Source-Args: X-Source-Dir: Content-Type: text/plain; charset="utf-8" Add support for the carrier-board Micrel KSZ8081 Ethernet PHY. This is a 10/100Mbit PHY connected to the EQOS interface and shares MDIO bus with the Ethernet PHY located on the SoM (FEC interface). Signed-off-by: Primoz Fiser Reviewed-by: Frank Li --- Changes in v3: - no changes .../dts/freescale/imx93-phyboard-segin.dts | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts b/arch/= arm64/boot/dts/freescale/imx93-phyboard-segin.dts index 54e084e69706..c62cc06fad4b 100644 --- a/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts +++ b/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dts @@ -89,6 +89,28 @@ dailink_master: simple-audio-card,codec { }; }; =20 +/* Ethernet */ +&eqos { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_eqos>; + phy-mode =3D "rmii"; + phy-handle =3D <ðphy2>; + assigned-clock-parents =3D <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>, + <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates =3D <100000000>, <50000000>; + status =3D "okay"; +}; + +&mdio { + ethphy2: ethernet-phy@2 { + compatible =3D "ethernet-phy-id0022.1561"; + reg =3D <2>; + clocks =3D <&clk IMX93_CLK_ENET_REF_PHY>; + clock-names =3D "rmii-ref"; + micrel,led-mode =3D <1>; + }; +}; + /* CAN */ &flexcan1 { pinctrl-names =3D "default"; @@ -173,6 +195,19 @@ &usdhc2 { }; =20 &iomuxc { + pinctrl_eqos: eqosgrp { + fsl,pins =3D < + MX93_PAD_ENET1_TD2__CCM_ENET_QOS_CLOCK_GENERATE_REF_CLK 0x4000050e + MX93_PAD_ENET1_RD0__ENET_QOS_RGMII_RD0 0x57e + MX93_PAD_ENET1_RD1__ENET_QOS_RGMII_RD1 0x57e + MX93_PAD_ENET1_TD0__ENET_QOS_RGMII_TD0 0x50e + MX93_PAD_ENET1_TD1__ENET_QOS_RGMII_TD1 0x50e + MX93_PAD_ENET1_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x57e + MX93_PAD_ENET1_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x50e + MX93_PAD_ENET1_RXC__ENET_QOS_RX_ER 0x57e + >; + }; + pinctrl_flexcan1: flexcan1grp { fsl,pins =3D < MX93_PAD_PDM_BIT_STREAM0__CAN1_RX 0x139e --=20 2.34.1