Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp265860rdb; Mon, 22 Jan 2024 03:39:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkF1n/avBUfdOt8sSIvc9iROJ3hGiYVjGubcs24SjcX12A5knQ+8TbrOuSxnhHDwG0kcw3 X-Received: by 2002:a05:6402:1745:b0:55c:3468:743b with SMTP id v5-20020a056402174500b0055c3468743bmr875360edx.18.1705923564885; Mon, 22 Jan 2024 03:39:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705923564; cv=pass; d=google.com; s=arc-20160816; b=N1aIwT4gNjC4sV82fU/+SOS5M/EpirOCiF0D91uMOmVbhtzMYGyISUzE+8s3E94wiw jCYnqttd8UE5KFvJ6Z0Uy6wQEtXq8YwBl8iWgm94/GhkRjfZjRCIfX8OpEFfZdmXvyPf 8DnSTygbQGKUNbxsY0tz09hetR3SChZj20T4RN6Niu+tW+R30v7EZdDeZJZZg+OK+iXf VgJd6ISLZj7MpvwxubT+rL2AEyerb7WlJjrSd2iCP2Z6TKvlqZCeIkzyJ7ZNTwJQ/wbe FIc3uppVb4SZuFu3MC9kArfZ3Yi8aWcgYYDlkgNpT2RwDyDs8qqwBoPGUPJ4r4TvPzfc 9UHg== 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=dzEoq5dLrijjQejs3RrwVn51yH4SqPJoQUpFjXavDyo=; fh=yhFjpbfTPvnbLm88z7z6VlY3ME+iv1NNagYC/uGo9M0=; b=yti7Q8nQTHikcYpxARDv4F97j0rxx4Z7U2BmQfHF2Ggn2kbvT5KMlNQfERYpgtfrm9 cbzzR0cvGkaGbBBK42d33LErxuoFRyKB6Z5D8Kb9TFIt9GEZKXizhlHK805yfuAFdbO8 2yc/NrOYPFeOSLSaPWcqoUMTagNhVDg6HNdJR1ZofqjFIS4uJezxXhqq6x/S17OJ1eTY YRUlvJDbigbAi26P9ZypJeYAJwtp7VgqRfm6CbC9HkmgVnNlwzVwOlmWtcZP7IZOimd1 lOgJEMOvGvAqLz1+tv/1HNdxW+AXGPXBAY4xPFMxxONfxzgSItQBDn1042OrUcK/JOBt IbwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="s/eGIi4O"; 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-32927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id f22-20020a50a6d6000000b0055a064bb587si4633042edc.34.2024.01.22.03.39.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 03:39:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="s/eGIi4O"; 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-32927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32927-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A44581F27EC2 for ; Mon, 22 Jan 2024 11:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 562EC47F42; Mon, 22 Jan 2024 11:31:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="s/eGIi4O" 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 D56234439B; Mon, 22 Jan 2024 11:31:07 +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=1705923069; cv=none; b=Qvk9zyFj9ELYgLAd4A2BD9iJjsj/sGXpoWR9K2CEvCdlODgHZZCAoCaGscJaJkplH7YQv/WElBpBrh68yJYi/+rdyB8gzPpKRXGRNGJX6kuKeDMTW9uCdAeQf3b0Rr0tedJt7F4wRyqla8hTr7c8rfURfsWs94Lg+Rj/86/A7ko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705923069; c=relaxed/simple; bh=4tCrzUC+/YgxObX8hzrHBOPIJAA1eJDa7iglCGdrgKg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=hO19NobB8x46TITIduBBfU6XibYbNcLt1PH5zMXU2zUofIZ6ydVdQ78v+0OUxjkH9a5HIBQfnb5iux6Zl7w75BfqO8odeCC5Z7m0AQvS45SbK4Ocw7xx+EJTZrcqAli/8JejpGU6zOo3AWLQ4ApNd+7xLRB8VvdGnXQxH208M6g= 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=s/eGIi4O; 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 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 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-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 -- 2.34.1