From mboxrd@z Thu Jan 1 00:00:00 1970 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 43132C77B73 for ; Thu, 27 Apr 2023 04:15:45 +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:In-Reply-To:From:References:To:Subject: CC:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L9R/jkZ3eXZ4Xw0FeHxapj4RDoEWP69wbC7hZeRONdo=; b=tfK8QbkTddkjnK 60MQaiyIIIkf8OFFhhj3p41vdO0YBeJfiGwQJfdNpOdtH2tF0bBLiWI5iocBEhDrxxZlwrfHpgKTa ahoitp7wpy1nb7AlpomxKYh1ueW9XyLCVRcmLefKs9AT9WQwYGUA76s1Y99PSUFQ8xZojJoeKB0Mm Q6tfz6ZB9qY6RT3WGPlgNaGSpv6l2e5s5TZ2zB1vQj+jNKPy+9Tg0h5/htQFfUnCZeG5OdvRx2Qgd EUIvqg/6637OqOxNhu62i2UnQearoZZqIg3tyoWnh7si8Zb8Iu/CXZTtG6uhgJktGJqJmX3wUs3Jn RUetCwtobqi1Rs1GkadA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1prt1s-005PrL-2t; Thu, 27 Apr 2023 04:14:48 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1prt1q-005Pqc-06 for linux-arm-kernel@lists.infradead.org; Thu, 27 Apr 2023 04:14:47 +0000 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> 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-20230426_211446_152600_DCE3C913 X-CRM114-Status: GOOD ( 16.78 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel