Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp699019rwi; Thu, 20 Oct 2022 04:18:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6J0xXuLlgkRt9nnU6ethMcsh3sN5MTUOg1G8HwkT4Rk4LOSJHn5n3LdBLBzXqrlNx2Uwtp X-Received: by 2002:a17:907:2c4a:b0:78d:ee99:a06b with SMTP id hf10-20020a1709072c4a00b0078dee99a06bmr10068138ejc.578.1666264703929; Thu, 20 Oct 2022 04:18:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666264703; cv=none; d=google.com; s=arc-20160816; b=IEPi5BYKY99ar1PpNxyHdP/MbuQ7mjWrbw00EHVaE+JzM4swEIK7Ar9pqg3mn/kWIn ix5mvPUryI4F3bhWo5XBoEnBB+45Z8xiWyqxzNE8qIRNGpwgvrCWbnwL2LPinPsKTYjK wuFdWXvzQikLtCc2Jx/54Obtek54YzT+0fAywZQLmfoQFdUoHed8+eRSkuKvGv/4X4o2 CYOk+HiBkxrlS0Qdqsy4nEDy0hKIOQkK9eOedlitoAGsu5rnfZk+UhnpnnRWB1dScmOc 1WB8jggU8PufCVp7E9y6sAkKa/cL7YyDnUGdA42EKB0XJzrYr+ScdRPqcx4krVELCKVw j0LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=b7mbFXRgYOSzRXn0/h1nUzIfg7FITVLvjTUT6AZEs+o=; b=ceKzsd2jhvbtrn4HZYXKxuZdOY50+yub2oMJwss+vw4UblrVNc5MaX3YU6TrQm5wlG zV05T2krXwkZwPYuhweNdUGMP7gSSZQqQsIDI42jvrYc6Y8ISz3NvPABIqYQ+Y9mK4+u xYIXjPmiWUzOM9cW6YDKB2GZSz/vUhb1AwgH/VoyKRaAW4c9CtH+rz9fLGb57sQaZ+vv nIHKWsPrlU1CFqBAGLM8MZnKGGXn5m4E9HzkmSScx4xbM01CWqMd2WR6kyTEGiUZ2lc/ NxvitjmkpNwlDHWCq6ir14iinBAfc7x8DSn3AgeJCa7lx4+Y+BFHEyFBP7WmBKSondwO kbGA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id vj23-20020a170907131700b0078789399a48si12451323ejb.870.2022.10.20.04.17.57; Thu, 20 Oct 2022 04:18:23 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229962AbiJTLMt (ORCPT + 99 others); Thu, 20 Oct 2022 07:12:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbiJTLMr (ORCPT ); Thu, 20 Oct 2022 07:12:47 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C75561D63B0 for ; Thu, 20 Oct 2022 04:12:46 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olTTc-0005sK-KM; Thu, 20 Oct 2022 13:12:40 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1olTTb-00048X-Ud; Thu, 20 Oct 2022 13:12:39 +0200 Date: Thu, 20 Oct 2022 13:12:39 +0200 From: Marco Felsch To: "Peng Fan (OSS)" Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org, Peng Fan , Frank Li , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, Han Xu , festevam@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 06/15] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Message-ID: <20221020111239.vunok2je26tl2nko@pengutronix.de> References: <20221020095934.1659449-1-peng.fan@oss.nxp.com> <20221020095934.1659449-7-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221020095934.1659449-7-peng.fan@oss.nxp.com> User-Agent: NeoMutt/20180716 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Hi Peng, On 22-10-20, Peng Fan (OSS) wrote: > From: Han Xu > > enable fspi nor on imx8mp evk dts > > Reviewed-by: Frank Li > Signed-off-by: Han Xu > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 27 ++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > index 366f709f8790..f36033b9cebb 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts > @@ -85,6 +85,22 @@ reg_usdhc2_vmmc: regulator-usdhc2 { > }; > }; > > +&flexspi { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_flexspi0>; > + status = "okay"; > + > + flash0: mt25qu256aba@0 { ^ This should throw a warning. You need to name it flash@0. Nit: The phandle name is not very useful, instead I would name it nor_flash or so. > + reg = <0>; > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "jedec,spi-nor"; compatible is the first property followed by the reg. > + spi-max-frequency = <80000000>; > + spi-tx-bus-width = <1>; > + spi-rx-bus-width = <4>; > + }; > +}; > + > &A53_0 { > cpu-supply = <®_arm>; > }; > @@ -585,6 +601,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 > > >