From patchwork Thu Mar 14 07:21:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chintan Vankar X-Patchwork-Id: 13592156 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8EB62C5475B for ; Thu, 14 Mar 2024 07:22:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=0k8xshdc+wqH/HWauwVECXMMAuBsoWzTOxDRvJAfpmo=; b=NRgupoOHx1OLzC /pkyJqmz75EDIHCVIsoqtqn1WaeSEdvXH3f4XIcvptrvdyTiucMkr1180Ebw5ZOvs03tfAUCxJOF8 +lRl+4KdLrlCJlDWNU8Hj3Lq/I4xHQSwkonLkuYDOEmsNdSeo2X+ZQE9tbG9+1ONXoCa2Ch6XUr8d fDoEqYdQygRSHcCNjY0Cr/nCKDihK4a2dV1apZJYVpOnCxVStL3snJTAE5mCvrvOIzj8L7C0Cjl43 GayMNH6ywyDCccGLy3JT5hhNaB4ZbzVUUsf5ezGMRUckubS02+eEMxykNcU3RtJrdNNafdHK7BX/2 f8mXJLNlek4CT/phs9cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkfPR-0000000DN60-3cRz; Thu, 14 Mar 2024 07:21:49 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkfPK-0000000DN29-1pp0 for linux-arm-kernel@lists.infradead.org; Thu, 14 Mar 2024 07:21:44 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42E7LWhp021096; Thu, 14 Mar 2024 02:21:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1710400892; bh=FcoX7xACm0C1orkfdYLpksQ6GDrWcw1v4XBWKblj6aE=; h=From:To:CC:Subject:Date; b=hoFwd0qRrkujocVtDEidzEbAzz2Ly1IGAPu61kJNMe5pQNyj4eKt8ls4Yd4QWuHEi Svzmc7WEcYeHgcoFVOI8mTLxY4Wbu2ZaLvXzf0wEzK0qjlaT3uZ6TBuJVgTqtouB8p IbhJmqHW9ZxTRayloC3TzQi0NfGeT6hHMdGFZOYY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42E7LWSl021663 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Mar 2024 02:21:32 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 14 Mar 2024 02:21:32 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 14 Mar 2024 02:21:32 -0500 Received: from localhost (chintan-thinkstation-p360-tower.dhcp.ti.com [172.24.227.220]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42E7LVQW120513; Thu, 14 Mar 2024 02:21:32 -0500 From: Chintan Vankar To: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Tero Kristo , Vignesh Raghavendra , Nishanth Menon CC: , , , , , , , Chintan Vankar Subject: [PATCH v5 0/5] Add CPSW2G and CPSW9G nodes for J784S4 Date: Thu, 14 Mar 2024 12:51:24 +0530 Message-ID: <20240314072129.1520475-1-c-vankar@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240314_002142_683164_0ED451C5 X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds device-tree nodes for CPSW2G and CPSW9G instance of the CPSW Ethernet Switch on TI's J784S4 SoC. Additionally, two device-tree overlays are also added: 1. QSGMII mode with the CPSW9G instance via the ENET EXPANSION 1 connector. 2. USXGMII mode with MAC Ports 1 and 2 of the CPSW9G instance via ENET EXPANSION 1 and 2 connectors, configured in fixed-link mode of operation at 5Gbps link speed. Link to v4: https://lore.kernel.org/r/20240131101441.1362409-1-c-vankar@ti.com/ Changes from v4 to v5: 1. Removed Patch at: https://lore.kernel.org/r/20240131101441.1362409-2-c-vankar@ti.com/ from this version as it is posted as a separate patch at: https://lore.kernel.org/r/20240213080348.248916-1-s-vadapalli@ti.com/ 2. Disabled node "main_cpsw1_mdio" in k3-j784s4-main.dtsi and enabled it in k3-j784s4-evm.dts. Chintan Vankar (1): arm64: dts: ti: k3-j784s4-evm: Add alias for MCU CPSW2G Siddharth Vadapalli (4): arm64: dts: ti: k3-j784s4-main: Add CPSW2G and CPSW9G nodes arm64: dts: ti: k3-j784s4-evm: Enable Main CPSW2G node and add aliases for it arm64: dts: ti: k3-j784s4: Add overlay to enable QSGMII mode with CPSW9G arm64: dts: ti: k3-j784s4: Add overlay for dual port USXGMII mode arch/arm64/boot/dts/ti/Makefile | 11 +- .../ti/k3-j784s4-evm-quad-port-eth-exp1.dtso | 147 ++++++++++++++ .../ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso | 81 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 51 +++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 187 ++++++++++++++++++ 5 files changed, 476 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-evm-quad-port-eth-exp1.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso