From patchwork Tue Dec 12 16:58:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MD Danish Anwar X-Patchwork-Id: 13489689 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 15198C4332F for ; Tue, 12 Dec 2023 16:59:19 +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=BNkuQz/yfOnK8jNDl8UoKPZpQ0byvB2UHwjevzyBcAg=; b=iHS6cX+lECgwaQ CXpmSsTzJq/FOdKORTwIsgpPpe50cGVbf0T8LO4jAUchluVKInbTBnr1VJ1iigBIg7LeQHlo+TaTr lWUGv6EVoHcRlQseWueQF2daYnJayNmZwY7aBX1sJcvlTIyUxpJn5Ag9L45LWoaDtwad/eEULEPXe bm6rSiSKIe7vpHVMiBsfnz4ww/YkG47QYTZfdahRZ7gV1SXpkMvakVoInLbbGXz0VLIy2kx/3EjTK OtcCuWXPmU3R4baQHesicfSA2GngQHhH8Y9ugZWpxYvCKRfin7086giek8V09uPSzlGRhl01dI6qA 0HDBiZwrxrRLyH1saLHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rD65r-00CJIm-0x; Tue, 12 Dec 2023 16:58:51 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rD65n-00CJH8-0C for linux-arm-kernel@lists.infradead.org; Tue, 12 Dec 2023 16:58:49 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BCGwfIf014936; Tue, 12 Dec 2023 10:58:41 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1702400321; bh=AAObtteDlREppe6u22sirOLiU6N/UMnprGyG07IwvAI=; h=From:To:CC:Subject:Date; b=UYQogR7D++T9VGSLlwCYfmeMnZqNBNYZJl9UJkrinbKnUBKa9eq/wFewR1Y8c1Q/X ajLXm2gI2pubpC/+s4m2ETMnoqkugcj1IOOA7z5gY+UG//d/taynpL8CnunEKw697/ zrtyfnjAj1lLtbcyznH3T2cBi4UG6200Cnw0R4QQ= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BCGwfOA060134 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Dec 2023 10:58:41 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 12 Dec 2023 10:58:41 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE105.ent.ti.com (10.64.6.26) 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; Tue, 12 Dec 2023 10:58:41 -0600 Received: from fllv0122.itg.ti.com (fllv0122.itg.ti.com [10.247.120.72]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BCGwfPK125706; Tue, 12 Dec 2023 10:58:41 -0600 Received: from localhost (dhcp-10-24-69-31.dhcp.ti.com [10.24.69.31]) by fllv0122.itg.ti.com (8.14.7/8.14.7) with ESMTP id 3BCGweBc018962; Tue, 12 Dec 2023 10:58:41 -0600 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , , , , , MD Danish Anwar Subject: [PATCH v2 0/3] Add AM64x ICSSG Ethernet support Date: Tue, 12 Dec 2023 22:28:29 +0530 Message-ID: <20231212165832.3933335-1-danishanwar@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-20231212_085847_198342_80EA7F26 X-CRM114-Status: GOOD ( 13.64 ) 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 Hi All, This series adds support for ICSSG ethernet on AM64x. This series is based on the latest next-20231211 linux-next. AM64x EVM has three ethernet ports. One is dedicated to CPSW and one is dedicated to ICSSG1. The remaining port is muxed between CPSW and ICSSG1 ICSSG1 ports. The ICSSG1 node is added in the k3-am642-evm.dts. By default the muxed port is used by CPSW so 2nd ICSSG1 port is disabled in the k3-am642-evm.dts. But overlay k3-am642-evm-icssg1-dualemac.dtso can be applied to use muxed port as ICSSG1. This is the v2 of the series [v1]. This addresses comments made on v1. Changes from v1 to v2: *) Fixed aliases section in k3-am642-evm.dts *) Fixed firmware-names in k3-am642-evm.dts *) Changed icssg1_phy1 to ethernet-phy@f from ethernet-phy@0 as suggested by Andrew L. *) Changed makefile to handle overlays using CONFIG_OF_ALL_DTBS as suggested by Nishant and Andrew Davis. *) Fixed aliases section in k3-am642-evm-icssg1-dualemac.dtso *) Fixed pinctrl in k3-am642-evm-icssg1-dualemac.dtso *) Updated commit message of patch 3/3 of the series to warn about adding label name to 'mdio-mux-1' node. [v1] https://lore.kernel.org/all/20231207081917.340167-1-danishanwar@ti.com/ Thanks and Regards, MD Danish Anwar MD Danish Anwar (2): arm64: dts: ti: k3-am642-evm: add ICSSG1 Ethernet support arm64: dts: ti: k3-am642-evm: add overlay for icssg1 2nd port Suman Anna (1): arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes arch/arm64/boot/dts/ti/Makefile | 7 +- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 ++++ .../dts/ti/k3-am642-evm-icssg1-dualemac.dtso | 75 +++++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 104 +++++++++++++++++- 4 files changed, 208 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dtso base-commit: bbd220ce4e29ed55ab079007cff0b550895258eb