Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2578578rwi; Fri, 28 Oct 2022 08:39:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6SUBrPPGIgx9/GAKTzoTBPlUjnYscEir/5/AJkD2tUVI0KvgT+pj0afZAKYD2JJ9zRFV11 X-Received: by 2002:a63:4042:0:b0:43b:ddc8:235 with SMTP id n63-20020a634042000000b0043bddc80235mr120152pga.498.1666971580628; Fri, 28 Oct 2022 08:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666971580; cv=none; d=google.com; s=arc-20160816; b=IgBVfrozyMypupNRoyFaVTU9ycBb6cQeWvphQewPlXKJOlRGBV9mKbUpZoXZ4mxCzd 9vXzR+l901yyYTDtt5XSV7h+SzGKXTj6KKFxOJzwGVPI3vl4hfkAy/dY4PyO44G1y0xn iuXwuL6Q62olOfWjjTrockx5klSIsOVssfO0D55SHy0JoIkiZyZJka41MuXI8zUmmaPE l/fdrQBCOCH8Uzry9YGkxEcyOyWTxq0G4COoWZPUhwS9iutV+bRyxa8L+FsF31D8/e4N MdO0cLxuMj9FjQx9V/3AJyzyCFeWQNGpIE4YKJykkt+1uqS1US8cwF5t94x//258yJB+ S9Hg== 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=d/XaSxlC+ujZIw5DaO+f2pcAYBABkmKOkcHb2NxDW7A=; b=Vrle2csOc7s7AgXNesaoPbORXjjPcgAYvK3wL/0yo3O+rQFtUTmEBLmxZDV+yu3Z+l iN0Y5XV75xFCe7tQ2m/kbGcoO7BmPam47miH8PY2rWfp0FFx6JuUwkvIJpOZ4edRXPls 9TYiovNaBFShWp0VbkFG7PCUP9WLyimpLnEJgORJJrJDN75MduMC19AYJj6aipaOWty/ 2sEBsN+LPfjHZIY8fYkwKousJNthoVs/22Ayk4d3mRvHcr4t4PTACHBxy/+xGly9pQ9r B2+OyBrxC7BTsCLRSOwGrf18fEDbMFbOIbYMwMeHLsnvm2OYP87L7a/aByIbc+H8Rq7L urjg== 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 h8-20020a63e148000000b00461d9cce57dsi5821914pgk.254.2022.10.28.08.39.29; Fri, 28 Oct 2022 08:39:40 -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 S230037AbiJ1PBK (ORCPT + 99 others); Fri, 28 Oct 2022 11:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbiJ1PBG (ORCPT ); Fri, 28 Oct 2022 11:01:06 -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 DAF8EAEA27 for ; Fri, 28 Oct 2022 08:01:04 -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 1ooQqx-0004ob-LN; Fri, 28 Oct 2022 17:00:59 +0200 Received: from mfe by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ooQqx-0001iP-9p; Fri, 28 Oct 2022 17:00:59 +0200 Date: Fri, 28 Oct 2022 17:00:59 +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 V2 06/15] arm64: dts: imx8mp-evk: enable fspi nor on imx8mp evk Message-ID: <20221028150059.jubkfqiqo6mhg2zh@pengutronix.de> References: <20221024031351.4135651-1-peng.fan@oss.nxp.com> <20221024031351.4135651-7-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024031351.4135651-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 On 22-10-24, 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 LGTM, feel free to add my: 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 b8a7de87ce4c..54dfac4ac63b 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>; > }; > @@ -567,6 +581,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 > > >