From patchwork Mon Feb 5 09:05:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: MD Danish Anwar X-Patchwork-Id: 13545113 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 340B5C4828D for ; Mon, 5 Feb 2024 09:08:02 +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=bRdwglQu37NJYLMSrpV9E9Tttwne1ttp8S3lS87GCfw=; b=BW6MvBt+d25ZaC A3PiCHMah4FyPZ7WrstqMUBJvZrKEN5zRrRh7CzxkQhdZWg+xvTUpc0QcBXRqvHrv6rOSqwvWG2Hk 2jaGUgFix4elkZqWMVsfd+XQ2QkXWBIMQ5GNYHOcs0/1FgXYmlxWL8ZVGRq88QDigrSKOk0FtgeF6 S+WzACt4oT6S6x61Zu7ifOfhbJKzb8l0wolIEVV8HvM+NQgcSv/FBx1fucQ01l5PrepmUbE2tBizR S2TekJE9Uk9e321hScH4BIMU5MnZ4yCPsKUUuMBqfW3DSqckasqnJfV9HBrakFK/1J3WSodCNXsGw 3T01c0IN9c3SIW0eOOFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWux7-00000002XYt-438f; Mon, 05 Feb 2024 09:07:45 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWux3-00000002Wfa-2G9t for linux-arm-kernel@lists.infradead.org; Mon, 05 Feb 2024 09:07:43 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 41595nLk075683; Mon, 5 Feb 2024 03:05:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1707123949; bh=jEerUnjT73P4OnEdJfNUUf24fkGk3mF2BgO5V6SKjwE=; h=From:To:CC:Subject:Date; b=YaF51rik1O/Zu93T4Jft/HFeMLWUbnKT5SxFy7LrYzy0rVNdtjKDZDT+v57B9qxVx ILktmALQP0dIOnvJhkPOBGKldGeWp/dF3IuvmYuorzezbRPKYrbmVO1FNcInnUc7IN s5AxT38TqOsxB8mPE6TXIGaGskbJzFQjsFQTjgE4= 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 41595nNU029214 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Feb 2024 03:05:49 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) 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; Mon, 5 Feb 2024 03:05:49 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE103.ent.ti.com (10.64.6.24) 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; Mon, 5 Feb 2024 03:05:49 -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 41595nVN010124; Mon, 5 Feb 2024 03:05:49 -0600 Received: from localhost (danish-tpc.dhcp.ti.com [10.24.69.25]) by fllv0122.itg.ti.com (8.14.7/8.14.7) with ESMTP id 41595mCt032276; Mon, 5 Feb 2024 03:05:49 -0600 From: MD Danish Anwar To: Vignesh Raghavendra , Nishanth Menon CC: Andrew Lunn , Conor Dooley , Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , , , Roger Quadros , MD Danish Anwar Subject: [PATCH v4 0/3] Add AM64x ICSSG Ethernet support Date: Mon, 5 Feb 2024 14:35:43 +0530 Message-ID: <20240205090546.4000446-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-20240205_010741_831909_712C872D X-CRM114-Status: GOOD ( 12.76 ) 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-20240205 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 v4 of the series [v1]. Changes from v3 to v4: *) Dropped ethernet3 alias from k3-am642-evm.dts as suggested by Roger. *) Dropped extra blank lines from k3-am642-evm.dts. *) Updated commit message of patch 3/3 *) Updated licensing header in k3-am642-evm-icssg1-dualemac.dtso. *) Fixed up alias for ethernet1 to icssg1_emac1 in k3-am642-evm-icssg1-dualemac.dtso as suggested by Roger. *) Renamed 'mdio-mux-1' and 'mdio-mux-2' to 'mdio-mux@1' and 'mdio-mux@0' respectively as suggested by Roger. Changes from v2 to v3: *) No functional changes. *) Rebased on latest linux-next (next-20240122) after 6.8-rc1. 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/ [v2] https://lore.kernel.org/all/20231212165832.3933335-1-danishanwar@ti.com/ [v3] https://lore.kernel.org/all/20240122113045.1711818-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 | 5 + arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 24 +++++ .../dts/ti/k3-am642-evm-icssg1-dualemac.dtso | 79 +++++++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 99 ++++++++++++++++++- 4 files changed, 206 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dtso base-commit: 23e11d0318521e8693459b0e4d23aec614b3b68b