From patchwork Tue Apr 16 15:26:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13632052 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2051.outbound.protection.outlook.com [40.107.6.51]) (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 C7CD11353F9 for ; Tue, 16 Apr 2024 15:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713280777; cv=fail; b=AFI4bcitT81lTrnVUQF/m3nh2mPvT7ZTndpP7RlFzyG01R360jWphNYA3g87rI3HHwBAlOkKwcamdphBHsl0cgqeX+b38oiqQ1/ryJ2gK7oxMercYfQ5OZDINOZZEENkJTq7PzHrsv6BUvJNjNKO2h8M4LUzACajL/Gh0hg4a2E= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713280777; c=relaxed/simple; bh=zrNJwRWKudONbk7rDjH/jDpbC8QXJK75zL6EcM9EWPY=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=MFkvde5r0mv9+y3hS9DUx6dizJw0oQIqgDEMZ3MwvQJzgH1agwU5fkdg3ikWqjvB/MAwk+Sz+IR8bb0ahAbsGKQtsAZ3fGA5BjI/hk1mJA3W2QCBEddiAyP3lUQatsgkJEPpPXX/pQufXmlHf7ODfCP0B/GmsD9VuP7GqcmSLiY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=PWJP5Dvj; arc=fail smtp.client-ip=40.107.6.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="PWJP5Dvj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kGHLlDRQIVbfjwalk48A0shTkUY0nxEoGbSBdSdUMa4PjTcdyNKWAfGDh+ZF3Muxp6pkFm0e1dU86tmC1QEiwWfC5iOtGe+kRMi/AR/ZVQd5WTYK7QG7n42TkeD4A3oEEw6XemDa7XnU0C3HAFCKOENK5AMCXiGbVmVgGjeeUBoUUuag5rF1uByccFI9RBCvY+nso5ydp9saMxqXHMtHwOdFuJ4ekTzzBuVn+q0byuDVGIMbcGCXXgZuouYsoyo/UTSAI9j5nXK97KIhEsosHj8XOZ5WmbbSaePwaPtYeg+DNSI7U+OQg5g6SAh8tFKZoxx2pcmvhKpeMy80lSLPDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IT32LSHMcIuQzL0CIpSXsBuJt+5bRTSEl6OAOqsLuRk=; b=hDWbYo2s3l6lGtDcSa3eHggBzQ0aOHpOfFLB6Z01cP1Qy5dXF/U3NjtbDzArAxfoPPAKKyH4B/4ayr3OizTsE8+PAVdYo/zQebQusb7RSrU8Q71AVAFrhy7Evwls69KyhC4eLckilMWRWjB6hbtVKuvQjvs4HDMpsW+jcNQIO7wUUl7rLx7YdXZrvBdei0ye7u34lBGFx+gQWCnsPwnXDHv35DyB+hD9tn+oBFZ23gkj01FJYWR2xrJXTzxvTF5QAgNaMHFKLRlWs7hv17QHvRiTYx0Zl43Xbyn4d8MyptkRNr3T5zSYdnc9PSW0vNOCzLnrhVTfCwYr5gCb20BU4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IT32LSHMcIuQzL0CIpSXsBuJt+5bRTSEl6OAOqsLuRk=; b=PWJP5Dvj/VRjZYHfR38X7IQRNmeOOEgfuC0zVMB4a6G6gpN2ZWuE/1x4ze++qML+oF49jK7k/CdqALqo7aRhSkl0Fe4EeJ1lMJbpTMlL0gOm12nQpNiqhoy9gJTdw7rXmsYccJWJ5/b6PKKs0goDhlp7IukVITzbbgSoaiZtNEI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DU2PR04MB9194.eurprd04.prod.outlook.com (2603:10a6:10:2f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 15:19:32 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d30b:44e7:e78e:662d%4]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 15:19:32 +0000 From: "Peng Fan (OSS)" Date: Tue, 16 Apr 2024 23:26:46 +0800 Subject: [PATCH 10/11] arm64: dts: imx93-11x11-evk: add reset gpios for ethernet PHYs Message-Id: <20240416-imx93-dts-4-13-v1-10-da8ac02e8413@nxp.com> References: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> In-Reply-To: <20240416-imx93-dts-4-13-v1-0-da8ac02e8413@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Wei Fang , Clark Wang X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1713281224; l=1135; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=zt/COlkMbz43z8ZmWUtFhg4O3YRr9hO66cApIQ48y4I=; b=mdy0uimYpYMItC/CNeZyXk/UeNVPMONEBj8AiQ0nJjtDHdW9hm8piXxTOOHblXVij/G09Jfvv 19BhKwLANOdCzJpQCzfd8dOxD9R/r+Qk8E5KvNB2SKO1X+VqnRNmQsa X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0012.apcprd04.prod.outlook.com (2603:1096:4:197::14) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DU2PR04MB9194:EE_ X-MS-Office365-Filtering-Correlation-Id: 5287b02c-6ce4-4feb-8dc9-08dc5e289e2b X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D/+djYZA+uOcYoVgw5IOy7DXPc9rzIsbPq4Ot+OU7KXJNzVBHxXnQGQBpf5lndOGwu/yyNV4xME5hBMVxdl3vzZPKvzfdT9I3rzCxKfvJHFqiZMnYrtUlnGtkxVnCdhMHLN7sfiH/DMFGEFaY+RVeyl/b5q5v+memJOtLIoBzL/tZhYlvBEUKPeqro4C5VdaIoqEgynWPvKyVMOX/UomlyGLxeIlwI0FFURPTU7KZQJAegVF51tQhOIJE5FxNrrXTHyW0RXIFzAinyqhNzzGQRfsos1QP0J+FwaNULEb000UWTf7maBLhk7u8IpDt1CqxZx5EbFkfJrHU+NEDlMn0oTZtCsB+8GcGfCTeJg3muKAhZsuodcw6OeM8YqAhPIkdJhuDdgN7jDwzJ2oeJsfWnTY4Y3HSLEeCyE5shvakP14+f3xwXElmiAvHGbTQIUAOP6iJOU4C+OXaDBsPRd9mlx9xL08axdxmPO/MPR2fAKpEofH45LGsHGN+e/4zC/mAtppKw2mSmX4J/qNT9EyL029ie1V2Gh6WzFaQ/GFUNfLSWj39xVYzuNbq7WU490aMo8AU9wFw1SznfwZhr5gFfXIhpurLxfOG8/kjsogSkD8LMJuPI4oD4KyA4JSbEIxSeh5mB/dCPEnFA1Zt4qopI0Qejrb9v4BAl9ymcQyjhZKNidv3B3dfxVeUj0+j1BGNi2E/tZKyqHU8YW9Okb/wli+RsZ9rlgUk4pI/R5XsqM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(7416005)(366007)(1800799015)(52116005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?BTRjrn8geBsUHPPuvku/koXWqwzr?= =?utf-8?q?ySAj5NFpNMHaC9cxCENAk26+72/toD9YHAqLPRK/wEp3i3vVpyOh8h1B0/oisE669?= =?utf-8?q?c+YOv5bcM7xkV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EPTE+gcYwrtnX98LR9vji5T?= =?utf-8?q?2o4gOm+/KoZqw4Em3l1XNyGfoF3eJzgN96iHvm7+QsZKLNPCYpyNuO+n2B0wfwQHa?= =?utf-8?q?DRVgVb4YBXwS+rlPpQ+wPqhC5Gr7MONeWDYuC8NKINCJCzJ/2ipMjvkMp1KnuqGxc?= =?utf-8?q?yy4imoYB3DKnuMxTmnNILvARe0FzkdehGOnjQ8V9WeohB2bS5nzavYflhHtIDJLoo?= =?utf-8?q?l68EOnDgWHZJPyr3xoIwF0k2G72X8+EWv/bfiHd3g2J9dphUKMDtPZrkco2pNPvep?= =?utf-8?q?1RMWYBX2di8W6fO9EiyY/2r33Wg3OaKP+Me4Dwo7/8QePh8bs5QdaRmZAY7RB6/OT?= =?utf-8?q?FrXviBc0e0pCeyqJlfCjxhjoBvkJg0IrTLIsgG8u9tcB8MT9EWCKD06a6KMD4lqdj?= =?utf-8?q?LhWjW0l5iRXnj+W74nObVOoxIFkOvSRgchrROOmM802K3rgMNHHqjNwbHHYa3yPc1?= =?utf-8?q?UfikptXBt6IPoWwozKUeQm4cMUjNrTl9/X7DvGvmyfvNwIst9Bro14oBu32Dal6Zi?= =?utf-8?q?RqibbGZgmCab?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5287b02c-6ce4-4feb-8dc9-08dc5e289e2b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Apr 2024 15:19:32.6260 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VLVPGY+UbZuBUr1y2w/GgiefZjwx2w3GtUZCvkdEztrB4BnzMdw2eqGxy0KE/5pBJSFJNdjCbE2j7sFJTgwdUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9194 From: Wei Fang Both the PHYs of the EQOS interface and the FEC interface are supported to be reset by I2C GPIO Expender. So add the support to reset PHYs. Signed-off-by: Wei Fang Reviewed-by: Clark Wang Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index b29d470d2492..44ae985945ad 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -121,6 +121,9 @@ mdio { ethphy1: ethernet-phy@1 { reg = <1>; eee-broken-1000t; + reset-gpios = <&pcal6524 15 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <80000>; }; }; }; @@ -142,6 +145,9 @@ mdio { ethphy2: ethernet-phy@2 { reg = <2>; eee-broken-1000t; + reset-gpios = <&pcal6524 16 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + reset-deassert-us = <80000>; }; }; };