From patchwork Mon Jan 22 11:30:42 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: 13525276 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 23AC1C47DAF for ; Mon, 22 Jan 2024 11:31:38 +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=xzXjx99Cdow0n4otcyakcUmRFjr+IC8Vj5UR4OwTDGM=; b=ziuOI7Xu/wUEjw yuTl3soM+W8uTctP8lFStndqyr4OS952Buu8t8zzHGlVJ0SM/XqmWmQFDrhGZXahXWPsIL7vC/og5 md1h7qFFjwbsiaAerK/VpPAEPUG5/SbWAMYbnD/oN6UTOw3H68bqG+ns4yESFNsyUEAQXqTPOOV3b 3HzOweLVeDk1yFcd9Mv6HqG3h8X+q98WE+qAsDeIpHozZlkAoIhJzXGSalQA86nGCqa4CxXYg7bU4 xZPf5AFrdL2RCExRHqeE+xcBw15jz9xaKk6OtWRK9TTw/N97oki5PjYn/5mc3Pz/DvYMqd8fm0jmD 64bgxTBBzamv+EXBTyBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRsWA-00BlvY-1W; Mon, 22 Jan 2024 11:31:06 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRsW7-00BluL-2E for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 11:31:05 +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 40MBUvvC121154; Mon, 22 Jan 2024 05:30:57 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1705923057; bh=dzEoq5dLrijjQejs3RrwVn51yH4SqPJoQUpFjXavDyo=; h=From:To:CC:Subject:Date; b=s/eGIi4Ogz4bVRI+XTm2F46nKL8tF5sRBsgQ7lBHlwGdo04lNPJYP1nATBT1rlvUE sM2BVx1INP14YeMdbpJg+agWbRbbHWhJpfLaQNPmmcdeCMjSffFpCi6dKMAgQApc4L VulnGX/Exa4E5c7JgKXaE8ETCZ6W/nJfVlnkNM+0= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 40MBUv57054692 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 22 Jan 2024 05:30:57 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 22 Jan 2024 05:30:57 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE102.ent.ti.com (10.64.6.23) 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, 22 Jan 2024 05:30:57 -0600 Received: from lelv0854.itg.ti.com (lelv0854.itg.ti.com [10.181.64.140]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 40MBUvNY115874; Mon, 22 Jan 2024 05:30:57 -0600 Received: from localhost (danish-tpc.dhcp.ti.com [10.24.69.25]) by lelv0854.itg.ti.com (8.14.7/8.14.7) with ESMTP id 40MBUufF021315; Mon, 22 Jan 2024 05:30:57 -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 v3 0/3] Add AM64x ICSSG Ethernet support Date: Mon, 22 Jan 2024 17:00:42 +0530 Message-ID: <20240122113045.1711818-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-20240122_033103_808002_DECCCFB5 X-CRM114-Status: GOOD ( 13.34 ) 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 v3 of the series [v1]. 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/ 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 | 75 +++++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 104 +++++++++++++++++- 4 files changed, 207 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dtso base-commit: 319fbd8fc6d339e0a1c7b067eed870c518a13a02 Reviewed-by: Ravi Gunasekaran