From patchwork Thu Oct 17 07:46:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 1998437 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=lexsofnl; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.80.249; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-112312-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [147.75.80.249]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XTgKq6fF4z1xth for ; Thu, 17 Oct 2024 19:02:23 +1100 (AEDT) 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 am.mirrors.kernel.org (Postfix) with ESMTPS id F421B1F26906 for ; Thu, 17 Oct 2024 08:02:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC81B1D318B; Thu, 17 Oct 2024 08:01:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="lexsofnl" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2040.outbound.protection.outlook.com [40.107.22.40]) (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 375551D2B0D; Thu, 17 Oct 2024 08:01:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152110; cv=fail; b=OFmJHFlJVmodvp+OQK3oZObEQn0c7c67lz9mtMQ9ArYVgHsZGiXJjSytg24xaNnuvbaR//l2RNrK90+yAGiQMed/0LUwpUf8nv7nIKl6l82vw/dJ9jHjmFUCIbMJqbwz9+/zkdAubru5dJ0iALkA10P9uZM9muyE5Icnpyx45P8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152110; c=relaxed/simple; bh=U8mIRjLLo/SidCdLK/en72QCtrv9iigGqTyAZCP6n0Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=aWnKvojCPo7Wy2Pk9omoD0oJ4SmhlMkkRo8l710CnnYxJSkXMaRIx6ASU5+c0lfScMWqfAVI1LMMmdW+5D7Y4iPbBwZVN997/htvrEu3j/Ggv6ByzsyHVnE0N+7mGpuFNZ2XDycUokBbJI6Mu3FFjZ3JS5zAM2ywNM8GsyC+a8Y= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=lexsofnl; arc=fail smtp.client-ip=40.107.22.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=K5BJFJN02gCT+sSxta4FYOrpCDazj4PI+MPplPrZq7lDSvpgYMA4EHPBnXz7JPKac7VLrKYzAxNpTpmLJe7ITPgBwkAcasooNhyEBBWbxT+qH0TDDdJLKCtT8QGC2TjAznGuGyJibFOjTJwms+u22jX/EJIJ37lVoRmp//2rLRs/8Ef3MSoNcFRtXNlz3diWebdqE59I1PI7HLbpeBRRvrvhfmJCTmyI9ZV+DyAbBFlMalhVZxFZ48RKErakUbIAMP/YADqO+B7x3+lgZizCITsiYtx1HAWmIkNTaDJCppjHZRCATPk99EC9KZvCrFvjMuA2i6l2XFzSYQah94MmGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=DgmWLasc/x8D9mV9MYRct+igiNRpL0P0dcY8ICjUkdk=; b=B/Ua4wdHLar5VejAYPXKwM+IcT0471mP3hqiX7SsgkO/AfARf+37N3veJukdS54Su3LvAKK0920nlYrxtUpbLwLRN85fDXf/X/Ka645stzHXzBdaxZl+OI805NcBn2zb/K0zqvJvelTuAEQqx8twYqMScBXju0BmQtOIKeuzqbKOA/PK4r+wWsqXkXp/vX+x/tCH14vTf2giR2UW7Ulgche3hOOuZxGAff34mShAdG4tmvb9cta+OPUWdZrf91safhrGtqXPItBA0hWgXrA9+qXmSarJffh+tYbgeJ+OSF0+t49mM50AOAF7UT1LAp/V2GXu9P9YZTGt6GBa0zvtHg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DgmWLasc/x8D9mV9MYRct+igiNRpL0P0dcY8ICjUkdk=; b=lexsofnlrRMfjBg/FpDOeQdCaMeeNRyjEzq9ZKdrV4Z/XWNc1yt+iWAUq4Ya6N+q2j8vscjAJgjpgIV7kZi32GHp7W822IeqyVfBA4zyA/GHX4vliI4XIu52G9pkIJapccbkiP81B6oX5T2nGIGdTEz7bheYwomSIB1V9b3znd3ZaaTRZ/cxSxN7DzguWzUU2/QD9Ln9bSK9tMZ0jNCQog2LSeC4Urg9H0cYD6+Y+9t48ToI9WBeJFHJzzQg48vzAqC2DqYlYlNOEvHEmDFQZs7Ez9JjTDglDF3xjzTqCDDuOP3sHzIBQjIcEFpFQatYGvvCIuNiWcInGBZJde+y+Q== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) by DBAPR04MB7304.eurprd04.prod.outlook.com (2603:10a6:10:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 17 Oct 2024 08:01:43 +0000 Received: from PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db]) by PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db%7]) with mapi id 15.20.8048.020; Thu, 17 Oct 2024 08:01:43 +0000 From: Wei Fang To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, xiaoning.wang@nxp.com, Frank.Li@nxp.com, christophe.leroy@csgroup.eu, linux@armlinux.org.uk, bhelgaas@google.com, horms@kernel.org Cc: imx@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v3 net-next 01/13] dt-bindings: net: add compatible string for i.MX95 EMDIO Date: Thu, 17 Oct 2024 15:46:25 +0800 Message-Id: <20241017074637.1265584-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017074637.1265584-1-wei.fang@nxp.com> References: <20241017074637.1265584-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|DBAPR04MB7304:EE_ X-MS-Office365-Filtering-Correlation-Id: df6cb4a3-b819-47cd-0aa9-08dcee81f03d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: Mjs+zUX6eDPHMmEm/TZVJw3LIpXvXB+PoAVqF6DwqjMEDtrhOcTSdy8rZYkPVYHDXbDKyUfFwU3kVLGJJuPZLXS2ywDqJvumua1twkjTiowaD4sAcASWNM6n5KdiTLRXF/RJQun0ALOaaYeIy6yZfVqX2+jIP1QuUlvQb1Mnuu5wkRl0DgoP3AIdi2b4sUy7rTMVfPqLqCEqZqpQSJbHR+gnhCsddjma+03ehcTQ2lNzJ+Vx7ccLCbxcfPbitpnAKS5bPBA27eNbtNpp2phdUBk0dK39Hpw6siwPCYdsJrQex4wZgP/YdMBASEh27mFxgxPSog5F6QjXk9MLKAv7SHdxz/BVL2AoQ1twCZnGqwOax2CfnyJ+YAL/9U3fig8kXhYgU7u2Wme6cDmfqyBlm/YWtOqb5rWe4cKChGVMyh/Gqb8pK1hvZViZUN7VUeaM48yafFLZAjvGoZRJX+f/97rsY6OxJN3YBTbL1zveJ+lzLUuSdwkI87ImruT37fUMUZ0DkX6ag39WFF4cLOIJhwztLL7Et+LCIBHMTplhncH5cdQGAOcoaRBnQIv+zDvJwAKpAQfkzwsX5RACfafQh2cVnZptyw3A5nP2xs5XbUgV1mOoZ17rW+rAC9KxTmYpsN6kDqK7UhJX32KlNrN5Nne6+AIy9x9WajJGXUz5VEVgBym+RDU6CiPRmlfniK0v34SwwZsaCjvowd1u5F2QS9JlUYh6AJHWkwkcHvwxfGkoO75ngpBHMQXtjMODS8JE+eGOnIw634uBeEqREZK4IcY8dmrgyEmuAmOTqaZ+Lk9ae/TxDEJ+p0iVeO8TPBVnJhnYOykM3VwQXWTz83DXzSA68Ixhz9q4XIojA3TYDJaudD3SIZMH1bOIHgtbq7HLXLuR/ji5GZlTW2qOQTrLY8Cli0n2tBQuNXZYqabTCwaiIL64uKUMP52RBYkobfVUnc4D774Bbed7Rrgf5vyd11NF5ulzjB4AxRRnjgrKHsrJ24+fQp5nEcEr4T3ZnCImn567z+e7z1Gq+fVAKW1lQVuDS+1iAf8OumzEQgxN2zLZnIrEL3G7cEnZflN8yk7Ak1I3lDzlB1hqQJ29Ix0P4R4xSBnaoRZgWC18B4WQYKjnbR7mCkr2OaHnWumRbUCELwtLlwB/YdnkEUiF28TsohsucVXx6lZ8QsBPjl+HznSKGuB6fnyPM4Wovsiv7+ELq772YFIyuv5+YcHEntZTT87wF2E0iU/GbMHKNdKDZSMbuSj2oLEBo6EJnxpoPCZmKctO3Zuk2tZX/WjBp8J2KKUl8fSjAEb4I+GQEM3IAQUfjiZLUKGjQBWmpMjIhwWmhevqtdX/rk+DJ9kGvYZZxQViRsAN7NXj3603/K6PEka+fmqFO9roY8gR8Q8XgzVa X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8510.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(366016)(376014)(1800799024)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam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fF4FFPn5boq0lU4ChteF7ChdPMQWSq78A/2zQTPNcT2C3GoTAXc1auqkyl4mMUU+k0CAf64ZVZe59fP2DJgS+VJFPU9UR8OrR/n3BZkg44HaSJF+xsvWRFYT22Ymkcx5F4mkjLK5WcqLKGTPgqIJFZObQvybcnLRpD1cldP2OEWR46f1RDtIh+49jmYImoQZdXo9B6ttISYb6X8Weoz3sdV3RpYsi7t0NHExkKledR7XP2sHsQ/oo9b+QFsLRjneifBQnaTqCYeetSlUdQIA2GXIkqDKsOeGRTArdAMkr0Hw9C8/g405gMRnllorRZnbQwME0Iu04+e0szB6LD5kDuy2r/8lPvcdN0OioTeTnVByxfGzW/8I7BnZPgjgYtxZU9kQTfnM+YVQC8mWHc1S+BgIDsHlKRA0CjLkdYSOOtnreIXIax2RI/BL7l8JjC0xAElhb4v72i1qHVLkjBeO+xBHcwzqCuXaYFifE7Hx5aSEzK3VuZZZt6JIkbvgLvZxPEFmuK1pzwO6K8o4qS6L7OcVwYQ5SMviFyVfkkn/dhef6o+RT9ds9J X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: df6cb4a3-b819-47cd-0aa9-08dcee81f03d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 08:01:43.1867 (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: YQMjaOjUBphSZf117qajflRWiwWiRQVfcclhwo7XCtJbTFPBBw81rIm6kXNdm7Nx1lBCNs7+tfg0omdLZqXUnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7304 The EMDIO of i.MX95 has been upgraded to revision 4.1, and the vendor ID and device ID have also changed, so add the new compatible strings for i.MX95 EMDIO. Signed-off-by: Wei Fang Reviewed-by: Frank Li Reviewed-by: Rob Herring (Arm) --- v2: remove "nxp,netc-emdio" compatible string. v3: no changes --- .../devicetree/bindings/net/fsl,enetc-mdio.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/net/fsl,enetc-mdio.yaml b/Documentation/devicetree/bindings/net/fsl,enetc-mdio.yaml index c1dd6aa04321..71c43ece8295 100644 --- a/Documentation/devicetree/bindings/net/fsl,enetc-mdio.yaml +++ b/Documentation/devicetree/bindings/net/fsl,enetc-mdio.yaml @@ -20,10 +20,13 @@ maintainers: properties: compatible: - items: - - enum: - - pci1957,ee01 - - const: fsl,enetc-mdio + oneOf: + - items: + - enum: + - pci1957,ee01 + - const: fsl,enetc-mdio + - items: + - const: pci1131,ee00 reg: maxItems: 1 From patchwork Thu Oct 17 07:46:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 1998438 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=VGucD1tx; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=139.178.88.99; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-112313-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [139.178.88.99]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XTgLN2TNsz1xth for ; Thu, 17 Oct 2024 19:02:52 +1100 (AEDT) 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id EC41928BA4A for ; Thu, 17 Oct 2024 08:02:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28C211D2B0D; Thu, 17 Oct 2024 08:01:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="VGucD1tx" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) (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 B9DF11D1724; Thu, 17 Oct 2024 08:01:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.73 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152118; cv=fail; b=l7sEdV/0kp/WHbjG7BCrqQ0GIW/NgrceKkhlEqAh2hPBpF7EMlOlFb6cdcvDs4nHzzdIVQOiKtaUb+mDk62oOmZkZzQJyh5gnhcszoQiyx6isScZqM+jUPm2kuwOoUdz5zqDVRTfq1zQSB+3CnQOkUdkPDgd9K44Qiy4SeqMXVU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152118; c=relaxed/simple; bh=qsod1kug6OGGYSuTGxDa9kOCfPlnmc/olL6EWCCkrFc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=tAvUOPB/BnCWZOQABYBeLUBIvkWbvCmUE1qMruQKlmwwWfmjV5cdAt5PsyuPPQBULcTVJTuAXjXuBYRj3MxJ3fuTKZ9J3PWNyuSUunYlM9LTTxbG6gaIrYflPTwRWbmc9RDv/76z/c99oE9O46fqM0niT63Wd9Nbpmb06zei1eY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=VGucD1tx; arc=fail smtp.client-ip=40.107.22.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FcKMKtjHutStGcN91V9j2S6DhCo31ne4ie7SSZ0XtwHzATTmB2HAM7hIwHysOJQjW4Z2N8t83RS4le7nV/z62lN77LxaCQkntAtv2psLRtim0IZquMdhbIfq14yukHLOi+NM70qoALscK0AZtpcwsG17PrvzzLa7vCGKeu+UdUNDXGl85cUmzAZ+mVQwhJzBmLoPIykYijcASVyM9McjdTeo8DdD3vUartuScguk2yMWXgzIRZzlHMGticExDX5Zj9EtLgStzp4OKgVikdWD0xjq1k/6nCRwjCeUfZP2gOAeOXFX+EetKOomGVtwu5nCgcfc2HkCgP1X8/lmsUxlCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=76i7fxjCIN8lO3vJ2mVqWMJQwIzP21vKAQXeUi2Lwzo=; b=PHCxje1jTQDJCbWros26IE2TAORYy+qDxY7Wy/t2rqz9MmOHFfvBC1VvDAhfdq2nYAXKWYmJf3w/r2PEflaf3Q4WNbtYy2Ue6muDPnAuaZ/9Hiupm30WPQStE5GwPMqbNsdMcMK43BRkEhro2slja8E6kapC34Lk/c36yjqFQDgYNJP2VXi7NdwMNSZeRTkJZDDsGGbO/KLW4d2mAtGFDxbhI4TIajDAlSqr77MKV6jNVoYuNSzOx6LiK3s3ge4z8OLMvHYSThipPTD9JTAtxunxkTn2+QseU5E244GwVkZbRSoucDlE6ER1sZhzDsJ/qYcpAQ04p8RZ+h0jFPxrBg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=76i7fxjCIN8lO3vJ2mVqWMJQwIzP21vKAQXeUi2Lwzo=; b=VGucD1txhldyqCEFSq2i4E1gTaMsBHYdrc2MtTGqoguahdw7Q4wWNbv8Zfi6I15zQUS43+GwzXWUzreIgjogFFISsETk5QBejqGR+Z/8sDZeyuP4yIfQH5UehsUKgKFyyNZNnVEVH3d03V2kxS1BZNJksvyv3n6lsgazjgcAVb0Mf1KNb1OMxUktYl2k2Ipb6z8ZkKJ22m1I+QKOt/PlXq8SKzebr+aWn0f/ok5EXv5aQ5rPL4s+f+FnyvEn1FfnedaTPbBYlNhe87IZrhlfby7mEZmJWFEXduCgPWbWmChpTnHyrQh207TDqQl9ZiyStS0kDhh75dDqAqjWxsAWwQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) by DBAPR04MB7304.eurprd04.prod.outlook.com (2603:10a6:10:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 17 Oct 2024 08:01:52 +0000 Received: from PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db]) by PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db%7]) with mapi id 15.20.8048.020; Thu, 17 Oct 2024 08:01:52 +0000 From: Wei Fang To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, xiaoning.wang@nxp.com, Frank.Li@nxp.com, christophe.leroy@csgroup.eu, linux@armlinux.org.uk, bhelgaas@google.com, horms@kernel.org Cc: imx@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v3 net-next 02/13] dt-bindings: net: add i.MX95 ENETC support Date: Thu, 17 Oct 2024 15:46:26 +0800 Message-Id: <20241017074637.1265584-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017074637.1265584-1-wei.fang@nxp.com> References: <20241017074637.1265584-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|DBAPR04MB7304:EE_ X-MS-Office365-Filtering-Correlation-Id: 2b48634e-b171-4cd5-4953-08dcee81f5f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: VsdTE6cGKfzzIz65GVYHdsf5TyAUfUwnTAE6QL2kjllsy6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KHC/XjjMV6pIazou3P6Wc/8sfB1fAZZyIKrqrrWMPBnegD9+T/ABjb0GIz3twHmQqioF3y+ncq5Lp2KAJUTlhZ9J/BvKvvNC5uTF7HEvDfNC6MniZ6Ison3LEQf83cB7MhaiZB5tu7CBCo8MSbidFbxWZdXUnZo9vE1U44xn+0z3mP+nnXw1EhzaTh/xEsGNos7WVXq1rW+Na8WnJBectwL8S0Ag+nci1FA/pHZegDjIcb1xD+mDy37tGbX3CtEVzWWvVEWKpueK3p49yp X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8510.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(7416014)(366016)(376014)(1800799024)(52116014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LBKq167KLshfHYsJJS4A7p5b525Uv3m3nvFblkKgLyBVNQ8Rb6dUOe6AU4WCZbTekqENugV+YAw07+Jsg4QFYO9LwYljSTkHaJve4dfisozIjdgMv0Lk6KWl9i1/NY1S4AFK5P4emm+ygMetV3+I0KBGQLD/VwSma0qZUrojwxujaSoJZmszQAptLBItjk2HeRbJ3evY9cBCtYRJYSqZ0miox6F/HPzPtGXCQFV6nc7FartW6eSx+oJmuZCq05/YVsvnanWvsOAwtlWqhVWZSGJT7xcjtfGGuM5+y3czC0y1KmROsbQRIW7QEy4pc6rdNoUMnxTHg3gKJGf6d0JZ7e51TGieUPlGAsrjoMQ5OabF0we+yq4ACux3ykpCwze/hMg1OpW2Vn1jLS/93IWfS2pYTtv7V8pmAx7v1af7EEjN6JASQHMXoMcjs6be7iXa9XeWfEtYCkCqD0djj+Lp5k4Ng7Ve1Xo1sWIqQ8gO49NW1DDQa5EHNCY7tR5ZTlcr70MPMtp/bm/Sc0dzo2pEGmFx/Hyzl7S/jRcSnuMq1PInYyAzjFRn3hNx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2b48634e-b171-4cd5-4953-08dcee81f5f6 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 08:01:52.7685 (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: f0j441ZQHUEHBVpiaIUSGi3+pV19OZ9wKkGovfu1fTHY9qZz5wkdoumbTfwInxzlYs4swJYcuPQjy95GT2ukVg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7304 The ENETC of i.MX95 has been upgraded to revision 4.1, and the vendor ID and device ID have also changed, so add the new compatible strings for i.MX95 ENETC. In addition, i.MX95 supports configuration of RGMII or RMII reference clock. Signed-off-by: Wei Fang --- v2: Remove "nxp,imx95-enetc" compatible string. v3: 1. Add restriction to "clcoks" and "clock-names" properties and rename the clock, also remove the items from these two properties. 2. Remove unnecessary items for "pci1131,e101" compatible string. --- .../devicetree/bindings/net/fsl,enetc.yaml | 22 ++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/fsl,enetc.yaml b/Documentation/devicetree/bindings/net/fsl,enetc.yaml index e152c93998fe..e418c3e6e6b1 100644 --- a/Documentation/devicetree/bindings/net/fsl,enetc.yaml +++ b/Documentation/devicetree/bindings/net/fsl,enetc.yaml @@ -20,10 +20,13 @@ maintainers: properties: compatible: - items: + oneOf: + - items: + - enum: + - pci1957,e100 + - const: fsl,enetc - enum: - - pci1957,e100 - - const: fsl,enetc + - pci1131,e101 reg: maxItems: 1 @@ -40,6 +43,19 @@ required: allOf: - $ref: /schemas/pci/pci-device.yaml - $ref: ethernet-controller.yaml + - if: + properties: + compatible: + contains: + enum: + - pci1131,e101 + then: + properties: + clocks: + maxItems: 1 + description: MAC transmit/receiver reference clock + clock-names: + const: ref unevaluatedProperties: false From patchwork Thu Oct 17 07:46:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 1998441 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=MV4U086z; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:40f1:3f00::1; helo=sy.mirrors.kernel.org; envelope-from=devicetree+bounces-112314-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org [IPv6:2604:1380:40f1:3f00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XTgM64yJrz1xth for ; Thu, 17 Oct 2024 19:03:30 +1100 (AEDT) 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6F297B260D8 for ; Thu, 17 Oct 2024 08:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FBF71D5CD4; Thu, 17 Oct 2024 08:02:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="MV4U086z" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2082.outbound.protection.outlook.com [40.107.20.82]) (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 6DFB11D1724; Thu, 17 Oct 2024 08:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152130; cv=fail; b=e3L5un63YBzmRX95cfh2e9A2ZOf9I2iCnAtyjXDMZKRlffB5YH3W2u6NeWRxKceNALBMf/c7eVxPXzo5hWua6qCBlRfRE7qL69m+m0VZS7u5UvqwnPI8HHHhGdlg0rvX6Q4JEaQW21kZoVqkUof0ZXFxw69IFrl5vEyFUDh6/dY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729152130; c=relaxed/simple; bh=7Eorn7VvnKKESj4BCBad4gEkRykE+GcIZ3Bnm2uqisQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=JKdPcXyTig7UFmoStvY3XSMqx5lsR3LpY8PAsMQieSR6VrDPGcgdk4OcUvdBeFo5Gm1Z1z4Sa+orWB9WXB0eG7yfOjSnbcgI/eH7GRDkphAbmzzr71Nji1uhZBRWZXNVHeAW50o3CpRUI95GTRI2tiK871PJ5A/f0aG+KLmxmpg= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=MV4U086z; arc=fail smtp.client-ip=40.107.20.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=N/PlVWUkMIKfrpHzs/28XEZUVvdmQ4XmpyBsWNfIGrkaxbdKvAwxw86zl/ELde3lJZq96Ou6khtBE/LpFuefbXGrQun9q7fnwq9Ejv4piH1jk6AW7UW5W3Q12FFqHxls4A7YutoJHZl563LlHMCVzceLOoGO3zjIE+89c8E5ITrlQ/ndmeHZZfqkDY2Gdoid6RBzXcIzj1k1U3WpNLtsI0sHkO/lAUD1aksh7bqBOhIesBRq0q71snjGju9uQRcVs6vz3exGHjhFaIpSEC+B3jIigaSCDn897WSigl4G8f33vc0Zb08LjOEn2qnsl/V55Yy6ZobyCZu+FTmP+rGWQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=mGIDOw5tcdN2+r5WU4QJiImwBE7+wtjAqm2/kczwxxk=; b=Bx2WgPJCYR1j7gL59XTxqAloY1z5O1ub3uV21052vkPnRxmMAEwR/HoISROpca3JzcXBNmMhWnnJ2rFeQOcLIt/7rUBjlzU6NDkkCsNDeajJJqJSqqsC8EIHKtNWC2h9qzNsfMzRsdOHPklznkfk2FT5akKfuzVeurxxoqeUdWiJdgNAvZ6nBbNiozP1Ecrs6ApfJxUoOWxwImPc4z5IDFTFcPDoCqfbQlm8s/udRHafQv41LYe/EY6Yk5aG3jL+walZG64Uo3WioOkLXA1qT1dm2qPJvooshvicPoX9JwnTg810lgz65MoH3NAGPj3+JsAOQLcR9565lhJPJGsJLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mGIDOw5tcdN2+r5WU4QJiImwBE7+wtjAqm2/kczwxxk=; b=MV4U086z83vmU5xGWPbY5GS1tbOcaFIsT9z1FvL1U04Y7GAD6TAPUpP67zRiuf8prG+xA6SImF+nIC20HINd1fTwA4svEXdXQKU/YhPb0zK/NJihYLGBPqHUtx9kuht+imfcmdCwCK2k/T2x8zJSgTF2S5U2x/yhI7BfQR+KfhzFWzMlwqEpCPP6PTCiOvrXck5/eQ23abaxh4fgkZydOOSn9B01xPgC+kc0YhdviClDENdPY1rubFXs/ycNfHOAk85mR6lwVUDjpPyNNq3uQsjXVrhACTgC1oholCOYJ12eSqZl5vjssVViqRoq2Tf5FmyOLEbLgtfCwg9xWmOAjA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) by DBAPR04MB7304.eurprd04.prod.outlook.com (2603:10a6:10:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 17 Oct 2024 08:02:01 +0000 Received: from PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db]) by PAXPR04MB8510.eurprd04.prod.outlook.com ([fe80::a7c2:e2fa:8e04:40db%7]) with mapi id 15.20.8048.020; Thu, 17 Oct 2024 08:02:01 +0000 From: Wei Fang To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vladimir.oltean@nxp.com, claudiu.manoil@nxp.com, xiaoning.wang@nxp.com, Frank.Li@nxp.com, christophe.leroy@csgroup.eu, linux@armlinux.org.uk, bhelgaas@google.com, horms@kernel.org Cc: imx@lists.linux.dev, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v3 net-next 03/13] dt-bindings: net: add bindings for NETC blocks control Date: Thu, 17 Oct 2024 15:46:27 +0800 Message-Id: <20241017074637.1265584-4-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017074637.1265584-1-wei.fang@nxp.com> References: <20241017074637.1265584-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR01CA0051.apcprd01.prod.exchangelabs.com (2603:1096:4:193::6) To PAXPR04MB8510.eurprd04.prod.outlook.com (2603:10a6:102:211::7) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8510:EE_|DBAPR04MB7304:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d7d1152-9c83-4e72-3a70-08dcee81faf1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|1800799024|52116014|921020|38350700014; X-Microsoft-Antispam-Message-Info: xCStAqoq8AJPDgufDetFbDM19cjVwNEZ0+wNpLvUE7BJF5g4CTrFAvtpIMe1nTti+6R2b8JWgf+VxK8vxReVpa10cEO6jKLWM4RdyGc00TeE+ul03lqxQ7HsJTik0Fr37p/eyAWYYLd/VqHxv3VnGkAg8fudUMVQ3c2dnoFXbJeiquebsNWE+h1x3IhEdgWXxHMcJgW7LKcoXLbiBKmo1iEaLzNKPHFEtFCVkOW9vg5RMTeEEW6XIhLqG9bSb/aytSTDJ7EtOsbIJ6o0l9e2Uk9ozak5uASlcZAQPHDnREEQnHHM6CGww5XnmbboTU4KvQMckVfIDqP5OYMYSRLR7dcXHbQM7XnuVd9kGaLLuvpncQ1ElLF3WfcV6RQgquIZ6w1ooVJFf4ONox1zgk/S9/QS85y7rLuv9KH5m5R4SPRRruOt9EZpbORHa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fCApWA8KXLSbB2q/IIBfIQg/r/aWQ2tUc/CyYvR104UhqjPws2jlbzGNBm/VMQV/94mOk4B83lHCd9jDe5sp8U4vK656zmhyDjKNrgY25EbzEPJEz7GBik+ZnM23ghPNLtQWMxUkH1WwfBwHPwOHSyFvH6V/Ku83XNyOwUXZ5lCvZx8cpEFJBFHkdmg+ddBG4HV6q2bA06Seu/js3OwT8+DavASaJpbR0W8N4nBZvUBHSO/QfsdG9RXoKQ17T9Lj7jI5UUM4Y83eecP12yR20nftXTlZ/v4ocYqnavShvddlXRpC+d76Etasfea1fe7IUHx8U2+dJMUtFUxIWmc3mI11s74guJffrhRc2SDgY+jDOdCOgFWJ3wtCoFT7ZJsEMAPcvmJjs1STtGy8tM35GmNftDgYlJYfT6s3+MrmjLSfmAqoZOfSD4EIIIrpn74FjjaTLq9B625WH1WQJTeAauWxJMQiENzNJ+6soHfI3XuHwRjQITe0XSRLcP79VMxCABzcjkbjl2YJW4gjroEWwmw3l1Bbg+OLk206Zw7oDWkkMA1Akhzi3ZH/vPM2GDFzTijan5wWvq4czQ+uTcG7w/t2ghanJgLBZoYO+Qxv8Dh5U9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2d7d1152-9c83-4e72-3a70-08dcee81faf1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2024 08:02:01.0538 (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: +qmkpP6hSbCntNshGCkwjMG07QDM/iVh5jij227zJPpfY+VSeqD8vx2B24/1BljpZm6/2lFQ5gtRY6DzeBNYlA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7304 Add bindings for NXP NETC blocks control. Usually, NETC has 2 blocks of 64KB registers, integrated endpoint register block (IERB) and privileged register block (PRB). IERB is used for pre-boot initialization for all NETC devices, such as ENETC, Timer, EMDIO and so on. And PRB controls global reset and global error handling for NETC. Moreover, for the i.MX platform, there is also a NETCMIX block for link configuration, such as MII protocol, PCS protocol, etc. Signed-off-by: Wei Fang Reviewed-by: Frank Li --- v2 changes: 1. Rephrase the commit message. 2. Change unevaluatedProperties to additionalProperties. 3. Remove the useless lables from examples. v3 changes: 1. Remove the items from clocks and clock-names, add maxItems to clocks and rename the clock. --- .../bindings/net/nxp,netc-blk-ctrl.yaml | 105 ++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml diff --git a/Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml b/Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml new file mode 100644 index 000000000000..5e67cc6ff0a1 --- /dev/null +++ b/Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml @@ -0,0 +1,105 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/nxp,netc-blk-ctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NETC Blocks Control + +description: + Usually, NETC has 2 blocks of 64KB registers, integrated endpoint register + block (IERB) and privileged register block (PRB). IERB is used for pre-boot + initialization for all NETC devices, such as ENETC, Timer, EMIDO and so on. + And PRB controls global reset and global error handling for NETC. Moreover, + for the i.MX platform, there is also a NETCMIX block for link configuration, + such as MII protocol, PCS protocol, etc. + +maintainers: + - Wei Fang + - Clark Wang + +properties: + compatible: + enum: + - nxp,imx95-netc-blk-ctrl + + reg: + minItems: 2 + maxItems: 3 + + reg-names: + minItems: 2 + items: + - const: ierb + - const: prb + - const: netcmix + + "#address-cells": + const: 2 + + "#size-cells": + const: 2 + + ranges: true + + clocks: + maxItems: 1 + + clock-names: + const: ipg + + power-domains: + maxItems: 1 + +patternProperties: + "^pcie@[0-9a-f]+$": + $ref: /schemas/pci/host-generic-pci.yaml# + +required: + - compatible + - "#address-cells" + - "#size-cells" + - reg + - reg-names + - ranges + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + netc-blk-ctrl@4cde0000 { + compatible = "nxp,imx95-netc-blk-ctrl"; + reg = <0x0 0x4cde0000 0x0 0x10000>, + <0x0 0x4cdf0000 0x0 0x10000>, + <0x0 0x4c81000c 0x0 0x18>; + reg-names = "ierb", "prb", "netcmix"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + clocks = <&scmi_clk 98>; + clock-names = "ipg"; + power-domains = <&scmi_devpd 18>; + + pcie@4cb00000 { + compatible = "pci-host-ecam-generic"; + reg = <0x0 0x4cb00000 0x0 0x100000>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + bus-range = <0x1 0x1>; + ranges = <0x82000000 0x0 0x4cce0000 0x0 0x4cce0000 0x0 0x20000 + 0xc2000000 0x0 0x4cd10000 0x0 0x4cd10000 0x0 0x10000>; + + mdio@0,0 { + compatible = "pci1131,ee00"; + reg = <0x010000 0 0 0 0>; + #address-cells = <1>; + #size-cells = <0>; + }; + }; + }; + };