Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2279591rdb; Mon, 5 Feb 2024 01:11:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjDrquZ4AImkyYtTzlrPQMeg7bJJqmfjRpA12BYGYl5vTeQaBp4TXfOfXl2I8F8JhI6S19 X-Received: by 2002:a25:ba49:0:b0:dbd:b319:f90e with SMTP id z9-20020a25ba49000000b00dbdb319f90emr13242663ybj.58.1707124275116; Mon, 05 Feb 2024 01:11:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707124275; cv=pass; d=google.com; s=arc-20160816; b=DZYInIFjwktpx1pMynFfqfrx1Sw45Vi0uJryQR4w7Au+VI/m0dlXJ6GxCOb1Egc1dp a6tLW1uMNSDA2+LppzaXr77ECnXWC4OhS7RRgDGL9IUWo71YSD+n3/bsgeiFSCAbddO2 JjZygb2SVJzWn+2GLfV6eWXMBL83FvN9OJSn4vQ5uUQXxd7pLhG8YRTnQQ+tkp4AJpS2 mPtxW/wPigLvN0kxaqIAnVXaFcs8rH1f3vx9EJqwGV8BqOxBcYfFo3jrdzG4dIFoOsy8 qg5kX2hal5VcAjN6nDiOhhxbYgUdhasG8g1Hpkj0CzWpJdFxgHkRz2TLweXd05pt8vnr Mb0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=jEerUnjT73P4OnEdJfNUUf24fkGk3mF2BgO5V6SKjwE=; fh=0V8Q4RsECNnVdGzZjTiUGexkjxKIxcwNjwJCA5Pwnbk=; b=tXTQGYBEn1q6iyTJha7dW8FTUNn8csheRs4HmjvoT6x0Tb6yDLGHtnZxeADNctb/x5 Drwmy/2/+TD806Se3PMvNPXka8Aaxxs+yPLqH49rsJQMX/BHFoODC2Erg1jXttY/S229 PYzLUITaKOk6K5lcthWiGzouy/59y+Po1bBNxLtyCWZ/dgRqabdXYWtHVgtIZYOJDAW7 FGg2pgZVx/w16wDOlpWaIh5Jt9xjbyXOaHi3MEuELsQ7Bm4s4snQtITprhq8Hzv3FZyX PnX/w/bMnvfStnvGAUgdzBte/afMCKZDs7HiRx7ARAX5FfabwAvdVHVzr7oej7iVDPyn NPFA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YaF51rik; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-52264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com X-Forwarded-Encrypted: i=1; AJvYcCUti8gQjLD4q0J1IefUKRlWarfTMjG/kwRoxtsZ0qZi+UAnZxL/OU9GdDQX2sKMJbjwfiqaAikYayaHTWOmpwAP0U8Jb73Lk35jxJT3nQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v4-20020a05620a090400b00785445f2d41si7797235qkv.686.2024.02.05.01.11.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:11:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YaF51rik; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-52264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3997E1C22802 for ; Mon, 5 Feb 2024 09:11:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B4F218039; Mon, 5 Feb 2024 09:07:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YaF51rik" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FB8D125B8; Mon, 5 Feb 2024 09:07:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707124067; cv=none; b=qmI6cqzqmzYJKvPZwa4TgLqCLrRCa6FOx77LJPaZT+sQdxM53ecvcjP2+vIHDsXQ7zGmtkfnJYk5oThR6DdU3SQm3o33Se41kczJDX7Id1TYxw42Endqlh/j20a7bPlYa5AD3wx20DZ99MW+mzf/s7NDKX/FtqiKNbb+uOCwS3Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707124067; c=relaxed/simple; bh=OYWfKIZZbNVvNdUGeXPzqCrger3e70yeWu9jt5ZwRbY=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=eVDKAiUqe9e4+v7fWPwjdBgdmbHwOqxdRHXtzSSiKpQ6MAvQ1TkSR5zPO0wv2XB2vHxrrlif05PkAtEVo8SPUFBCwaSswWuLEbFFADYYW97ZfadHm3arKTPGB/gGCz87fmx4zUUGhS+/375g4padh7bWKnkqKagGCgM1+Cg14zc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=YaF51rik; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 -- 2.34.1