Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6159881rwd; Mon, 5 Jun 2023 14:05:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xSSRNZRBORueBMpPI5duBjSa7yOSdIpk1SvlD/g8hf+KlFnK7jbaU2QGRjXFGMXaoryAx X-Received: by 2002:ac8:5713:0:b0:3ef:2f81:7865 with SMTP id 19-20020ac85713000000b003ef2f817865mr9262747qtw.33.1685999143430; Mon, 05 Jun 2023 14:05:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685999143; cv=none; d=google.com; s=arc-20160816; b=m8JUmFt63AwJqO2wsSsvJjwhMYxHxehJN7RXDvpRPGxIGnNnHeEb0OTFF+7If0D5qU A0hpsC4pKDxEA/hFMSiVMbnatAQQ6iQkUHMnTG4cqJd0FCna/51febTOG6zWhPhv67xZ iYfxqDn5HkVWYIj3FNlccGrSwjsonM4MhjicsWi8MGWGopLJBbo9/lD/KpnDnA72ZV/D xc0cqQ/6g7+ft6UHIovOreiO0g3s72ZQlGo4faOJrr8Nl2FLzizmbi3y8dR1xTn/JdJ9 WBf6orj+9PR3rUlnco2QhbrcymwFEhxzJKYLM+xkArcw0fQk7xPJPa9sAfR1+6VDB4To +z2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=owfzNXjgRIhds0kf9ztj9jjDbFO7AWNXIHw+Ae0od9g=; b=nWSh/o+5MOm3F13J71ND+KVBQ90A9QCkigU5gCmnbEsub8N8pC8Yb/ofjADZpwvtPA wGGXmnkjqarVb7iJzwQiLfL3QYrJsmagDhNYqAb7C/ed6P5IlC5b51Vi0+mRYbiL2evB PciNYnT1FUJWSwMWo+K9s2Aoz1lr56b836GKSKY7LbmiD0xeVNiUcyB+iE0LeGPcxswp B1ExMwydgMkh3Y6BlmcBMrU95SZaniwtT07/TrZiwVcrQyvXrJSREnu/bHdCSTM1C14t UqbUWERlLa0CKnSzjb8+eURDbIWIWBOC3O6hChFc84myK/crzWh8e6Gas3Skoa5SyfYE x4sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZUgyNaxR; 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 v12-20020ac8578c000000b003f8a00e78ecsi2077499qta.5.2023.06.05.14.05.29; Mon, 05 Jun 2023 14:05:43 -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=ZUgyNaxR; 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 S233008AbjFEUfB (ORCPT + 99 others); Mon, 5 Jun 2023 16:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233567AbjFEUe6 (ORCPT ); Mon, 5 Jun 2023 16:34:58 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 845AED2; Mon, 5 Jun 2023 13:34:56 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 355KYjRj039900; Mon, 5 Jun 2023 15:34:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1685997285; bh=owfzNXjgRIhds0kf9ztj9jjDbFO7AWNXIHw+Ae0od9g=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=ZUgyNaxRqzm0UrGn0CGrMgmkSZzm/SjbzzFib5wVmwVC8Xm2soyo2+0R9AyzcCvXs M61kaAY8eqpaMmTPbuFV8EyA1nGkBL1JVwRN4ebIFoZGOeEwmzLnVb2l/tVn76HHUz 6nkiCbfIu+OxMd8UWFVknoBSBfD83/Zfh40PkVbA= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 355KYjth125048 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 5 Jun 2023 15:34:45 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 5 Jun 2023 15:34:45 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE110.ent.ti.com (10.64.6.31) 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 Jun 2023 15:34:45 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 355KYjN2021312; Mon, 5 Jun 2023 15:34:45 -0500 Date: Mon, 5 Jun 2023 15:34:45 -0500 From: Nishanth Menon To: CC: , , , , , , , , Dasnavis Sabiya Subject: Re: [PATCH] arm64: dts: ti: k3-am69-sk: Enable MCU CPSW2G Message-ID: <20230605203445.z3ducpq7pr74m56c@evident> References: <20230605174202.159278-1-sabiya.d@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230605174202.159278-1-sabiya.d@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 23:12-20230605, sabiya.d@mistralsolutions.com wrote: > From: Dasnavis Sabiya > > Add device tree support to enable MCU CPSW for AM69 SK > > Signed-off-by: Dasnavis Sabiya Does'nt https://lore.kernel.org/linux-arm-kernel/20230602214937.2349545-6-nm@ti.com/ address this? I already CCed you, so do you care to ack instead? OR provide review comments so that I can improve the patch? > --- > arch/arm64/boot/dts/ti/k3-am69-sk.dts | 50 +++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts > index bc49ba534790..4b7d9280d76f 100644 > --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts > @@ -104,6 +104,32 @@ vdd_sd_dv: regulator-tlv71033 { > }; > }; > > +&wkup_pmx0 { > + mcu_cpsw_pins_default: mcu-cpsw-pins-default { > + pinctrl-single,pins = < > + J784S4_WKUP_IOPAD(0x094, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ > + J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ > + J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ > + J784S4_WKUP_IOPAD(0x088, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ > + J784S4_WKUP_IOPAD(0x084, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ > + J784S4_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ > + J784S4_WKUP_IOPAD(0x07c, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ > + J784S4_WKUP_IOPAD(0x078, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ > + J784S4_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ > + J784S4_WKUP_IOPAD(0x070, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ > + J784S4_WKUP_IOPAD(0x080, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ > + J784S4_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ > + >; > + }; > + > + mcu_mdio_pins_default: mcu-mdio-pins-default { > + pinctrl-single,pins = < > + J784S4_WKUP_IOPAD(0x09c, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ > + J784S4_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ > + >; > + }; > +}; > + > &main_pmx0 { > main_uart8_pins_default: main-uart8-pins-default { > pinctrl-single,pins = < > @@ -178,3 +204,27 @@ &main_sdhci1 { > &main_gpio0 { > status = "okay"; > }; > + > +&mcu_cpsw { > + status = "okay"; > + pinctrl-names = "default"; > + pinctrl-0 = <&mcu_cpsw_pins_default>; > +}; > + > +&davinci_mdio { > + pinctrl-names = "default"; > + pinctrl-0 = <&mcu_mdio_pins_default>; > + > + mcu_phy0: ethernet-phy@0 { > + reg = <0>; > + ti,rx-internal-delay = ; > + ti,fifo-depth = ; > + ti,min-output-impedance; > + }; > +}; > + > +&mcu_cpsw_port1 { > + status = "okay"; > + phy-mode = "rgmii-rxid"; > + phy-handle = <&mcu_phy0>; > +}; > -- > 2.25.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D