Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp94008rwr; Wed, 26 Apr 2023 21:19:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Pcl8Gj7DpdbrommMI8FIJh9dSdak5JRu3R7o3NGohgt81ffuBZJ86T63fhY4NzR6s+/Up X-Received: by 2002:a05:6a00:1351:b0:63f:185a:6db2 with SMTP id k17-20020a056a00135100b0063f185a6db2mr638768pfu.18.1682569196133; Wed, 26 Apr 2023 21:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682569196; cv=none; d=google.com; s=arc-20160816; b=nAfsUQoBa0Cw48c3eSCBZ+kXJ+5lDR/VCmoOMnrcnkIQFfwIEiyKOwDqlTlZB7cP1K bGhEEPpHwn0zgoPYZ9ghgAILu3MiyTARfpTFbMmVZuXM+LqndPd7408YSh/a1+O0n/Om nCufPRhlxKfrMQYKTkkqAJB55t8CHXVmYBHuCXkFMUxYIAixtmzHUVI/oZxeWwIQPdv3 HdyHZd7LCVwxPdUVcf2taroR5vIfPXaqfl9BGLvIl2jRLM9h4nB0sKLssMWf8QCc2c45 QaGz1Fge+ZyzOKOi1DwqKar+4z4kSnHL2ycXr2tr42g8Av0LRGpiq9DaIta6iow8Uej8 zf+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=xAjERUvYRTHSLxch3No3kEFC4BEqtB21qVD0snlUb5w=; b=OrY4CCQ0MCKoBcdO/Wyk0hoENKEaCdu5TL/3x7ABlPWZA6O/W1GDjb7/Xsmfo7Ovks 7AQ+6Nu1PH0+mAu4nLhjKguA3RfBGAd0SddJuf8XFVBI+xe7MIjGutvRzVxZtSvjzM8x plyyB17385m3I+7U2Zg0959C0ovbd2KD0610ukthKx/uIw0TZdN1I4HX2U7JP+nKL8Vb 24vAD1dmi0X/5ODbZkkq+Pflw/Iv62wTsRS/2wzaqtwWmxzdTLtC0pbpY3Nb3/mv88Hh SRlN9QnY6I23wG0sTRWDXxjnLnVrrPDeL2H9fBOmdo0xykODq0Q/240mn0/fjethIcDW Vc5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BP4iKz8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m125-20020a625883000000b006361df3aa86si8966771pfb.88.2023.04.26.21.19.42; Wed, 26 Apr 2023 21:19:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=BP4iKz8T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242672AbjD0EOv (ORCPT + 99 others); Thu, 27 Apr 2023 00:14:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjD0EOt (ORCPT ); Thu, 27 Apr 2023 00:14:49 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36946107; Wed, 26 Apr 2023 21:14:48 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33R4Efan031374; Wed, 26 Apr 2023 23:14:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1682568881; bh=xAjERUvYRTHSLxch3No3kEFC4BEqtB21qVD0snlUb5w=; h=Date:CC:Subject:To:References:From:In-Reply-To; b=BP4iKz8TttOyH5zGxt/O0MkUkHO8YjSp1fOHktXhs2f8qzgj9teDZx3zWOxuPb34e /hpXUpBQpfmramwwtG7ypYDBnEnnciAwjczxEmwNitL5um7tRu8PBu/ll1z7qtCrJf 16zt6/dXEXCwAF6j9KQUwmec7FiVBES3pcGfSAjs= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33R4Ef8a033316 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Apr 2023 23:14:41 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 26 Apr 2023 23:14:40 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE108.ent.ti.com (157.170.170.38) 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; Wed, 26 Apr 2023 23:14:40 -0500 Received: from [172.24.145.61] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33R4Eajg073378; Wed, 26 Apr 2023 23:14:37 -0500 Message-ID: Date: Thu, 27 Apr 2023 09:44:36 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 CC: , , , , , , , , , , Subject: Re: [RFC PATCH 2/2] arm64: dts: ti: k3-j721s2: Add overlay to enable main CPSW2G with GESI Content-Language: en-US To: Nishanth Menon References: <20230426105718.118806-1-s-vadapalli@ti.com> <20230426105718.118806-3-s-vadapalli@ti.com> <20230426130003.q2fotsm3b5r7hh27@ominous> From: Siddharth Vadapalli In-Reply-To: <20230426130003.q2fotsm3b5r7hh27@ominous> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/04/23 18:30, Nishanth Menon wrote: > On 16:27-20230426, Siddharth Vadapalli wrote: >> From: Kishon Vijay Abraham I >> >> The MAIN CPSW2G instance of CPSW on J721S2 SoC can be enabled with the GESI >> Expansion Board connected to the J7 Common-Proc-Board. Use the overlay >> to enable this. >> >> Add alias for the MAIN CPSW2G port to enable kernel to fetch MAC address >> directly from U-Boot. >> >> Signed-off-by: Kishon Vijay Abraham I >> Signed-off-by: Siddharth Vadapalli >> --- >> arch/arm64/boot/dts/ti/Makefile | 2 + >> .../dts/ti/k3-j721s2-evm-gesi-exp-board.dtso | 83 +++++++++++++++++++ >> 2 files changed, 85 insertions(+) >> create mode 100644 arch/arm64/boot/dts/ti/k3-j721s2-evm-gesi-exp-board.dtso >> >> diff --git a/arch/arm64/boot/dts/ti/Makefile b/arch/arm64/boot/dts/ti/Makefile >> index c83c9d772b81..13db9b8dbe1d 100644 >> --- a/arch/arm64/boot/dts/ti/Makefile >> +++ b/arch/arm64/boot/dts/ti/Makefile >> @@ -42,6 +42,7 @@ dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk.dtb >> # Boards with J721s2 SoC >> dtb-$(CONFIG_ARCH_K3) += k3-am68-sk-base-board.dtb >> dtb-$(CONFIG_ARCH_K3) += k3-j721s2-common-proc-board.dtb >> +dtb-$(CONFIG_ARCH_K3) += k3-j721s2-evm-gesi-exp-board.dtbo >> >> # Boards with J784s4 SoC >> dtb-$(CONFIG_ARCH_K3) += k3-am69-sk.dtb >> @@ -49,3 +50,4 @@ dtb-$(CONFIG_ARCH_K3) += k3-j784s4-evm.dtb >> >> # Enable support for device-tree overlays >> DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@ >> +DTC_FLAGS_k3-j721s2-common-proc-board += -@ >> diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-evm-gesi-exp-board.dtso b/arch/arm64/boot/dts/ti/k3-j721s2-evm-gesi-exp-board.dtso >> new file mode 100644 >> index 000000000000..2ec08754bf04 >> --- /dev/null >> +++ b/arch/arm64/boot/dts/ti/k3-j721s2-evm-gesi-exp-board.dtso >> @@ -0,0 +1,83 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> +/** >> + * DT Overlay for MAIN CPSW2G using GESI Expansion Board with J7 common processor board. >> + * > > product link please. Thank you for pointing it out. I will update this patch with the product link in the v2 RFC series. > >> + * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/ >> + */ >> + >> +/dts-v1/; >> +/plugin/; >> + >> +#include >> +#include >> + >> +#include "k3-pinctrl.h" >> + [...] >> + >> +&main_cpsw_port1 { >> + status = "okay"; >> + phy-mode = "rgmii-rxid"; >> + phy-handle = <&main_cpsw_phy0>; >> +}; >> -- >> 2.25.1 >> > -- Regards, Siddharth.