From patchwork Thu Oct 24 06:53:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 2001462 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=CiZ+ALGr; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-115052-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (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 4XYxqK21NFz1xw0 for ; Thu, 24 Oct 2024 18:09:17 +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 05ECC1F23154 for ; Thu, 24 Oct 2024 07:09:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 934CF18BB8D; Thu, 24 Oct 2024 07:08:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="CiZ+ALGr" X-Original-To: devicetree@vger.kernel.org Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2063.outbound.protection.outlook.com [40.107.103.63]) (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 27CAC18B477; Thu, 24 Oct 2024 07:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.63 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753730; cv=fail; b=dPLUuNl9DP3P8qHwl7u3t0+Uf2bmFMj0yZqVzTbb189p0gTpQL7If+L7iVCwLK9DtTWZnD1YLLkygATqt+D8EGwVJQpV2Toh/qv6rWFiesNDdhNa7bMf9IWvWaEaHHlzrYWmxUasNzkVOq7m/FGEDkxpQl6UWpMoF3h3dolhWNw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753730; c=relaxed/simple; bh=2y0zDTC+mj3yIpX6OkVSaHe8ShPopq9CQGHyh6jzrj0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=AqKziCyCO+HrnVxqCSQthhO617wON7IoBTZobW5C7jzPMUUNbIM2JfqFy9pHHMDaPOVpBtuCxSfxtWBZYHsAP+uWdvXIdkt/qPP9XdcerlarqLXYD7bHalJ0ds0yUbneItqYWsRCbrOOWWyji6VAA1J2OUDMQIcvh+MWXeL8LxE= 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=CiZ+ALGr; arc=fail smtp.client-ip=40.107.103.63 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=Q9Qv2kfQ1Q6H8IrHsvNLLKasiOpacs6HfylxZUX3GMTCHBTr2pE1yaVULxCucetQ1kfNhQINKknjSmArZx8p0M4NuWuSH2ipXJrtiO5c2gx+ujqimHK/tiqIrQAsUW8lGLEYRJSj4L9xRg+tE1omgSM7kzMFMoubgcI3Z03sAHLUawfnGJ2TEi8qCDpWgvyJoX3Mqd1NJCdYn+7c0Jtho8Ru4KEdPa8+8raby8YyNN0PItltFVjc5NGAvZMyu06JbWMpmh+rmETKmr+aN9kWbk6oZU0j5t1c/JiBns2NcoEfHThKCuRPImuEg6Q/+J7h9M1e+mPNb3L1VPicPj4CGQ== 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=O2AFcGOUub9RJ149gnjmcK1RNi4I+ZN6Rtac0LgyMME=; b=t/A/wxEbRucuPaLs1srBDlG2HmpwZ8dlQbTm3JEJSmPbuzQsrbrcB9UjE49Eq8QQvptKhZkfWm15jIgEcy2gTJeZEN/FadZ6G1vcFdKCt/C9bUvIVrnb9OxAJeh94aW4Pt9ATiuDeM1DymaNTPR6WlPxLJKI2F/Vf9BdqrkelB4GI2pIKD5k1oQ/gyBkep9M8KbgmDauO9CVfQBTECwG2QEofT6kk1htcQrQv5PR1l6CjuP8QlcSo2ln2+kf8NZGeuBvhwUXuwK3raPSIswmjsGqIR5ZRAqNtQ1e3xTSiYMWKu/Xh7a2UmL9LHjjCgL6EB+nNJxU3K5EyWy4ad9uFQ== 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=O2AFcGOUub9RJ149gnjmcK1RNi4I+ZN6Rtac0LgyMME=; b=CiZ+ALGrpAHp2gx2tjGuW2CCuePzGRRwnshU1lKp4abQIx4T+2IQ2jFLBonPRAMR46znTSCM4mysLPDuyI1wegXpFbL6y2baVlsD8ZeObsbBvr2nvBNhqbjeLGcArkAXfseUl8cD4KClayIm1jDHR/Mg/WkcfsHy3XnF/LXpAUnqsLsiKjHMhN2+6yZ4tafmHZT51gbgoNfHZDjS9CtShoZLQq1IG6GCbweCzYt4lU+NmCaLMXWLgEzlQzkxnnCrM3yNJ6FtKy8IyCyRAlnLwx11jtgZWeaSjr0k4D0JN7IzJc7Mm4MwjKaa7kXSknx+SleQHakY+dcIwTH23rpfZg== 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 PAXPR04MB9153.eurprd04.prod.outlook.com (2603:10a6:102:22b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 24 Oct 2024 07:08:44 +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.8069.027; Thu, 24 Oct 2024 07:08:44 +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, alexander.stein@ew.tq-group.com Subject: [PATCH v5 net-next 01/13] dt-bindings: net: add compatible string for i.MX95 EMDIO Date: Thu, 24 Oct 2024 14:53:16 +0800 Message-Id: <20241024065328.521518-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241024065328.521518-1-wei.fang@nxp.com> References: <20241024065328.521518-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR04CA0011.apcprd04.prod.outlook.com (2603:1096:4:197::10) 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_|PAXPR04MB9153:EE_ X-MS-Office365-Filtering-Correlation-Id: 1fe8e16c-3aa7-4e91-a663-08dcf3fab21b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: kKsG/2tcH32LAjhKGffEPUCz8whtTG/wy3M0p0IuSPDWjRk9iRnWRZEa0o35jRDdOzRaGkQuvgEASH5G04uV0JozEZbjRvGTSjKz9nrSDJniorZwgsMW3TpCcHSFRCGYaOIempXseaXpfzb7Ku18xE0DEF0Uv5ToLfZpUQlPk71aIuMFgDDA2St914aW8NHURjqxu0hQRSmTEdizIfz8qO4LqmZaocIlgA4EgxD95/c3sAHlKmxHmjPUdJncFbZ0WlYtJLzmIfAL7IoTxH0p/Av57bagy2fypM0xT9FckBiclxBn/l4Bs63pL+pBMAL0tyeN5HwMLIhjiRsn4tttD9B2aURby9d2tL3paVECK36dNihC8S3BgRQtcSYE9878PqPsLoyYEkCmybagqlCz/CAZrnGfLNq9ehu0fNU6lu3mXcWwly6gVpJ4f2XsBELq1kjLbkH9sI1dA04khx5sDpwXpFnuHQT4izuMHda2WSzXXpDnveYJEaN2tSV6OrSBQv3ttYOB35HXrGGPem25S07v2FguisRgd5FlAvGg4VSnhU2NJ2/bcDlGTGNyYcDjedeJFwvKNzzUc8T6Wl0PbJfyDxNPbfglAFFBcyltxFjHoWS6M7RYdniM2owsPLL7t7nZsj1e7/kUZ+rJOixmKZ9xX2ywo2sHNCk0vLpmntdk6f5pkqh8t+xjb745mSDFEAcBqo0uyhkU9SWMVl3m+OXID+8WYp6dYFvOJTyKlSnBIvRNLo+wNP7i0jlt3+GbwfE+d5Ze6wx+vRNHdR058N1wUZ9/Iqee2WOP3s9IN4TWCwLl0S6HUe9xx9jYyOVOz/xy39mDDFZJdZg4afVQ7FScDsTgdPL5r5hdGkDwMujsWgwkIVNi/ZjxFFQLxAz0ZmaiSJV8uEw1I/Cw2lloJBpI+/NJy+tcfTDRNSca7yXyVv2WiRMUNSqg/oTAqSc6NSRMpUuNClksAP5YdQHYazQgBX4Ic28F5hcYritCz8CWMGBUkcotRjcb4w3Q/DNgX2gCaX9DGzRw0E05foE39S9thCgnWsEviv+jHngFs4DrQ5jceQPKUzlOBoXp51X7f5tgQtqEzlaKOwWtdYkNyl3tqh2Y0n4wassLTtv1YxqTdLynGxRp36mYS/EaK4VgFpa2UX4jg91tLK+703x3fgZboLv76vFXqCdRCTHPNkpLng9ZNHKc7wLaMZOIzuO8wwJd7SL28mCysIOsjPBqgDptMCdZiFtWnXsefxHnAM8mvRjS07o7hVwjFl71crd8JfGGfrHSaKvfXmdnEKWgR/Fe98HnPopprhE6Queiw7n3zeeaS1CavzPdBsG7jUews+x67wMsNTjRCTPkpSVH6jwgjJoNVYeHDwxaoUsB3esCYJsX+Aryw4cO2fD0wX+z 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)(52116014)(366016)(7416014)(376014)(1800799024)(38350700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1Ukpa2tpa6cRIxANvr+h8n+jwIT9kkanCVamIIvOTi+3JYmNWUcL326RizVo3LmvvTfnVBBazI2p/vZEFfKGmxJZFLeBWAqbEmIoFmoVs/3SXERuqFVqm8qNBYMMNAhqCJRBEQyqAHbPr6Anuj2WdyYj9VfvULg6dNCPmIyw3miNF+FwkgrTVfARB13GZgjbQ0YbZo20C5Ur3J+uGAKL3BXNNOb/woQ/Eiuw50XHL31I115cOFVfHcjewWeZF+CWeJwGOi3wgJLmCJWjrQfu0xlgx0ObG8Xk3dn2R6e7VZk+PGP0Ylw+q+g6NOunC3UxE8zcgkLH07SAbJf/oJQJ82TajqFeGyB3iVCRy6TqC1ukGAkRx327CxXGG7gHkch9JiJX3kCaISdqOK7x5a+vpCvCf65k6nCtkhNWhv4AOJhl1r8GzmeXudRpmWacQe9KVu5BCh5P6VLJYVQ2dLga8sUQDs3KA7x+u+oPSCjbZ96SxYrJZfeqnZlYwSVHBtXfQmzaH2GSdhEdZZpsg+r2vMWy7BDqsSOjMmq0ZxfVJbEGbE3fFho0rHT0h6KR/WTv+aqa7KDea18SisVnpxKrv6HilDbQ5BrqxIqdJCr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fe8e16c-3aa7-4e91-a663-08dcf3fab21b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 07:08:44.0417 (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: GIx+J+DsBJX0GMtPJVXKjQIXCxD5JYndpeU/EKf+BsVfarn+LNBSTqwJzC483h6OnBvG4YmxAI3SYdIsCcpBUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9153 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) --- v5: 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 24 06:53:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 2001464 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=Qq6LevBo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45e3:2400::1; helo=sv.mirrors.kernel.org; envelope-from=devicetree+bounces-115053-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org [IPv6:2604:1380:45e3:2400::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 4XYxqk04pZz1xw0 for ; Thu, 24 Oct 2024 18:09:37 +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 9D287282A5E for ; Thu, 24 Oct 2024 07:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A0A2A18A6BA; Thu, 24 Oct 2024 07:08:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="Qq6LevBo" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2087.outbound.protection.outlook.com [40.107.22.87]) (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 2B1AC19D065; Thu, 24 Oct 2024 07:08:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753736; cv=fail; b=WrZyORDIOQQo0OZncv2W1USS1z79xBEeb19mxigtKbZoLhgYwpZd6awLhZ/N1BBsPSwfV7tOlRRUVcqXL/LfDpuouGRZz6cBOrXY99MHfGIHkpKQUQ9NRL/NLmH85VAQUd94dB4wCaYJqDzewYPAwkue1rs3uSwWnQNKoAObDnY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753736; c=relaxed/simple; bh=mePkwdqAkNlSYtpf314OfkDrdqJFxy9A9IR3aZ+GdLM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=EcyL8saJxgI5QyoieBz32zF/C0qYmbgw0V8Vy5G+6nONStnuzC8zMODgA6FU5x4vCQl1qGpX3SLkczVCF4tSzdKMg8mZrjf/DPZBB/jDaX1acUcrPoFpTpuiq3Nvi77UZpFpGpLCZOF2s1qayIR2S4twNYCXXr4MmmdKlt+T+Uk= 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=Qq6LevBo; arc=fail smtp.client-ip=40.107.22.87 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=ZybC1NcNEo2T/tf8mOAkOgJvWg76S+nu0JaDKwIzwQQjnND8/t4ZXApKorq+wOuH4Sz5yHItmtlGENvWJ2LSqhBEs/1FQUe5NHfhDOeEZAo9176m0ETBzbAyNJEYBWyLQxAG6SdU165IHuhhh9nzmTzIupsLeENO0ZRkmuLyrHOMmZFEI5KEaMJAGixeJO91dKIKDW+fJaBCrgb1RU6Sdw/eU/q4A4ZD/u68XzJd78RWsjVouFObmkmetUv9hW4v7+9dIGP37o2wLs/Ej0pDMLPQo54GBGEIRHbJOvc5MnZeq+xO6/dWFNWF2dcEDAnO+9xVehECaTeUZjDcLptX1w== 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=bgJAyoAgCjGd9NIHYHQdV6kRh5/lgtyzhpXP0g0Lqug=; b=ByKRwDlYyB4x87OsOvqbKemGprDbYLkX9SJG0Xl6gfSC/5nphlyebE2opXlnr+QpRqe5XK2FPjD9WctIC8TkFmmwulV7gebzJOzxx3AkM8uQrlzFOBft+pWDxwNEXFbWlU256Zrw8JsD/ySpvOX+i4Mt6xHXBvC/vePsyV5YemeDz3B8MUJ+FpQkpUgoMveuxEjxUGk7NImoqgAmCEPX8wHFnS88Ag3i9tHCoDDUXs+3a4B7zLBVQyq9fv8DsDJUGC9K2srwUuYXdQ91NIMCkC2NLOFAeyr5M3e7qX3TQNRkDte00fQFAyVPciwsfUUhR5y6hLshYoWIVORfTYd7uQ== 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=bgJAyoAgCjGd9NIHYHQdV6kRh5/lgtyzhpXP0g0Lqug=; b=Qq6LevBo60i2iKQHM35ZGY7wyYtIjbql9B/KDKyMGw9MJEmop6+klo0kKjBZ5gKT7K2Nki2IoJHoKFH09YAzsKyxbd0gHu4RCeb6FZzunmeEhL484pjWI+w1Ef++WCb++mcaXdXUgdMC9tKcDSz07R1tYxYZmA8a7oj/BJPAerPqtiAhlGzJDMiX8Vomq6Ksom/qEjtvchLCkTN3IRSndgDDoZmRd8bb6NqP/IlA/Y1R1lopIKT+3/xdsDowtnLS5zYFX9fKVVxjwuN7Ew9Xp5x8l09mEZT2pvRhx5HaZ7yjEea3TCduoVRnCug7g7/dmXHLFs81XzWt0A1XJ+XZ+g== 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 PAXPR04MB9153.eurprd04.prod.outlook.com (2603:10a6:102:22b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 24 Oct 2024 07:08:50 +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.8069.027; Thu, 24 Oct 2024 07:08:50 +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, alexander.stein@ew.tq-group.com Subject: [PATCH v5 net-next 02/13] dt-bindings: net: add i.MX95 ENETC support Date: Thu, 24 Oct 2024 14:53:17 +0800 Message-Id: <20241024065328.521518-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241024065328.521518-1-wei.fang@nxp.com> References: <20241024065328.521518-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR04CA0011.apcprd04.prod.outlook.com (2603:1096:4:197::10) 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_|PAXPR04MB9153:EE_ X-MS-Office365-Filtering-Correlation-Id: 55d4eaf7-1650-411a-7839-08dcf3fab657 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|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po9MQuuiQHsq23xwOTJ7koGZ+MRAf8MwkcGoUa+78lMsHuFGyxSVZtPDzpRYaW4BVYhZdEEIqtlL/rGpF+ThKDI1+OxqXmxNPgVnM0hlAKvLXG3tECP0mZEk7tfZydIAF2Y4+nZ0n784IMjOwBe8JFoKTJ7hhUSgFuQgRKN6dOzBilUzL+1k5XvyzjKNuISUNLRA4eD2jIEv2EvFHFnNDC7c61MAxwc+XzkoDh69Q7tF8ESvLeuEEyS9zNLzBgoikHunj9N5ZvtmWsTTTrosa6j0S+c0aDt/p5hjecAij2+G340YOVBI/AYlLVkEEjCUG4ZLxz5rmtn9I+S6b/YvsluWTrmyYhQSRkuhU17nh68PVIEL06HPUB 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)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tE8mEGhSclS43Vdn+A3Ht47JHqOYnb/SnGADqMpjblB75oeMku8Sx09zvfX47l3PUvIYKBfb2huHdFTlFMgpKwzUrPTCKBuGRYWMVgnBWC3kInDlQZOpZ+78doRaeNXQbD94OSlRfFI2udA9Jf9wmjPgwhu2PfuIGShS3ImThKuinX7txJLtuBuUl3Spk7dOM6FFineS1FmNE3Y0XPgxCyid1eKtJYwrROORWvp6OsjmTMYACAFY0epmEoUuJ4qt9vPGOr930Fi6Qmu8CqutIfMVNk2qkfKMyYpN6JcpAmyc1Ljev2K3T7RJEuUvtVRD80BoRrveGKVwneUoLsDQXSzoz20W/nBU2vMM2ivqIYwV3mwe5aX+e83PRjixDUbxtHNjAAen64JwlDmVEyXUM4aD+Xhb/4ac8cpO6S3cVuORSGo3GWvM+uC6rscH2KwM0K2fcrQb9GPq+ceqg2v8PUhx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V1foL2e/tSe5npp5kYxAbiDZDbUCdmI1ma5S2nc1toaGQDt X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55d4eaf7-1650-411a-7839-08dcf3fab657 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 07:08:50.8627 (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: P0R19FCmZnjXvq364LzTefitNZXEKH0Bb7CLQy+qeIJy8iw2wG56EZGZ0Hjxk/lHsEIvxyQD/dcR4m47pawFGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9153 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. v4: Move clocks and clock-names to top level. v5: Add items to clocks and clock-names --- .../devicetree/bindings/net/fsl,enetc.yaml | 34 +++++++++++++++++-- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/fsl,enetc.yaml b/Documentation/devicetree/bindings/net/fsl,enetc.yaml index e152c93998fe..72d2d5d285cd 100644 --- a/Documentation/devicetree/bindings/net/fsl,enetc.yaml +++ b/Documentation/devicetree/bindings/net/fsl,enetc.yaml @@ -20,14 +20,23 @@ maintainers: properties: compatible: - items: + oneOf: + - items: + - enum: + - pci1957,e100 + - const: fsl,enetc - enum: - - pci1957,e100 - - const: fsl,enetc + - pci1131,e101 reg: maxItems: 1 + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + mdio: $ref: mdio.yaml unevaluatedProperties: false @@ -40,6 +49,25 @@ required: allOf: - $ref: /schemas/pci/pci-device.yaml - $ref: ethernet-controller.yaml + - if: + properties: + compatible: + contains: + enum: + - pci1131,e101 + then: + properties: + clocks: + items: + - description: MAC transmit/receiver reference clock + + clock-names: + items: + - const: ref + else: + properties: + clocks: false + clock-names: false unevaluatedProperties: false From patchwork Thu Oct 24 06:53:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 2001467 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=UpC8hV+I; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-115055-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (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 4XYxrG3xJ2z1xw0 for ; Thu, 24 Oct 2024 18:10:06 +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 51FD71F21182 for ; Thu, 24 Oct 2024 07:10:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F53D18A947; Thu, 24 Oct 2024 07:09:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="UpC8hV+I" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 78B4D1A76DD; Thu, 24 Oct 2024 07:09:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753743; cv=fail; b=UKAbg8c/HNWxSf7rtOPIIOH0IVFIcWWv61iSTm3VArusMrLP+Q+Sl0glHHnvB+aMVxsYsmhGqZk2WS0Go1T0aMAfGe3Zi2XM2JmcOgwlEDYrmgXgUYEG0v4ktK4a/HOciu3VMYknY0tzZ3o5PR9eY+nZtdUssC7/rzxQhyGdGo4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729753743; c=relaxed/simple; bh=L6AvRQhlt4OHN8voqkHc5K3vgOP9V9znkwVrvSEa2cM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=WSosxhX4UmmWLAvskWbij7LfM/ccHGXw5d9Tzz8w+pExq8RWyr0PJSPYf69Y9pIueAz6O2VXw8UkXCHF9lREOPCCFlFF9WXhFVrT7mQt3RRDnz5WJ9y2rispY9o9MkCK+ORmS7RAIVQitNmVTNZHEf1Mrff91mluI4SS2+FLDi8= 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=UpC8hV+I; arc=fail smtp.client-ip=40.107.22.54 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=iO2Rnbb9z0s/1Wuqe5xwWJE3m76L9hr5ImtGCSNJBoGQpIzqhAkXMZl+SrgumwSiI3enxeUF7/3jJRvmkWC0gKwVU3j2wPfvfSUbHyxfIg0Mdvhzxs//1P/ptaAe2kG5/JsPFari+DG8cxcm0mG9k9abKv207hqQ1jVK4XQXhMKaYZfGXGSG6rcl59UpW/ddnai486YZKktPQgrgvefjoPXT4RER9PPYTP3DXQxGy9EqVVgGhvQyC9YmqHjYpdUzU+Hv2+qHSe+IVSaAZMfDjVFoEuQ1ImLQnH+Xlco193GaS8hXG+7sD4EWmkyThXbIm7tGVnjJZzzCfjKZgKYG6w== 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=UKrh9kk9xSm0bZHZNQWQvwxoSP/BC5SLqXmCtoou8c4=; b=u+z7rdQKRdZbf9Phx147c7VpUtzwJ8WbW91Rg7GZzVbVHURUA7+ERl/fQ9X/cnoBLjB0SXM7ZQqQ4CsQgQHK+DlGX3xh7LgOXLwnHQxHAP8ACVSA6sqynIEoSp/VtxWm1ZBAJk4Lbqh2PuKuTz8QrUQlQV6GdG8oO3LWYzvBlLNbQzG/FJqCT98Lox0u+1T0SBaSZ/64z9aXOO7ywgkFoYpG5C6TXQvjgm2AY598GakMrdd99kGSd6ovky0zna7B5fBpVRquW4UAjo00dvppOgdFVKITSS/slkct3on4N6u0bdwPA6vWDsADs0tOn/99ZNbBpwH3LFKJAnv804p58w== 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=UKrh9kk9xSm0bZHZNQWQvwxoSP/BC5SLqXmCtoou8c4=; b=UpC8hV+IfR23gNaLtoF3rq2GNhWjwezNnBTifnBNwgzT+Di6TDRFLbIAB3+iczWfFFAo3lq0thqzfAhkevubfW16OLLCcY8b/J6g5CyetBSejHjsrcl64WOR2TRLLT0Cogd9simwdbvFKIG7scN/RsWwjH0VzzY2vs/FdqRKJzn+wB7nDQDPM/ArVmKMPAZXZ4QRsAlinTO/fyRVwPYdK23ikHIs+rfGbI3csHZF9NAonV3GH12LpaObFknGcopyAQeExkMwfGU2m6FB1eck/AnS9iXIIl2ZIaQ7IkfQo+dLBsyv7V0zDOEWGxQ7sFadm1UZQFOJ9f2ZjofHvLrW/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 PAXPR04MB9153.eurprd04.prod.outlook.com (2603:10a6:102:22b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Thu, 24 Oct 2024 07:08:57 +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.8069.027; Thu, 24 Oct 2024 07:08:57 +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, alexander.stein@ew.tq-group.com Subject: [PATCH v5 net-next 03/13] dt-bindings: net: add bindings for NETC blocks control Date: Thu, 24 Oct 2024 14:53:18 +0800 Message-Id: <20241024065328.521518-4-wei.fang@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241024065328.521518-1-wei.fang@nxp.com> References: <20241024065328.521518-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2PR04CA0011.apcprd04.prod.outlook.com (2603:1096:4:197::10) 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_|PAXPR04MB9153:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b7ab1a0-6f6f-4838-2de2-08dcf3faba01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: zjtJdjAFgVGJZ87wxTt7awc334Ew93twkixBHJ6/0c2s/pYR0FYlFdCw24CGk4BbkEy6ky1A3e7S/e15z4wgY8BjCRQ/rlbhJlabD589Nt1PYt0bAtwAna8pXcFFbYGA9llnijbtRtgmdjZZMMK9+OoG1fBPKox9bHJDIKoRdY0uYhzVjavVkVDMZGCQ3pJ8jB3eW4KOnm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7LSQiLm19RAZDIBWPsBjqEP1p+UW1JofKrJvIsTUd1bfhTuLch1roFQcXOlR0cXjfL0ikQeP5vhSFzytRQipBTctwzhMCC9aBw== 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)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xVCy+jAnRy2KjM79hg2YKCjOP9gQGs9PsB0wM0GzNDkXWwQtgTx+tIiHITsM3Ycs2WkhAx/vO/78OdRVtBLv5MbtI27gCwYObvfJ7EcTWlo9LL7zVRUN120ud3aDAqBjPt+xOGRUjJytA8e87ZW63wW5FYkbGFhogeKBrQVL8T9yXITqe46R7LdW1b1Z3T3KqizAS6+nOEhqc0xD6xXux1njmbDXxrQHewqT6+0gWKLalHAVb0psx75diMKm7Q55cXnbrlwom5FEx+LpQm1gBZfqtWEtclwFkNqMBVMT/0LJpEo+Bvzfx+rFjhrGXE/qbbRa6AdsuHDiFMZQc4CcD9ASxWKe7N2B9RZImRK4JI74sowQw9V3vQsOg3E7oloTjpuobLt1mGK5MgiSkkxKxFdz8ER8+HG6PqePYkIrZKS0l9cdGu1rTvPA58UvJ1X0K1rokVPTI15e3KQpum34zNW8Z8Ia7rl/Drs7T8fGQqqw7V1wWGruR7lueQ8fN6g1M3iKUf1H37djvd+ea/cIvAkPOQtPbjy4qAks7hL0eiuMD6GFbbHSmkE5gSqPWfF+PCJc3YU8rxs8NpMVq/qFXT7O4tD5akkUIiQG24It00Ucwf2EWx5Fd67PdJwcXs2ukgQHMR3ZD+pnfQEF3tSsM9hsztEaYZgW4mNb0UqMLqyUVeBHu2kuzexS8Y+N8Ei7IJDS8Fzj0tpfjDz5FD3Vi/8SomaG3tk1OYw7Kn6RDjQu7FjUevwV4PNDUGd4Wl8Rx7hrNXEBkLQCPsh6E3TwcvmlzJxrHP6BS2Fqg/wL9F5Yu857mh+RJQCXx40cFf0VgrJGEp5WlUEd3cv61SaspIrSBmiKy8oBy3cGgdi2mY/JY7HQKK6wvTcPGTntX0sSEITyxdvp139J8rvJPUYl7NQZIJRlE7JaxXx0KlVWtOJ9JHqowkb4mM1uD1nQLYuk9MubAW66Di/3LnozVNi2zvSGhJTBFravt5/eTC/L+DUQTMt+P4FO6lIrjrzjyYPuPYrHNbBg4vOd1DjEQPs4SSA96Xczx/prFeq3SbdvWMy+SuEMnkCBT3JZKTgcCqdtixZfHjRzU6OjppCa3BUXX9xVvy4/nUO9sRbeTsQViiWi5/jsxNf8wORxrLzR2CW1N6WLBhxaUZQG+lz7EKWv7QZ6fXrNGwqkE3r8RcxUIsz5MTBi6VHuvo1FtBmJJ3lDiyDfdSfkXkwCsS2fiOgnspZKfwmvgSvq3Pz42tpXJgjkFr5L2I+u4N7petEpg/fSVCWJxSBDmRLvZVzdp1GI3IKghFDgCO12KIt6lT0qNC6fJygvzR8AujZuBfqTm3dEtBJa7tu6V9zHkBQf6U5CVuh4nReb4wsFBrNbtM6J8Kty39sgDbqaGFcHN7QGvsLfW4cZqNqB1Z/URDJ6kOlF47KUGDLzHhCW7sPZ/U93jHqmp6BQw+VvOxRjpKRjaVnswkinlp3CDHL92vsnaYKLLxufCMmarN5gE8vGdGCwF7qM9DCojVDI0hYE9AcWnQcwjuQkVtEwXrlWmPOQsdOSesB37lqRmxK0TLopvHsOlB9eVDkYOL4TO3Ja3nos4+v1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b7ab1a0-6f6f-4838-2de2-08dcf3faba01 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8510.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Oct 2024 07:08:56.9598 (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: ctHVwH0MNzYrBbuoAAIRp37RjzIXeevCVDlJA7nuXtOcZO7BjNG4KXYtwlJwZM73Z6Vv77KmcpNmmaip0JkRhw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9153 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: Rob Herring (Arm) --- 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. v4 changes: 1. Reorder the required properties. 2. Add assigned-clocks, assigned-clock-parents and assigned-clock-rates. v5 changes: 1. Remove assigned-clocks, assigned-clock-parents and assigned-clock-rates 2. Remove minItems from reg and reg-names 3. Rename the node in the examples to be more general --- .../bindings/net/nxp,netc-blk-ctrl.yaml | 104 ++++++++++++++++++ 1 file changed, 104 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..97389fd5dbbf --- /dev/null +++ b/Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml @@ -0,0 +1,104 @@ +# 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: + maxItems: 3 + + reg-names: + items: + - const: ierb + - const: prb + - const: netcmix + + "#address-cells": + const: 2 + + "#size-cells": + const: 2 + + ranges: true + + clocks: + maxItems: 1 + + clock-names: + items: + - const: ipg + + power-domains: + maxItems: 1 + +patternProperties: + "^pcie@[0-9a-f]+$": + $ref: /schemas/pci/host-generic-pci.yaml# + +required: + - compatible + - reg + - reg-names + - "#address-cells" + - "#size-cells" + - ranges + +additionalProperties: false + +examples: + - | + bus { + #address-cells = <2>; + #size-cells = <2>; + + system-controller@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>; + }; + }; + }; + };