From nobody Sun Feb 8 21:46:51 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8128BC4332F for ; Fri, 4 Nov 2022 17:42:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231840AbiKDRmn (ORCPT ); Fri, 4 Nov 2022 13:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231776AbiKDRmK (ORCPT ); Fri, 4 Nov 2022 13:42:10 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38D1925C57; Fri, 4 Nov 2022 10:42:08 -0700 (PDT) Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id BBEB5FF809; Fri, 4 Nov 2022 17:42:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1667583725; 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: in-reply-to:in-reply-to:references:references; bh=83QGcbtcOeqlJkeeAX4hkjo8iH3nECZWbrV/g+zKq+c=; b=YvEx1oBfbfOOoA8FkhZ2uTxqrIQ+5eEIbZBVT4ZB7FXG+t4OnVcj98GCa1wmoh91tD0qcu 5SkyybqQY62m+7Ih+OFxMV0YsxMo/yzSxWSgI4pD7WFPaWzp/JErascxg6ySzNwAb1JcAG Lwb0NL6+R44WXPMnrtkUTp/PNIAht5GabCL1cY/iMI1tOzaS68pQBVExw/qx4h0RBLewe3 /qLosNcMe/qldHPgSA+ZGSqOtkZu97TvsjBhIYLQWNTIR92OF85UmaOkhqNAceFngaZ2Z3 t/ABcILWcJSt/wYGQuOsvqF6iv+gnrPuN62hP/mLwvVm69Y9dccVXMCbOvuYGg== From: Maxime Chevallier To: davem@davemloft.net, Rob Herring , Krzysztof Kozlowski Cc: Maxime Chevallier , Jakub Kicinski , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Luka Perkov , Robert Marko , Andy Gross , Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Subject: [PATCH net-next v8 5/5] ARM: dts: qcom: ipq4019: Add description for the IPQESS Ethernet controller Date: Fri, 4 Nov 2022 18:41:51 +0100 Message-Id: <20221104174151.439008-6-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221104174151.439008-1-maxime.chevallier@bootlin.com> References: <20221104174151.439008-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The Qualcomm IPQ4019 includes an internal 5 ports switch, which is connected to the CPU through the internal IPQESS Ethernet controller. Add support for this internal interface, which is internally connected to a modified version of the QCA8K Ethernet switch. This Ethernet controller only support a specific internal interface mode for connection to the switch. Signed-off-by: Maxime Chevallier Reviewed-by: Krzysztof Kozlowski --- V7->V8: - Added fixed-link - Removed ethernet0 alias V6->V7: - No Changes V5->V6: - Removed extra blank lines - Put the status property last V4->V5: - Reword the commit log V3->V4: - No Changes V2->V3: - No Changes V1->V2: - Added clock and resets arch/arm/boot/dts/qcom-ipq4019.dtsi | 48 +++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-i= pq4019.dtsi index b23591110bd2..c681b13aa3d9 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -591,6 +591,54 @@ wifi1: wifi@a800000 { status =3D "disabled"; }; =20 + gmac: ethernet@c080000 { + compatible =3D "qcom,ipq4019-ess-edma"; + reg =3D <0xc080000 0x8000>; + resets =3D <&gcc ESS_RESET>; + reset-names =3D "ess"; + clocks =3D <&gcc GCC_ESS_CLK>; + clock-names =3D "ess"; + interrupts =3D , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + phy-mode =3D "internal"; + status =3D "disabled"; + fixed-link { + speed =3D <1000>; + full-duplex; + pause; + }; + }; + mdio: mdio@90000 { #address-cells =3D <1>; #size-cells =3D <0>; --=20 2.37.3