Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp214580lqk; Thu, 14 Mar 2024 00:22:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCULGxAQan5SLVRqdmo9FXyxm1avUe29D370/HT/ay+eujXa+L8N9076m1yATU7FHrHIa8jRSjAgx1rcZLC0Nte6/txqI3o2wZl9V/v4Sg== X-Google-Smtp-Source: AGHT+IHLEZ4hzAYUOAzLEVSTKs2Ti+hk6d7h+SWBe5L9dEhRBh7EG+e7UgTVkfY92+MowWjgs3sH X-Received: by 2002:a05:6214:508:b0:690:d952:f17a with SMTP id px8-20020a056214050800b00690d952f17amr1152197qvb.31.1710400927485; Thu, 14 Mar 2024 00:22:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710400927; cv=pass; d=google.com; s=arc-20160816; b=h4JpikWCIJpYHl1QitybYeKPxL6e1bsqEjcr49Trd/Q8UJxBUDDaKbs0CS79WaO88g 3H5TKO19eEML8qk0z6ZiaVL5X0zWNKjwOcyiOHmnZMCMWoVv+nTJ68dRFB71C3v/jP1J djSRNaqMyqKNiZbeJ2BtymlToNSXyaiJKnHdkG9YYCxrHweQlKFB3k9v+q6ZSN97fvv3 bPdmSkFRJmhIvPRZ9/pL6WsuMmmUX7eTYFXF7hc/3INPyhfvBuTtBuDmpahnkR+ena1c X8vuMDdmfig8BetJ6ULzm2HrEXNrG9dhvKPNCwV9/AZR4ayd0AxXcFl8AQ7kF0yRfh8Y 7DUQ== 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=FcoX7xACm0C1orkfdYLpksQ6GDrWcw1v4XBWKblj6aE=; fh=FGHQJODtRxvlv9+IWAbmuUIwuT8RNNFmpIbTYwb9dqs=; b=kj3xF40BO2mc/zwsHSbwDhdy6uacjs4GgWCVlTvmlCWZj8ewKAFe0+joPPZS+QwY+n 94aj9bCUWxYK8ZakDwY+n/vUyTH/Dt9x31i+bTIag8XKj5TtgSarI5QG7fQKXAu4W5xr VL9NaeCbeQnXjh7k0/F8eWbay154cWfU6ojjRdAXbbbAr1u7x9lY0YZJNuccb/TonxGj l5SXHRNIWdP+ENXerA7n2jVnWZV20lYkulamFMJYL2M5xv0V0j59+tzLpL067PD1N+hg fG9GJfaaIRAwAmcfMt6whP9K0KMgNYHuIUXv44DH0aao34jr/Mo4QaDIW8MbUQHDXFJN KrLg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hoFwd0qR; 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-102924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102924-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id g7-20020a0562140ac700b0068ff18d776asi48239qvi.296.2024.03.14.00.22.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 00:22:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102924-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=hoFwd0qR; 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-102924-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102924-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 393EB1C218BD for ; Thu, 14 Mar 2024 07:22:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 373985D484; Thu, 14 Mar 2024 07:21:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="hoFwd0qR" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 B88506FB5; Thu, 14 Mar 2024 07:21:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710400912; cv=none; b=WxQoc84DDsJjT/NF/awd/yWyK6XAzPIRb79F3n7PM7V/54EpIFN2XpXsxuq/XYg4rwMPHGlAvt1lww+DGUi38IhKV74Mvr2isMNiH+hl1sgOYGRZBNABX0o8121YKsAF1CgVO/i4ydQAwAPTDZTu1rx8htbQgiUBxVUZnNcrJbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710400912; c=relaxed/simple; bh=ccHcqSZqrWHjYm6IvFnlj2uvZd1bVYq//MUBZilUvvE=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=XXpRIXBRBqHCH6QrglYDi0zHfbUjQ99+ilEOvS63pllQJz7dZuuTeD3ASnMXy3tPNVrARptQb4M1HYOI94zoHIcQONL/I0wL8BipbfDrZ/JG8YN++TezeqaL2q01qJWdLEJpBmOMV35l5YX3Uc6QX4NI1qkfDLLlPoqDl6VfFLI= 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=hoFwd0qR; arc=none smtp.client-ip=198.47.23.248 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 fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 42E7LWhp021096; Thu, 14 Mar 2024 02:21:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1710400892; bh=FcoX7xACm0C1orkfdYLpksQ6GDrWcw1v4XBWKblj6aE=; h=From:To:CC:Subject:Date; b=hoFwd0qRrkujocVtDEidzEbAzz2Ly1IGAPu61kJNMe5pQNyj4eKt8ls4Yd4QWuHEi Svzmc7WEcYeHgcoFVOI8mTLxY4Wbu2ZaLvXzf0wEzK0qjlaT3uZ6TBuJVgTqtouB8p IbhJmqHW9ZxTRayloC3TzQi0NfGeT6hHMdGFZOYY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 42E7LWSl021663 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 Mar 2024 02:21:32 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 14 Mar 2024 02:21:32 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 14 Mar 2024 02:21:32 -0500 Received: from localhost (chintan-thinkstation-p360-tower.dhcp.ti.com [172.24.227.220]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 42E7LVQW120513; Thu, 14 Mar 2024 02:21:32 -0500 From: Chintan Vankar To: Conor Dooley , Krzysztof Kozlowski , Rob Herring , Tero Kristo , Vignesh Raghavendra , Nishanth Menon CC: , , , , , , , Chintan Vankar Subject: [PATCH v5 0/5] Add CPSW2G and CPSW9G nodes for J784S4 Date: Thu, 14 Mar 2024 12:51:24 +0530 Message-ID: <20240314072129.1520475-1-c-vankar@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 This series adds device-tree nodes for CPSW2G and CPSW9G instance of the CPSW Ethernet Switch on TI's J784S4 SoC. Additionally, two device-tree overlays are also added: 1. QSGMII mode with the CPSW9G instance via the ENET EXPANSION 1 connector. 2. USXGMII mode with MAC Ports 1 and 2 of the CPSW9G instance via ENET EXPANSION 1 and 2 connectors, configured in fixed-link mode of operation at 5Gbps link speed. Link to v4: https://lore.kernel.org/r/20240131101441.1362409-1-c-vankar@ti.com/ Changes from v4 to v5: 1. Removed Patch at: https://lore.kernel.org/r/20240131101441.1362409-2-c-vankar@ti.com/ from this version as it is posted as a separate patch at: https://lore.kernel.org/r/20240213080348.248916-1-s-vadapalli@ti.com/ 2. Disabled node "main_cpsw1_mdio" in k3-j784s4-main.dtsi and enabled it in k3-j784s4-evm.dts. Chintan Vankar (1): arm64: dts: ti: k3-j784s4-evm: Add alias for MCU CPSW2G Siddharth Vadapalli (4): arm64: dts: ti: k3-j784s4-main: Add CPSW2G and CPSW9G nodes arm64: dts: ti: k3-j784s4-evm: Enable Main CPSW2G node and add aliases for it arm64: dts: ti: k3-j784s4: Add overlay to enable QSGMII mode with CPSW9G arm64: dts: ti: k3-j784s4: Add overlay for dual port USXGMII mode arch/arm64/boot/dts/ti/Makefile | 11 +- .../ti/k3-j784s4-evm-quad-port-eth-exp1.dtso | 147 ++++++++++++++ .../ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso | 81 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 51 +++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 187 ++++++++++++++++++ 5 files changed, 476 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-evm-quad-port-eth-exp1.dtso create mode 100644 arch/arm64/boot/dts/ti/k3-j784s4-evm-usxgmii-exp1-exp2.dtso -- 2.34.1