Message ID | 20240226203358.275986-2-Frank.Li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 556E9C48BF6 for <linux-arm-kernel@archiver.kernel.org>; Mon, 26 Feb 2024 20:34:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AMJZW4jA3aic5knIZE4Weis5uIchZpy6v8+9j2fUyXQ=; b=DcxFHHuHTU+Luz oRhfQrUCQ3qJ/H4KjX6Q/ByZJIRGHUO3vH1N4477A2U32Iaov/+ICZ+vqIXUIkhmXs3EkjXvvzhGM XYAS50Y2OpLaUWVqYoFAXDiK6Jqm/S2yNXNVwI1/FJQDaIttudRbD4UIz9sv7aG9zfDx7fFEezY8P FJ2wAe16p4h81Zg0jT08YBSsuJnV60WXFG3yQKjYtv4CHa9iex47kXDrHDh7lOZqYjZDHl5ej+6k+ lNZOK0GRr7ZwgZOcWXP4im5K/ppGcad2CQJTLUJYtRYvRwtxsAa3fxmxcTiZC7DkHpJlX2NndyCkD AeJwJGBWR2hyRYR+86pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rehgO-00000002XeG-1DbN; Mon, 26 Feb 2024 20:34:40 +0000 Received: from mail-ve1eur01on062b.outbound.protection.outlook.com ([2a01:111:f400:fe1f::62b] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rehgD-00000002XZ8-2NIE for linux-arm-kernel@lists.infradead.org; Mon, 26 Feb 2024 20:34:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TzLqezbfkBCJR3Av/cvB8bVJGqQrrnLbkGeA9Qzkkw+lZ8iNCtg7yONEoF0P3PlPeFk2SSIwBCZdPbNKykha6hP1piEUfYUVncKfhHg2f4ozHk9rsDg16N4MG8cD1gkS9HHGvdMgqm+ZVF2rpw8KRO3FSYpLCqjF30CH7ZVveY3j/oVNp7i7zVsHpggH/3KJ8+WNaTXtf1JYh/enQzfx1wChkeW7IOK/9DSwpI3ZrVy069fqwikJVdLD+jwc4OfnQbSiT+fdVRkbF6nXhTyEwYcZViwsZfGZ5ZpZ2TZW2w8dBtpDAgw25WDOzu8Hg8dzaCJjEL9fo2mgtHNCOoR/Eg== 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=p88hGTQRJgJkqWH7aUjxSUyEFcouoAzrQOG2xuXaQp8=; b=nlnaLGlgD0BKh3zDJi5bqtHt4YC62kvXL2NEuzQ7PwIqNdCSIapmrISXz0u7zbxqg9o2KHubInnft272xxGv/JFWQqXMzlj5ognCjsDlUbjk0XjEQM+kr38/Mu1egFkAnk9q98bpwuYXmm5G9GeLF6PsWhHCbqqNyYzbRfZjJXQnKQJsXlMvnqvLIDlaN67NGunbwTjeJemHS5gMYrNyqRPjoSxYXEvJyQkTKIfCUDbqjYPBisXKTBOAMzZ8WTpE2VY8TPGQYKkfBl++yJi1iSCvUrCuovuPODRxoOms+gTw7BOV2SIIKuSXIMPWtkXm5A4tqOM6hOenLEQP9e/Xnw== 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=p88hGTQRJgJkqWH7aUjxSUyEFcouoAzrQOG2xuXaQp8=; b=oFFCX6pIrxWEWIiR2ZAeJSECMJJXFerM0CLohdsz9jPuqBRNOiANVOFnBMGvogSWQx94F3QYLXsUpxwvI1UOYUVpPlNyU2PnYr0D2rOZWONIQjtfiZm4biofx7J4clthIq5CjXjy8eXO8yqwXqIqsq0Ohg2QXOHjLtlwcix67aE= 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 DB9PR04MB9820.eurprd04.prod.outlook.com (2603:10a6:10:4c3::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.36; Mon, 26 Feb 2024 20:34:21 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9af4:87e:d74:94aa%7]) with mapi id 15.20.7316.032; Mon, 26 Feb 2024 20:34:20 +0000 From: Frank Li <Frank.Li@nxp.com> To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, 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/3] arm64: dts: imx8qm-mek: add lpspi2 support Date: Mon, 26 Feb 2024 15:33:56 -0500 Message-Id: <20240226203358.275986-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240226203358.275986-1-Frank.Li@nxp.com> References: <20240226203358.275986-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0229.namprd03.prod.outlook.com (2603:10b6:a03:39f::24) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DB9PR04MB9820:EE_ X-MS-Office365-Filtering-Correlation-Id: d5a11fe3-68c1-4111-f5e5-08dc370a4f97 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dYwLe01QAq5PRZBFAWX1ao9C5VCtSzMhmhb2aDtCdRVlSHFbh/a9658jc5AEpUFE0dUVAKmcrPLcXniEYfMfIPsURy9qvGWtsJ3XZlJeVTVz4ytZDvh/g1VphWY5Ciyd6w++7xnm9kI4dfD1TI8HX/OgRtPinEqKq/fbW3Tm19/Qj75w/WYiIknmdhEClYEq6HEu1rClHAg3kW3Idm4LNmsbxgbcvs7GVS2vzT5xFneHBD1TIXSVxtHj0WQCO0uDJ1mXmAH+IewPGp/MHJ42fTpDn3ECm4sDagc9PSvod7N9e7ucjvSoM8rSjgIjUm6twsEAiUZLCqqe2p5VviJk2SBe75dyjVkT5EUBJJ9liXCnpjyMo4czDGWToSKOQfvzPXNwm0sQH4zRcpgZp7ZEbR2V+IEjLLgXmLYMKsAPrgBCntSykBb0GwsloaDQRwtOnrA/H3k72+PfBXrm2g00FxO+uVgiIh25W779ytvrlbaL+HMqasZ9ndSZX1QnKo0u42I8jWXrbjNQC9A0qxHJzear3J2L5Mqt6kX9FjnB2Cg/zZ3DdxRAFLRQO3ggy7AHgbhs6szjfm2rEB1dAptRrOnBag8R8sUzWWs/0YZ0r5CSXofTTM8CZtLpFWbClu1XctBP+7380e7KmwJRJVWcOVvHUrBZITd+9upLE3UrfCmvit9ig8A9sQDNhVpaxxPZicwzQnXL7vxflAJF0BIlKukytBOTrEIVYW3H7Wb1PGc= 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:(13230031)(38350700005)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hGYFPzdAiIXoJ4+IAdr0EagYgumpFvaDXfFZsUZEimrzSp49dPyaqMIk1Y8fR5wZsofVOCY3dg6drUYNjfwME3ocrs7u3m/AaaayFtFngBNz/5reRK6hJMPrdGrGz+t+u0tzubv8nVWCjIP7/tqDBy+T9Ip2BcGu0jBcgpzfg1sygsNSl6umj6GWqQhdPAe+/g7rfucNqfsGpyDivigEPPGLlFzj2/lt5HDELUfR7qYQCMZGYzb19Dup5ebIqi6WWrKzCd+DDPIlT5gvRi5Kv7I340kO+VFX0wrdM0UYosAGSinAv9hA40mj/QrfPJiduwY1gfWfT+qvGCmwdm6ueg+ErVvnvyKhzFMc4VUvFjnQbE+atU0ieJnsdxiZC7S/Io8un3vnqtHSBvQJsK+rFeHLfrOhJinfMzHZgj/A96B93f3XJKgdmDiB0e/Vsh5tXOs7wiZjj2ibY/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rV5WsYVUD9TEmkzxHv2J6oOGB0jZ9BgpaNV/SK9WW/YJUdWcYqkBdXncqaMaWRA/C X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5a11fe3-68c1-4111-f5e5-08dc370a4f97 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Feb 2024 20:34:20.5549 (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: jUc2fDI/AK9+lmmxtXCp9GqmmoxrYCcpBU20HG8u5FTCc/0BbNddkI3UBwkDLKNJgFpsW0jalrQfsZ30okFwfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9820 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240226_123429_703958_E110D39F X-CRM114-Status: UNSURE ( 9.84 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[1/3] arm64: dts: imx8qm-mek: add adc0 support
|
expand
|
diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts index 0c4972724b041..800dcb67642b1 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts @@ -85,6 +85,22 @@ &lpuart3 { status = "okay"; }; +&lpspi2 { + #address-cells = <1>; + #size-cells = <0>; + fsl,spi-num-chipselects = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpspi2 &pinctrl_lpspi2_cs>; + cs-gpios = <&lsio_gpio3 10 GPIO_ACTIVE_LOW>; + status = "okay"; + + spidev0: spi@0 { + reg = <0>; + compatible = "rohm,dh2228fv"; + spi-max-frequency = <30000000>; + }; +}; + &fec1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec1>; @@ -169,6 +185,20 @@ IMX8QM_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020 >; }; + pinctrl_lpspi2: lpspi2grp { + fsl,pins = < + IMX8QM_SPI2_SCK_DMA_SPI2_SCK 0x06000040 + IMX8QM_SPI2_SDO_DMA_SPI2_SDO 0x06000040 + IMX8QM_SPI2_SDI_DMA_SPI2_SDI 0x06000040 + >; + }; + + pinctrl_lpspi2_cs: lpspi2cs { + fsl,pins = < + IMX8QM_SPI2_CS0_LSIO_GPIO3_IO10 0x21 + >; + }; + pinctrl_lpuart0: lpuart0grp { fsl,pins = < IMX8QM_UART0_RX_DMA_UART0_RX 0x06000020
Add lpspi2 support for imx8qm-mek board. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+)