From patchwork Mon Jun 17 22:30:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701504 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2064.outbound.protection.outlook.com [40.107.8.64]) (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 402861D953B for ; Mon, 17 Jun 2024 22:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663487; cv=fail; b=dScpIz57LZg7X8QSsRta/Xr4zaJ9H1g9w4+4V0pvpwTlCLn9/qmKqbhN23ocuRR2ZaXAzSgCKicKup1rajCcPns4DHlYIurbaUrFLAb6kUKr0ree79jkU20wE7AxWEudpUfIAe87net/A0LDV77Gpoxa8YXSjQjd2wK/DmXcsYQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663487; c=relaxed/simple; bh=my6hAhGl9LJ0Ns9ZarEIramNUUmVbi8hCSY2CxFkOQg=; h=From:To:Subject:Date:Message-Id:Content-Type:MIME-Version; b=P9N/BKyLglLG+8GEKrzt94bimunE0Ur5jhCYymcPXpHYuBQSqls27u1bqyUc0HU8J9Mx2ocYwP42vIeOoNZfGJSV8tHgV8WZtI/x8CtZHTa7La6nIDlJZ96380N3t78tNuN9Q3vHBmcpy5tNv4AnHs8MnvD1PpXSnW6ZmeaUdAY= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=TL4EYB7W; arc=fail smtp.client-ip=40.107.8.64 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="TL4EYB7W" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kh4hYRjUy0L41IXrTYI78zWSP/jdQzBX/bLVcTp3dilbKb9yyv9rpZrD5F0JJH2bzRNdGf8mXVGtx/0QbvdmnUNEb8O8RxZtot601tM17MwB9UysxCRKxVbzYU5pfY2D1PbX81rkLJRo51FnNS/wEQ9p/ZdSh/HuYXX9AZFde4u96oVjs1hyvJqLNOBkqOzl9IwsHeIH3BuMhbvgEmDMYeW9Ozk5VkRfqgb4EV1jAzRpkq0/z9P2fOJBWWJ96inlsSO2B3/X/NUOa7WZ23L1l1E9bOfpuH6hjM9lVZ/H+ibLMnMXiFHIQ8mDr3gcJItisQafPKSi6PeDO4/DQHruqw== 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=btdIluEdK/Z96b0yaZ5hUceGroEVZvEIpjtUcUINDzk=; b=lIXGihMkLwXEDbwME5JGfq4FHFxmJgNL3sZF/z50bahfBWT1HePkXERzbP4ar8ORcvLmv6XKrwS1g1xXeC2Vre82vVeZsAjOGM/7Y+IH6plcKjVSnfc9b3J7G352Nnld+4A3Jr87zOsIExTTRyL7iffMH/FPH2Ck8taUNCX0TMW3perlg8DTmRvL25vrTSAu2pXLssXWgkSCSCa/BCIQrU1xQhbobOZQ/wx6IfLpf+YmiFpYksCSIgd/8kV26hn1jtwkcR7e7AekyZVALoFTtZy8po2vPf8Y1lPUfCt0oTrsfcRmIdlC3iSJjWIGC1MY07UJ0CjBWvvj2ZznlLteNw== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=btdIluEdK/Z96b0yaZ5hUceGroEVZvEIpjtUcUINDzk=; b=TL4EYB7Wsij/LGG4SvOOZJkj7Qw1RkBbmzok1Nlfind8SKNSD5UBt98upT7Vc9PBlemGiBo3P04LoAzOJE7bjvqHg0Ppp/eCWCix1PKT2vxQaAKVX2CqVgX3Td3GlqEX/iJL3SnWmWREtkEVWB87QpysLFXR2qbHpAij0WezQaQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:21 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 22:31:21 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/4] arm64: dts: imx95: add '#address-cells' and '#size-cells' for all i2c Date: Mon, 17 Jun 2024 18:30:57 -0400 Message-Id: <20240617223100.1539796-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: bd6f3f7d-16f8-4ae6-fd1c-08dc8f1d368a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: PdPDVeviKNEQNy+aDAKiVV6bcsZqGJJR6hq9mHzotNZaLbSn7dIU7DWWjZfsUGUYYnMGDSKnbFUPW3eFWECFni/41tOeAjqv/OwwGT+qaL7p+BxgypHBOk5BBzW1ZHNVftA54EmuAI+thAu+Bw2ojCRMQjc8wBJK0yRLceXqec+Jw5okezM8i4QuAq2CGmvByBzmepymNOfY9X/zqhVgaznGOjPJmQd60aUg5MBtze/ovR4QlyOrBn70+w9zdG98GASlgcUfeankGy9zAGorHNdm1UlMNbMbEqGsPB37dkuoXpZ/Uf0I07nmM0WRVavm2uSAwZLZIEYOqO6G5i9eNrYogfECR2YF5mQ3qHjxU/eGv6UCj3uTMjJbWlMssdHXZ++RJADqriuDRC/HiRYxr/7PEejxXI1ocrYb6yUplBckBMruwBj811exCpIlPOeeXHi8wQd7Dn++12hCx5RpHEajdb9Zg5OSZLr/if6SS+aoLIurWgayn6QNIltBBxiCPZoHwRL+SMduqbm3+krKsRnJkJPfq2iamrZdqSmyJluR8rDAYcZoaJsvJ59yU2Sox7HYKRWqx9HA7C4uWsPArG6LFRLKJEMLF3PEct2KY7e9chSZ/1tzUprOIMYoCBPGPi++qM+7/wQ4JSeRIqQEYdpJgH8vrckxJ3YCCDFhkklNLqWvKU4tAc/JxIqS4YVaw52KBKak0Kc7HOayLxzdS8yQ6f3lSSapck+bFl0OC0X85Rj3J4hkDxllfLSyicgiN2aaLO9Mu7IAQ45LWGHGFb8rMoVrvo3Y5Y1dQ4617147+YexYYjCm4qYm/IHQbByclOzs62y7Np4akiGqDwiNa/RSZmhx5Ga2MNwy/ZA3U/0m06a2F6UOVjMt7TAvtpnFeL0y33bbfP9bu3xkBaOfN1FpGl58iTyZL/sUUF9kDf7R93ff95gFRjnLGRE/F6iWyIDuY2+Soa6BJmTw6gve+to0+kl+ltJRPwG1586iIk7ziaHZKN92X1TfwTDM7XKyHQ8u3+SA3kaSyQI8zm4+Ha+ck0A+OFOo5e/w9gok3gtwWy75PsXh1lzurD9VbAasyxBLEb91BPKGDvSdPcolzDI2W8g2z1Ms0kF46syr6NMVpqhZuac1KemjJZDu95+MHVbSrAv0rsiPAYiUdkoxL42BvlbECEyzddluFKZ7E8fJDR0Sg94sLQJAAuP4dFlxJkfUasjcBWOg4nJx7A3pF8CHlQCMSwBWLS4UQnOJuSaaYPToTQ9kHoG2FaJJYTQ7Xx6jWbx3fyxtbdroq05QjXODOfuTUECMKZyw3tNA0oSnic4XDTLSNjDLjyFVnBpW8GBKuXGHmRiP4k0L6+9/2/S/NE27kJSGmMoZZPpEHXfKmFm/86Qs6MEtVoCLVNN X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS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ljPIpS7bo3u50e7IxJQD9UFnH7z5rIy/AmF2DCe9vaqnLCgKMZFSll+LDS97GUvrEsaAa2111qkQpgSnigGr/pBiGekKSZf8+G03G7MUp0lLjNrccgaEambScH69ENMY1si3AjuqK32UC3qPKoVz4WmhD2GTSeDay5Bf9p8tAkAwLLEH45LIReV272hDRuJVEW0GRjjivMTou0qoYMW97yR6WKOw2ExitTVLnElu4QP5eUZaF/9ILAsOXolAcYMfqCUQu0j3emg4QSd5RgIaKojc0+ipCfyr3XLuwNJY2Y2lNTfLHTsKXeHUXWrOP8tScnMj6YPRucyRzxxi06uazylFeHkCXKbdJRhm8mG8Xz8o8GqWYSB33OBmFg4swJboN2Jomf/BLWEcQ2By7DwNkRItMT1dJWNTUkOs60b231EszwJt12fUqtmKcEkr0OKnDySxL73ujzsCqU/Feg9+z4Fhk3vg0ct4LFDP+MLCy8c3zQOsXYcT1zD2JM6ioNXCuXUQJfYi3fuEhNxidtilo= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd6f3f7d-16f8-4ae6-fd1c-08dc8f1d368a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:21.3310 (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: hVZfCwpWwUue5mtWLFtZoIKpaO++LJ+X/hexICZ4WELgxN5UGqCiKhTm+vXNw1jP3jYdqg8/dGhPBzc3Hz817A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add '#address-cells' and '#size-cells' for all I2C to avoid duplicate these at every board files. Signed-off-by: Frank Li Reviewed-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx95.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index f98cec944eeed..cc5e829e76cc5 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -462,6 +462,8 @@ lpi2c3: i2c@42530000 { clocks = <&scmi_clk IMX95_CLK_LPI2C3>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -472,6 +474,8 @@ lpi2c4: i2c@42540000 { clocks = <&scmi_clk IMX95_CLK_LPI2C4>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -566,6 +570,8 @@ lpi2c5: i2c@426b0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C5>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -576,6 +582,8 @@ lpi2c6: i2c@426c0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C6>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -586,6 +594,8 @@ lpi2c7: i2c@426d0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C7>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -596,6 +606,8 @@ lpi2c8: i2c@426e0000 { clocks = <&scmi_clk IMX95_CLK_LPI2C8>, <&scmi_clk IMX95_CLK_BUSWAKEUP>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -816,6 +828,8 @@ lpi2c1: i2c@44340000 { clocks = <&scmi_clk IMX95_CLK_LPI2C1>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; @@ -826,6 +840,8 @@ lpi2c2: i2c@44350000 { clocks = <&scmi_clk IMX95_CLK_LPI2C2>, <&scmi_clk IMX95_CLK_BUSAON>; clock-names = "per", "ipg"; + #address-cells = <1>; + #size-cells = <0>; status = "disabled"; }; From patchwork Mon Jun 17 22:30:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701505 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2064.outbound.protection.outlook.com [40.107.8.64]) (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 7CBE31D953B for ; Mon, 17 Jun 2024 22:31:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663489; cv=fail; b=pWXDnFIESTV9ykdGv5VdKn4cCYKratozEgvm8RpKtH1saGwEpEypCPedOzKx2Pm9dT2/A4VSFI/1a3GO3kT0Nr+AmNDFjP/LfeMB3OuDR5c842zCnubiloFbwR2C08rn4/CVV2cOyYWjxblSLXAap9dufnOvLSzzwmGWQN1bqwo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663489; c=relaxed/simple; bh=ITlQLZQ+TQlCLweEf7e4yrx8ui2NLdP4HLWAC1d5vX4=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=AXhYTb8sFUc+Uh8GkSKMIVb7C6hWFERDh92SMXQwNk4HvW5LDU3RhTLxS/d4nF6Xe/NcI+FVXpvxc5WbohZHFAFuymVRIUpi4qCc2nkBVMhe/xgGrP9VCbWD/dIkXZUsPaWX6qN/T2uOowvFyzjhubcDDCDMllztmjsvlTlhzUU= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=SmDoDQNX; arc=fail smtp.client-ip=40.107.8.64 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="SmDoDQNX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n3+bxPqcNCl6QJ/IksHz+6ebJLhWVh6xI3tinb9RWGlLmJhQr4RyaPWIqvIwN2jiDVQ7Hyw+35qRH88499uxsvx2ZFUTacL3WMDUcEs+L07w/UdMJ37wnUI5IjBayv3hhvyv5yVn+sJoxoL+6mhuPwjUB2MmTNtFEZRam4pMahp7dcYR1zgJQNoLTAvpRCkzFf5wtCzMLatCq6G45hQoV+zzEtrOvbGeYOqj6uz1RBBxzhGwFMV2TaPH1oPg1zzQYTKyXOhuS0DqbTuDpPDWTwoHrpeK3gyGpCKyxn5Ab3TNX855uEJY2xkCrCWi4pY7A9fusTpXsP+hfti3HbsXaA== 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=daeXzDV+a30tRYuWk7pXHLY2v9OFKpcygaRSYtWW3ac=; b=THltPCpBTbLZF7AfsPUAOIvEoV9ipNAC5NYUnGUlwZmNr0E6ldyQPnVZ5qXxzUd8+8AGQgsYcaRXL/2Ovfonkbp+oR160fC0CQtE29HRQ7DkfN6hCOmhgbWaxRgbUm68c+lCJ4cp3+QlruLlAXgMGrMJB+LHoV6TV0LF9Q7U/zPR4P08ZlwX8SjiW+dNsaZu7nxfngCBVMFCaaUo7inm8aX2XYdlLG653rGgPUSSNIhqY28czv1kje2dg0NyguFALgy/zbiziri069mw83nPQawdEi4b0PBAwh8G2Hk/4R90psBeiAH5E0lSLgDO+0mF+ViyIZDraco8IU6eb6uZNQ== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=daeXzDV+a30tRYuWk7pXHLY2v9OFKpcygaRSYtWW3ac=; b=SmDoDQNXGqtANHqQFqjDigbbBhAGfwW+i38ozBLX6RgYdV1osI08a6b8/fAUWGBFEX+sDUEolGZ5XbrqlKxvbUWdu+bGwI1za/ME2P9glSXswb78TGpa8PS2BCDQ+mYhn58C8zRl0UqN16JHTgdISTygLIdFAf8hj1sZSE882Xs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:25 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 22:31:25 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/4] arm64: dts: imx95: add pcie[0,1] and pcie-ep[0,1] support Date: Mon, 17 Jun 2024 18:30:58 -0400 Message-Id: <20240617223100.1539796-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617223100.1539796-1-Frank.Li@nxp.com> References: <20240617223100.1539796-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: c9702623-40fa-4786-abc7-08dc8f1d38ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: qyl2vNyUuDwbDgXpecw1sirk50Y6aLASg3KP/P6O1CFQ6/8c5BbkIdnBRxh4q+Rg09+r6pWTygH7Md9lGOhKoRltvhmelo21O/ykt3qYgCIMRlqoJPL6fqEY/aDQrNIE0u9eN2qVSkuppnULMgdfh/QMk5lDwQyrZk2LTJarax1IzmM6uKfKq41gR/3XzSwKyOqg+AfHL1NEnaZniFJ9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v0TSpcFUxDsWL/Ku2c+rop8qOVPZe/XdzYmJFVRJSxvAIPx4l6zhul5b8d9Te2AdGPYBUfImwWQLcWxv+gY7RswcRgoh0I/AdcHZexdXEz3byNKc1kuE2UxQMh5WoWreIXVk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: xIPrlSrt0YBf5wkuZEOvzvmcf5fT4FMUmVotZ3owiF62z1WGxkKMBw6OlzMAcW5bPuG9VjlyuMkJk4Bvrt5luvpQsbTXRg7rM95FpIkV/HuKtr1vcshSK7FZPbbTzoRKkwIwFc/FgfnLuCu8N7+6rnsD509vohIIamLuhFmPInI5AHJlsfF8RfT63s9nAoPhYHz4SiOka6+ppKRTe5aal9or0/TLwyLg+i4YBeR9LJgrjtOguYpJt+6XlvWN6bYYJm0tOINb/RzSYKnFb7HOyn2QoPZXW5c5AE/xTmt5OdZ3YgQ+1bJSNM3CKzTWpibqUGLljwD+V5SGbPi1baBJ7TTvVuMrXvaaViSDKGbdBso/N8Zj8+LODceRh4X76o0it1vwO3uwhFd6nhHLGZQpzq5pNvPWHs1o6WFURAfkRbwEJVlpDCw+OESGnNkDwykyADC3Pt688iAtXh6nbalYxjPoU67zd6xR1VZJ/CRp6ZELR/2sNpJ9fUqbRk/H2n+jxjLulj7gRGMqjYXdNH3i0qEIbLeaaeLMBXodQ4hwPBf7wAqodt781ZItfuG5z79YeZky20MQY2VGXoF2xiQs8DEj22mOAObzJxLiYCemfbCab+LysZkF/WAqWnKTIcQraGzcIcMRMOmm08e4BUIjgIgU0nh5Q1y5t1OByD+sLUCYWsR7FPT3aTzPbvvmazxaxXN0c/Da/gDzZ1o969Eb9BnUqTg/dhziB95V9CqHaRmZ+QQ876DzPVkX7pLIIwEM2vOzUwAvEqbUfGluwJQSvwXFjwYaUEO7BB7np4nkDkTOGbKardGtvUo0ef60VroBstQyMhWlIwtNNOh/S8+opwctWP0kxnZOow64MGRFAS2EspUVm2hTQbVPNIW9K6guaZU5avl5PNQWKAxkh+lrbCKTjLQkCU1Z1nQaPmARVm0rZ5C35o1j3rClT89MerEfIjYZlHLmxIn8yhwmgk0nq7POgaI+1NzlzA4jyqE+rxP6jLspe34IImGbcAQmceWkZXdO5Mkh2jFepU1OMdsugZsIF4r+ILozNwAw/BMEsUqBY4znzEMsgzb3FVfMFvj4Z88L+N7hcjlkWpnp7ggi55VDa6D9c9IWcLUK8zE6gTiNouPYj/jOfDEeeh5FUzglJQ+7UbTCo6/BcR7JWCCMYZCU2KOdDI9ibg0JLAXrs8VSl3tVbLS2cgqM3rAxWKNfcWouIrauJ0W4PLFeQMVaOM7+j44SMqMpCXI3pepgb+m5VwwMeXLNU2goiv+d9qmyPDarx5insUFzTrhrpnq4Knnf1rj5Y3o5ZGyGMfVx0NQEfRO+P/TWaS7ngsmskDm7HldXaoYOs6B7iW0Peg5DTJhHj1VvO8aXog9yQTl8eqNQuJWItpPcVq3ENxKLQ3Ooe1SMRp/ebkKYSOxXVHGENfMiOJGyvQvUTP5ze49xEiuIJkjq9WZrTbfCEv01tRSVKokWhzOn6/Z01P6cK3ekaasWP/rfyJVkyyukfSVdiesioc6DaEn3IAOQeZT+JcTb80JyRhmfwaKfUbIa/XmeYZi+2KWxBr0B2wH4MW/DLoknDY//Qrzdj5yNOU66w0+L X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c9702623-40fa-4786-abc7-08dc8f1d38ad X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:25.1375 (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: PBIJ6LNtfueYYW2zIQz4Yd+6cDW5DdzCTTStCH6IOiVArLVVJAsHmwFybbs9DWmAhJbGHBJiX9k78VxV+5XymQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add pcie[0,1] and pcie-ep[0,1] support. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx95.dtsi | 134 +++++++++++++++++++++++ 1 file changed, 134 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index cc5e829e76cc5..1bbf9a0468f69 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -1054,5 +1054,139 @@ smmu: iommu@490d0000 { status = "disabled"; }; }; + + pcie0: pcie@4c300000 { + compatible = "fsl,imx95-pcie"; + reg = <0 0x4c300000 0 0x10000>, + <0 0x60100000 0 0xfe00000>, + <0 0x4c360000 0 0x10000>, + <0 0x4c340000 0 0x2000>; + reg-names = "dbi", "config", "atu", "app"; + ranges = <0x81000000 0x0 0x00000000 0x0 0x6ff00000 0 0x00100000>, + <0x82000000 0x0 0x10000000 0x9 0x10000000 0 0x10000000>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + linux,pci-domain = <0>; + bus-range = <0x00 0xff>; + num-lanes = <1>; + num-viewport = <8>; + interrupts = ; + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &gic 0 0 GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &gic 0 0 GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &gic 0 0 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &gic 0 0 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; + assigned-clocks =<&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + assigned-clock-rates = <3600000000>, <100000000>, <10000000>; + assigned-clock-parents = <0>, <0>, + <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + fsl,max-link-speed = <3>; + status = "disabled"; + }; + + pcie0_ep: pcie-ep@4c300000 { + compatible = "fsl,imx95-pcie-ep"; + reg = <0 0x4c300000 0 0x10000>, + <0 0x4c360000 0 0x1000>, + <0 0x4c320000 0 0x1000>, + <0 0x4c340000 0 0x2000>, + <0 0x4c370000 0 0x10000>, + <0x9 0 1 0>; + reg-names = "dbi","atu", "dbi2", "app", "dma", "addr_space"; + num-lanes = <1>; + interrupts = ; + interrupt-names = "dma"; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; + assigned-clocks =<&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + assigned-clock-rates = <3600000000>, <100000000>, <10000000>; + assigned-clock-parents = <0>, <0>, + <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + status = "disabled"; + }; + + pcie1: pcie@4c380000 { + compatible = "fsl,imx95-pcie"; + reg = <0 0x4c380000 0 0x10000>, + <8 0x80100000 0 0xfe00000>, + <0 0x4c3e0000 0 0x10000>, + <0 0x4c3c0000 0 0x2000>; + reg-names = "dbi", "config", "atu", "app"; + ranges = <0x81000000 0 0x00000000 0x8 0x8ff00000 0 0x00100000>, + <0x82000000 0 0x10000000 0xa 0x10000000 0 0x10000000>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; + linux,pci-domain = <1>; + bus-range = <0x00 0xff>; + num-lanes = <1>; + num-viewport = <8>; + interrupts = ; + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &gic 0 0 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 2 &gic 0 0 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 3 &gic 0 0 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>, + <0 0 0 4 &gic 0 0 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; + assigned-clocks =<&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + assigned-clock-rates = <3600000000>, <100000000>, <10000000>; + assigned-clock-parents = <0>, <0>, + <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + fsl,max-link-speed = <3>; + status = "disabled"; + }; + + pcie1_ep: pcie-ep@4c380000 { + compatible = "fsl,imx95-pcie-ep"; + reg = <0 0x4c380000 0 0x10000>, + <0 0x4c3e0000 0 0x1000>, + <0 0x4c3a0000 0 0x1000>, + <0 0x4c3c0000 0 0x2000>, + <0 0x4c3f0000 0 0x10000>, + <0xa 0 1 0>; + reg-names = "dbi", "atu", "dbi2", "app", "dma", "addr_space"; + num-lanes = <1>; + interrupts = ; + interrupt-names = "dma"; + clocks = <&scmi_clk IMX95_CLK_HSIO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_aux"; + assigned-clocks =<&scmi_clk IMX95_CLK_HSIOPLL_VCO>, + <&scmi_clk IMX95_CLK_HSIOPLL>, + <&scmi_clk IMX95_CLK_HSIOPCIEAUX>; + assigned-clock-rates = <3600000000>, <100000000>, <10000000>; + assigned-clock-parents = <0>, <0>, + <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + power-domains = <&scmi_devpd IMX95_PD_HSIO_TOP>; + status = "disabled"; + }; }; }; From patchwork Mon Jun 17 22:30:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701506 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2064.outbound.protection.outlook.com [40.107.8.64]) (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 DDF16199259 for ; Mon, 17 Jun 2024 22:31:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.64 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663491; cv=fail; b=G7T25aKdQ/Cdf4IAK9gSt14MYt95CgHypdO/H3OHXeLIRZJIEcrwmitsii4U4Gu/+jlNYiTCXaNu6grsl63gY28bUQEeNa2jMw3k6haBUFWgs1kPkN/UO9nZkQ/jaXypERokGFNiNQhFXXCUkYRp4ht/wPv6TaebARziE3OdhaQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663491; c=relaxed/simple; bh=cMLIOvUCj/Y4zmra+UheYgD7P+iqAnA+MXctfzTXp4E=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=DRZaXrzi5qWucu+oMHUVAqzCvJL+fgMDrlmul9n0IhFwYhtOvBUsuRWbmrpRDQnO84ZSiCHa/km5VGs7MkgDlaXuKIamAOL9Akj/iaEYm66TPcT2XHFZGtSH9+wMgtXx62NAHdd8SOvgxmOBAC2Q16zFebsiv95kyFdGFg/d6rs= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=IBiTEVS1; arc=fail smtp.client-ip=40.107.8.64 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IBiTEVS1" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hj5YqVXjqTfcNqv9mVWbWwM5k5rmaO7RxlzP6bafAbBc4CRKixhApU3v3I4wIKAARto0XC6h6LIdp4UhhzmciE+w/TlT0E845pcBGhJckESEyOe18o40cozXjHx+Y4r4M3aWmRo6z1IxdogqWacS9gNX+Ex4zhRqV0MjOaUId2ycTNZRTEGAVHZ+1Try+jp8AtgRISR/Wv615KzilPbDuUbQcX/C2oLAiFMhU4/wWGsNUBi1ODifR87UCQMYQvxmSSyJdx2u5/6TqFggjePdn2OFRSRFPt+3Vh0P1SW0N/I98ceEIfjeLG/a7ea4U0WW4ec2uLDmgxLkl5UprFUi3A== 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=DYmxut7514DkHGP1hC7LqCbp5TlWPtrvt2IceGQBlKk=; b=klt3+e1g0pZ1kzuxMXPbAdPkY9i4XKqGYmzdQBHCAnRzRU+hyb78Qy4fAvVZt+9wtaapgoE4wO7xX0gVSenDT0w+FHOmBzR9SN6bZrFVVwjf5LrpLUEXtlYMbeQKHafodivFNYSAClKE/B7nb74mr79c4Sfx8a86UDaMQN8OQ4GVlH7OamEzSBOkgBa6fBDbCNrGJ3NlmJhOO3a+0Lemq9KSSu2dxr4AqIZ3Fj3vofPPREyK0c+B/pHxxWjqKBKkeCflvJ9u2MkHeL/v55cT+ky0zXjwplZB7i7V1huo1a0aEB/ZatBbzFKb4kFrveQZ7gOWx2fDuJ+agQI4/akCSg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DYmxut7514DkHGP1hC7LqCbp5TlWPtrvt2IceGQBlKk=; b=IBiTEVS16vbOsH6sonfToSjYQRv1ReGB3KwQ+CFTc0CQp/Lr6newN3pQw3mWfepOWyrxbuF1flmFRUSpZaeotIYqsAmerWU5K8xgLxBagsw4tiDhGTXoNo8WW30fP3gfZUCZIGtvefW65kUzQtztJIm/WyQqLUW0PEYJ7MxWpBI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:28 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 22:31:28 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/4] arm64: dts: imx95-19x19-evk: add lpi2c7 and expander gpio pcal6524 Date: Mon, 17 Jun 2024 18:30:59 -0400 Message-Id: <20240617223100.1539796-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617223100.1539796-1-Frank.Li@nxp.com> References: <20240617223100.1539796-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: 200dbb7e-a28f-4535-e676-08dc8f1d3aea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: S9e4Gs+da/VPRvCrhtmOzuxCgD/m2LqCZy20NcS7oRWb0u5bRfusnHsdVbimUk+tH7Fo1LWT1R0hc6MlM/TtDxrthUC1qxjrbi/VV1quYb+BqLguvXj/uPZFM1kHX2ROZiOwx5uwpfMpJ4jfYuVuAMlFvGVJJ3OXYKyfFOWDzRbuBx5JeowSNEiZ4dfhdXjgud9w9lMySYfgl1PPrUl5BeN0qcVou4Adh+e4AsEBRbyWfqh/DP+750OL00mVIKK9L9HDI9HGKuZ4n54T0a0JxVkniuk2iqIKvpHr1NDEUdLSa++im8zJKC3+k0Pe3GdLOBOffR94/WQwuDAVhr0nbfxko1alsiaX5lDvLSwsM4VfL0faGGlL3ubXrSuVhzVmdZt9c1j3wjFNYku5HQI3fv+2bOU7J6TbEArzs4LCbz9jVB9yqjhqtZeTTdlgrFMhrV4ES8hiuX9f+5v89ONDW4Yp7m9D7pZ2lEQbsxu3Zbt2Fe2raKrs4gAEw1tJ3EG8XzW7NUyrL37xNFF0nIXaq+kGjhjvyzqZadn6Fhf2KkMOK/YZxiTbawm0wRCfl3/HIDsTHXZSZG4yqKqesNsZHKp0A4qAoJ0+8yw5tWRWLPVRuDPXL3qFjyxL/8+Kk46hPTmS1n6yktOf5tZ613bdm1jiv/96/CkMO2SO2vcg1dHvV8f41dOr5OfYrPBYJY+qTsiWc8CAIfr8efLeXWXYbJO2KAY8XSHvn7iLJQTie+oWjIeXPbYbKYGwfdqehfzQiCGaZGHlpWbTTH68pk5ur4pqye7Yz24FSuepDxcJOhj7c9G2gZ3uLLcIX0/sfVVLLUzP1jOOET+bLSqcin2PxZwjMMFolZhTU4SNO0tw+OQ7aAdUFScAc2HdXQFavlxmQepiZDHBoFkzxGSED3oJZPJh/zv34RI5Lvqt9y79VIlsrxhqKn9U+xo5E86jX6zu9EHCxTPn9TBcXanVxceTzsU1xp2caTICEgX8SuV0Cp0sTHCTbdozVcBgO2P8k4MtsREwHhGZ3FKRn+IluWukRwel5NUZoS0BOH0XY6Rv4GxEVgzSbOpSkUqtkdbcRWHhsAbIM0Gg5o+fNIt+tMXK8fJTH1nffQCsefZG9weOYTmTc/hgWeWOrxPkzTLu26QmpZh5taihJo4ExxHzjnkyyTWE2R2HxPQoozwdlgI7AGBTjtlWxnfF5iDwnlndCqhxZl4ljtzjj7uRwqgLoceyXeiNrjEoJBR8YyRlWBaR8op6SWrzKMVGA5mObRVXRadR0KSIMwfVvbYUbDQM2Kno1giEiljjxWnhRUwZU/DqqvB7+kspegU4ZKo61Pj/etWe//FRHRQd1MoZDkHwDDx6Z06EpX6FTXK/hpYiDbgFsQ0MuIfuCAc0uQibvBIs2bCi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +JMXAtbkoE/363IA1xkCLh1OyCRIkWOiGRIo/auWsiRd+FyDmkYxDdwKbg+pwLZkVXnX6ImrT4Z0BOi4p1AoYumTdvzuJarWKw/Uf1uhUQOqPt+thUuRN8Mzv3w09olNVALF633OL8ckjI3ymn5RBCw/g1F6iCsHgWWstZFb+UfN7QqSWona3iXlzgGhueTugJps4kg1XPme9hMxIxEMu6q69FrHNww3zKpoyOTKl/r0X2zYjJ5ZEtr56/lGnLgqwkn8uoHBKR8MfXRhbNpzypg8hYjaCk4ZZKfQE+AA0slxqn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JLk2fmRAV7W7ly8eh/02H5r6/sMkXfu2g7aF5KXg5c9WKjCIo6lEKGbHQa+5xMLpW7boVc2FoadVp4aAzVBMa005DhBQLCCxlD4rZu+X0kPGoAj12+hQX4TUPtPPwSY3O7hnwjmaLAOUXEnaxnQUzKV/f0Vh8n7VA/197jMEXwafb8jQCmSOmcm38zM5/GzuAZmbP+NaVVI8E0XPNkrBR+X0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 200dbb7e-a28f-4535-e676-08dc8f1d3aea X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:28.6389 (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: A6d+ichqh7tmwKTlUOBdGevsoO+ogPoZ3OZQP9zsSsWObfCV8L2DZbjpNKNT08RkSweQI+tkBA+NsfI0qktGOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add lpi2c7 and expander gpio pcal6524. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 675abb70aa18d..636907c852e78 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -53,6 +53,27 @@ reg_usdhc2_vmmc: regulator-usdhc2 { }; }; +&lpi2c7 { + clock-frequency = <1000000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c7>; + pinctrl-1 = <&pinctrl_lpi2c7>; + status = "okay"; + + i2c7_pcal6524: i2c7-gpio@22 { + compatible = "nxp,pcal6524"; + reg = <0x22>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c7_pcal6524>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupt-parent = <&gpio5>; + interrupts = <16 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &lpuart1 { /* console */ pinctrl-names = "default"; @@ -95,6 +116,19 @@ &wdog3 { }; &scmi_iomuxc { + pinctrl_i2c7_pcal6524: i2c7pcal6524grp { + fsl,pins = < + IMX95_PAD_GPIO_IO36__GPIO5_IO_BIT16 0x31e + >; + }; + + pinctrl_lpi2c7: lpi2c7grp { + fsl,pins = < + IMX95_PAD_GPIO_IO08__LPI2C7_SDA 0x40000b9e + IMX95_PAD_GPIO_IO09__LPI2C7_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < IMX95_PAD_UART1_RXD__AONMIX_TOP_LPUART1_RX 0x31e From patchwork Mon Jun 17 22:31:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13701507 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2086.outbound.protection.outlook.com [40.107.8.86]) (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 198E419A2AE for ; Mon, 17 Jun 2024 22:31:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663496; cv=fail; b=CcciP4k8xxCJQgEZaYIY209VRoC5Ka6c2yDMPt+BeVb+xtts5PTiwkQ1OTlIoNhKDFMP3lmCfQwfBTNu0hPV6xwOjwwYy0Mf+JeF/XEZCQf6DaMJchKo7kgERZV0TocbQyOxh18j2BBeEz20AQUBfjDilYKdLhtnQKr/U11ayyM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718663496; c=relaxed/simple; bh=aWDpo3yVmNeiLhMXiP+wURDxPwhWKdoeRk7hHuCD7cE=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XYTZRN/gIRsUT28kJO7wqh0I9a/k0b4cifHoNZvZ1/azY12tcaFoQkInrynxOSs6fzMgj8SWSoEl9rR+j0zJXl42A4FQ4MxTEncU49GijzdzQqvsrrQT7iJPVGRLnkvFo/yd3GChd3qotIsqyBDVyk2Y4jvPIDOaRkRmx+Y1Sno= 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 (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=PNJKapMu; arc=fail smtp.client-ip=40.107.8.86 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="PNJKapMu" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OnFls3Qq8yoYnyIbhoX0jnlQqoQ80MmlEMUvSDQbm1bIdIVEzkl8kiAibkmXoibNryp0UMgNP1nDnRbThbUk1AASikbUyso2Hrg14qtnuATp5d10fpU/Em0hGxP5v2E34q1r87CHhkdjjfh3zW8dn+gXiZiXqdYgl9sM7RP77bxZN1G2hWZvkKuoDnzq27xj7p7kBUW/touKmDqVspp8fwpNWNsxZhV2bT85zydMqPG1P9ko+REow8GgpOs4wtyr7kIfkgIodozbHa37Oi5BGZphq8CJekbGQMx8N7M3YQBUKOqpW9appRMR3n4+oxoAStI5huVaI/YYc1Kevcu5CQ== 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=jAs3SASkx3OsIDq9HO38EGEqAkQ3Iy8fKd4VxoMDeUg=; b=YsPJT62o5umNQuz5uO2m/KXF6aGQV0uCMX0iSn6uz9JfY9u07nGD5w7hQWgZ9Zg/kfCZPLXv+h2Yh4zj/HMyoR4jIouuz3kkM9GTsi5EWB0lEimT9LxKb/XaUMCus79Omg0jrVjvvPyMmfaVfGxg24BueM5/Gpp+zrGHNF10vfr6QIAyaoy/mpup5GBePtE2kYqhBO9hLIuv8HJMc1YHSzbV77+zFuQJyiIBFBpLcx+wHSiBGA48qZeIj26TuwIpjAnjalfuhifLhP1vDfbHlHkXgNmDeY9wwxVtAuMx3mXsU3MXfdgJ0C22hA97SvKi5/tdlvY1qNjbgx4I8kJ8hg== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jAs3SASkx3OsIDq9HO38EGEqAkQ3Iy8fKd4VxoMDeUg=; b=PNJKapMuyKtPXd258xtLlAgvaavfWDJMmQvVB9qbFQRkcr/dJ8LMFlcevaRP1vpBGFgFtH3ju4rFFeUkt+mYr0vlqgN/n+wLv+juhJTsBR+LT5TP4l7OQzHQLg1PJVJzCLMweDWy/qG2Bvwyc68GOLIyWce1XK2ju4KHS/cOt+0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8150.eurprd04.prod.outlook.com (2603:10a6:20b:3f0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.31; Mon, 17 Jun 2024 22:31:32 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.7677.030; Mon, 17 Jun 2024 22:31:32 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 4/4] arm64: dts: imx95-19x19-evk: add PCIe[0,1] support Date: Mon, 17 Jun 2024 18:31:00 -0400 Message-Id: <20240617223100.1539796-4-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240617223100.1539796-1-Frank.Li@nxp.com> References: <20240617223100.1539796-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR05CA0032.namprd05.prod.outlook.com (2603:10b6:a03:33f::7) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8150:EE_ X-MS-Office365-Filtering-Correlation-Id: 78324751-02eb-43de-634a-08dc8f1d3d01 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|7416011|52116011|366013|376011|38350700011|921017; X-Microsoft-Antispam-Message-Info: xQ2YkOJpEzhbg6UWVcuqsZn5jF21FPWZ0ZsLgF3Jp94S91UKKyOYzatIY5vRzGIx4OSyHGey/0vCseAIl8JUdK3LHc6H5Rd9VhkjKd8WDEsi6f330DrO0Ong/TbWoesLfyeCgSQQOYGU8OA9MmYkP2psYbNeO5FCUeJqXVALlzqv7LCG7qDlWpfDro52xEQotLNIuVWqEALn8yMMv2rPOWE6YrBz8XIyZqePBWVRvcXnjIh3V3GfE0jPw2af1XmZBBPY7RoEZ6hbWbUeiZ97IaLX4o/+ZLdYwPQDVUjlKRUWm+3shtO6Xz7EPf7ikZXPx4NKDIbSL1cyt/32knaFk6j3q1u59rUGc1Q2rirjXOn/Pf63TRUwGgo4/jMjvBdeROXLNfhsb84N3GexIzca1O97NXoqakO0VOiQklDYKwDM6V9zBXXX1h+Es18/QIWTtRRJQdhkc6amQoGpkjtHZj3BYcBubajqxFTrBVYkBq1iwDWv8rEnwmzkmwF/JKMY0ohjS9h7AqOrNvgrN2FBSKxj7ZNUATX/B5c50wlHuS7N/ocE0TlqdljCi/XiMoMVp5kCCNz34N+lISL55zCh8+yw2nCMBh4XBg/MDbcpSZ7jKy4xD8VXsmS+WWF6/u/xEupKQv2rBkyy+U97M/TDCe2uvixe/Xyv9v4UedBHgMlmY/RFizibCBA1Su/24jfGjvO8pgmnF7wQfCiKy/qPK6teEd4F7bSDi+P+Q+7ACgXd7IRoaWJqHy2c2+0ba0L7e+jH4yv78s212NakIAkKb0IvZHxQ1PNtgzmsxDzocq/BOiEV0gataajSfOSJH3yuo5T/wg14me8EjzDt/hsZy0nKN9TIVbFd7QsKxzo3L1GGA3Yc/rXZOogc2NkqtFzreKYUJo/Np0ySIwpuEa52jrWQIbBNiNwCUNbknR4MlAkambpOzHlBkxoipw2sgl/oWAcLgKa7A25Y79Js5aiZe5Jwmhoot+bsa1t6JoiZjx5MKMm/qGFbXTaYgXZAzAafJFNN7dRvPba4jkrwgeLHwpJFONwXGk7aV6HOBUeFmRvhQlJQ0C0LPXLQJP5LoH0hcah2qJ7KAbyh17uL0MQ+u6VtgTaNkIZLFjZ95TK4Tp6Fo4gn2/2n33WY6lu3KMPyzpa+ZzMr07bq8NKDLgPR44jkV3I5fr/I6UQXPt0c9xEUx2Qvlfq5B49liCYFQE2pF2Xy6HkAWL/90+AncpZpzvNhJI5x9IQE+V927dLe7YY43Tq5BzeoqZ31Ags1+vDkElW9KdBmnpl3WN015xIeLZ8aY0tdqkh9gvr3blcR5lwxCsZylZz6Pz2yv5lM9PzyDs7z8ws2IAuoYSK71yIyxLPupwN5a9IVyAT+ZRprEML9otPjazLNuvK4paNmBBuO X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(1800799021)(7416011)(52116011)(366013)(376011)(38350700011)(921017);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: G33nHlHVQ+cU4IR+LPN4gi9zm/opddBYlsuF+Gea5g0KpTaxugTToGdf3fJB+PhDkBwkUjg/eEogxKhNCsaak9R1xPm0FdKZTQaGOfTKOXtTKXoiWQRtK2/4IcHC9jbPMuga4qrgcwSVtMceqPkSpVaLqks+OR4y77mBKkHEVwOBR+dIWIWMKj6kTeIr1qp+Ql3VYe5C8VreVE5rN/2q1XS2uj7uBpVYQ03whwZn1M4bCkcbqev72lGuhcvIDE2eXrKIN8v07hN3J8lCwvKrORf/j+KqN7KNnzidCgFI5OQj8ZCAEGqGOD8QLB/nTmHN8sdVrDGcAEVIQ6wkTjVjaXgn1NFvBepxXap/9NQ0P0BEw09hsZgn5eYxr3jAB/cj3jg1yoM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qgcdXUsHtBkxRiV+EMLcCkdyPFDBIf0dA3zeCDI2mMuLKTqdkLEp8L8LXLC9rd3eiNwFffE0LkcgrgGCENrIodmrifM0HM6+PQGw7bv38kDf13U= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78324751-02eb-43de-634a-08dc8f1d3d01 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2024 22:31:32.1459 (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: ZeZB3P7lqVMPpzEhoLJ6wHi9xSDdyKJHkjbQivR/vC3QudOcgqNoh+VN4mtwed/uths7VMXTx205r/92CWvFmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8150 Add PCIe[0,1] and all dependent nodes. Signed-off-by: Frank Li --- .../boot/dts/freescale/imx95-19x19-evk.dts | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts index 636907c852e78..e6f748181aeec 100644 --- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts @@ -40,6 +40,36 @@ linux_cma: linux,cma { }; }; + reg_m2_pwr: regulator-m2-pwr { + compatible = "regulator-fixed"; + regulator-name = "M.2-power"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&i2c7_pcal6524 20 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + reg_pcie0: regulator-pcie { + compatible = "regulator-fixed"; + regulator-name = "PCIE_WLAN_EN"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <®_m2_pwr>; + gpio = <&i2c7_pcal6524 6 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + + reg_slot_pwr: regulator-slot-pwr { + compatible = "regulator-fixed"; + regulator-name = "PCIe slot-power"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&i2c7_pcal6524 14 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -85,6 +115,22 @@ &mu7 { status = "okay"; }; +&pcie0 { + pinctrl-0 = <&pinctrl_pcie0>; + pinctrl-names = "default"; + reset-gpio = <&i2c7_pcal6524 5 GPIO_ACTIVE_LOW>; + vpcie-supply = <®_pcie0>; + status = "okay"; +}; + +&pcie1 { + pinctrl-0 = <&pinctrl_pcie1>; + pinctrl-names = "default"; + reset-gpio = <&i2c7_pcal6524 16 GPIO_ACTIVE_LOW>; + vpcie-supply = <®_slot_pwr>; + status = "okay"; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -129,6 +175,18 @@ IMX95_PAD_GPIO_IO09__LPI2C7_SCL 0x40000b9e >; }; + pinctrl_pcie0: pcie0grp { + fsl,pins = < + IMX95_PAD_GPIO_IO32__HSIOMIX_TOP_PCIE1_CLKREQ_B 0x4000031e + >; + }; + + pinctrl_pcie1: pcie1grp { + fsl,pins = < + IMX95_PAD_GPIO_IO35__HSIOMIX_TOP_PCIE2_CLKREQ_B 0x4000031e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < IMX95_PAD_UART1_RXD__AONMIX_TOP_LPUART1_RX 0x31e