Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6646963rwb; Tue, 15 Nov 2022 01:24:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DQAkrgStDXDRs9eR2FCEp6siQgPQZbSAPJ3gcjOFkN3QTH6U2BTI3DCVxRKCPLjwu4mQk X-Received: by 2002:a17:902:8507:b0:186:f256:c097 with SMTP id bj7-20020a170902850700b00186f256c097mr3308312plb.27.1668504293287; Tue, 15 Nov 2022 01:24:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668504293; cv=pass; d=google.com; s=arc-20160816; b=ajA8UHVf5S/kM0W/OVpXGmubDA8k8ZqLj7AbwIYZ0QEYkCfMdCuYIc9bIdyilegdnh bomCjobl2JT/WPoIjUGCkE3lqDjtU5VAqfIKTtztuyGmMOswmjiRz36NfFaEuEtZcxhr af1B5h1kQ5CYNLhLjbqRKy02j81OZoQp+H7L5pmEy+9rIx+v4AFsFU0IY7wjRszkEyEn ENlQ94Vobe/t50QeSEVbw1YsJ0r6gsBQcX+Lh9lYDnLXzolSuc1V5biZi2zy2EdwiIzn N8fH+rOLS1p2qHmwqDeU8CpvKjPWhmQai4yuJWersFaZQBr4zO8nkKvwOMr0W0YtTlOO 3DcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=Z30wogwlGMnV8D013VU2DHB3wg5xTjMeWfjlwySkIpk5fzMZevMPt+l2bxLhGFO/+K QuZVWTTaWpvZrqrqM2wHujszeMvBpUxH4iLkNeVPsl1nmn7QwgrHpIevoJrH0/hcaDrb RepEMl243Kar9C+1esrHO5FfSSAhXJPjeX3pfA1GUagwF9b5YfMcblLKZ5EIt6NUErxj JVBycXQ5LQAQ+rpeT/9TgpkFObpW2ru5LzQhnnJAJ4IAioSdjCpqvT5L7SUn2bxo0Hcb JywCp90f8irEUTHAQMQQTCFMGNBRmi0s6y+GQ4u/e6wwSFY11yDwFNsYSdZTybF1EZ07 5mFA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=hsDJfW2H; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x23-20020a634a17000000b00476bfca38b0si798516pga.71.2022.11.15.01.24.41; Tue, 15 Nov 2022 01:24:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=hsDJfW2H; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237958AbiKOJQf (ORCPT + 88 others); Tue, 15 Nov 2022 04:16:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237954AbiKOJQQ (ORCPT ); Tue, 15 Nov 2022 04:16:16 -0500 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2047.outbound.protection.outlook.com [40.107.105.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A16B22507 for ; Tue, 15 Nov 2022 01:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZTHf/pn3ieVBoreBb87p7QZcOit1o4WXhvQUJ/RfXZKJWUgNlfQ6pexQlj74TIWlf1h6pkgaq8Cx0aRs0kdfb4pTObO/aB/TX4/vKSzlbg6obzUcKkUlMwfh3xI9HidMo752irJurtBdZe1iHxzYDYbq3dekzmqRToAMFUem4+UCfOOryPlborTa82S6c54sgNO0U8QdQZR/ehTxTsDh6yHXDL2Fh5CE535Tnw6n9rdmf5OElFgVF4VYJweDDkns5YD4TFCLR1pc0F++lWv4KpR6mKgh0nMuzOvJISqSq3w6xpoczDNDYBcRmmRS77IvdopTFE6jgE3Qt9oxlFY73w== 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=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=a+b5j1krjhmWdreFUfhqWiRStyxaeiiyt6/yBkJ+y7ltRmDbLx9y5yR22glB6RKTGm2lHfIds3izqe+ck/p9fNPKxXxYCiJ364+udFXqIC+a1xbyj6CIPBVj6Jur9qnG/4CBzCjL1PCTSXgKVQDyYqh4pyI+P3oU9rTHUOArgyTS30GhavLpdyvviNlWP9PSsIG6VxdX3t8R4kmaYlovb2irz9stdXSnn4DPZtiOziILxKwO9dk3XFxmcIoDknVHrFgRqtl+gYMEUs/QxIrFlGNDOIfsvqbX6f0phCGkKNXmeOYegtV1uht/Q152NDrMKolTUxL2EWUxRq8iXACnfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqQhrYUqrPGsX58WHIHx+VjV6/HB8iZfsuonkjP5t9I=; b=hsDJfW2HSOrUsM9gleqpOlR48MpQEbecjV34liC+pWfrlb18PiTrqvwl0iLVw3ed0v7UHQeYAxdYGX8aEc6IGm+K+/2WjD5/A3IO5quGsphk5JvJHRiinYwwxEwkDL5ds32VGq5Zeq0v5sLXZU/SlVcwnbknzbNUOqwDQct8FZo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB8195.eurprd04.prod.outlook.com (2603:10a6:20b:3b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.13; Tue, 15 Nov 2022 09:16:00 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::ac6c:bcb8:674c:35d0%4]) with mapi id 15.20.5813.013; Tue, 15 Nov 2022 09:16:00 +0000 From: "Peng Fan (OSS)" To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Han Xu , Frank Li , Peng Fan , Marco Felsch Subject: [PATCH V5 05/12] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Date: Tue, 15 Nov 2022 17:17:02 +0800 Message-Id: <20221115091709.2865997-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221115091709.2865997-1-peng.fan@oss.nxp.com> References: <20221115091709.2865997-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0007.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::8) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB8195:EE_ X-MS-Office365-Filtering-Correlation-Id: a0175144-89da-4a80-961d-08dac6ea02ee X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VpFVoh8fdAH/YNJ6Caihzlu0tH0sXjh7zcTAKa2tSbdHK9cfJYGKNguSaE+G42uXh7TqPkiwcsuLUHoHjbEwQkxEZe+AE6u0hNC72h4EyNDHvKyryQo9EtxuXZb+m5wQKSfWSEHGDxoKf/OnG/I+tNRauudtJ5pbpZ8FeY83FhCvfCslA+5vxvFoFckGAwWDxQHaIKtEZ7+YblDRLHr5P5k7kFwwQIOlOBweoPUH7C4b+SSLRnxFXTzkD8wpnG13jaozg7OY0phDA25XDl+9H++joFSQIoE2tQogpvmXfI65A36WiNUPif3ZtO2b1qEQkOfHGMUD2KA5wRZb1UBhTGNEAll0k/b2xVWF38Dakr4JQsHCdItyn0L/WyeLhumO+K3A4JCVw/ufWkTtRd4+VwuIvOp02K5oLyPrBTV0EDJXTSUXbcQaH//XMS/sIo5q26oZR1XyG/yXDHblabN+8Cj04TcQwZxStd3DHxuh+wOCEMHXDSDPVBoGKuUHXtBieoh193ZKv2HEGzLPDmwbJut6jyZJHdAhk+KByHr9wTpEzccumvg/Cv7WTrpnOZHWgc4lJ3Rc3f4/F+PERg75H9R/4frFnGIJwmLASzujfZpdKEuHY67AL7DhnpSVHe5WtfauG7wOOKg0tABrePWkhUib4bekxHLEVNRyrEiiw0hrNkZdb9HOhztVRqCKYsi1eP8808D5M92Deyy/h/RSbEWhoQpDLiwYZb5QSwr/feCYdagSg0A48KhTKu3r/Vc6qUwjjSi/IgCmiAwhpE2W4we8M5Stt6qyhh9J1cJb0Wc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(346002)(376002)(366004)(396003)(136003)(39860400002)(451199015)(6512007)(52116002)(86362001)(38350700002)(38100700002)(1076003)(186003)(2616005)(2906002)(26005)(6506007)(8936002)(5660300002)(478600001)(6486002)(66476007)(54906003)(66946007)(316002)(66556008)(8676002)(41300700001)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uXwEDmZMXL3e0kkUZ8P+hYKDapa6+ANhqNLPA+//WESTb680lNodntsvZlod?= =?us-ascii?Q?fH1eCfMZiuL4MH9wi0fPWXL16/Ji5IwiCMd1rz54ZusTmZ3U8hkVyBWiZGUl?= =?us-ascii?Q?xci0Xewwr+DkbM3ugp74f/HQX2yf8DCTlpY7ZMz3u5HRntnhA+bStX4QZ2w1?= =?us-ascii?Q?p6Ki/uS5ATysamOsgAhbFU0NfFht1I4Qt+9UuJyYTXpCDoudcxOnwnmq+aST?= =?us-ascii?Q?140q58jv0OleOsgRjp74Y929wG9aIUve/EUK0D92L52uN97e9Hy4hrtFqNL2?= =?us-ascii?Q?milQjmwm4bttdk+RcJ1A7T0y5M2VfspWEVTiuLtlmZfVEgRcGivsyQrmaJJT?= =?us-ascii?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nABSVdM7wumBUNGgA?= =?us-ascii?Q?t1ITAGN253olYOJ1AwSvIOS8lrAygz0/5eQ5B2JvgOE0Fd3qOjB+uWxNqqFm?= =?us-ascii?Q?EN5pQADIVrBLfJPZI8W6+eXaiyzqZqgLSsUiuEmc41G1vjR7ZXAOZ9Y7q0MY?= =?us-ascii?Q?CPPc6dMhWabG9Ya89jrWMvnbvADw5/rGCNLHUXZqFVn+RspZOAZqceVB4HlK?= =?us-ascii?Q?Akberit9LTN7h1obbIWi0ztdknRLhbBVsNu6E9whp/lW5yAQHjs1WpPr/ZhE?= =?us-ascii?Q?eBNoNgIXGAYIr8ga6g8UTQCcZ9PN/jivDDBTY1XlmQx1B7vJRmTfh7oZllvp?= =?us-ascii?Q?i2EcrKmpc/ytPUpE5P0yIYd4gcBWwo16rDQ5TxQ9?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0175144-89da-4a80-961d-08dac6ea02ee X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2022 09:16:00.3946 (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: ROpuxnol8ZFy5v8EdU2XKBiLnLfQ94A7OSh/JqhxXAlNG2aYXf1eEJPauoF/DU2wZDszVglFbbX1Rmzry5f/vA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8195 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Han Xu enable fspi nor on imx8mp evk dts Reviewed-by: Frank Li Signed-off-by: Han Xu Signed-off-by: Peng Fan Reviewed-by: Marco Felsch --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 29472502d547..4164f69a89a6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -85,6 +85,20 @@ reg_usdhc2_vmmc: regulator-usdhc2 { }; }; +&flexspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexspi0>; + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <80000000>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; + }; +}; + &A53_0 { cpu-supply = <®_arm>; }; @@ -551,6 +565,17 @@ MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x154 /* CAN2_STBY */ >; }; + pinctrl_flexspi0: flexspi0grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_ALE__FLEXSPI_A_SCLK 0x1c2 + MX8MP_IOMUXC_NAND_CE0_B__FLEXSPI_A_SS0_B 0x82 + MX8MP_IOMUXC_NAND_DATA00__FLEXSPI_A_DATA00 0x82 + MX8MP_IOMUXC_NAND_DATA01__FLEXSPI_A_DATA01 0x82 + MX8MP_IOMUXC_NAND_DATA02__FLEXSPI_A_DATA02 0x82 + MX8MP_IOMUXC_NAND_DATA03__FLEXSPI_A_DATA03 0x82 + >; + }; + pinctrl_gpio_led: gpioledgrp { fsl,pins = < MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x140 -- 2.37.1