From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shawn Guo Subject: Re: [PATCH V2 5/5] arm64: dts: enable fspi in imx8mm dts Date: Fri, 14 Feb 2020 11:36:05 +0800 Message-ID: <20200214033605.GP22842@dragon> References: <20200202125950.1825013-1-aford173@gmail.com> <20200202125950.1825013-5-aford173@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Han Xu , Yogesh Gaur , Ashish Kumar , Mark Brown , Rob Herring , Mark Rutland , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Adam Ford Return-path: Content-Disposition: inline In-Reply-To: <20200202125950.1825013-5-aford173-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-spi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: On Sun, Feb 02, 2020 at 06:59:50AM -0600, Adam Ford wrote: > Pull in upstream patch from NXP repo to: > enable fspi in imx8mm DT file > > Signed-off-by: Han Xu > Signed-off-by: Adam Ford > --- > V2: Reorder s-o-b lines to give credit in proper order. > > diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > index 1e5e11592f7b..679769fe6cab 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi > @@ -558,7 +558,21 @@ aips3: bus@30800000 { > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > - ranges = <0x30800000 0x30800000 0x400000>; > + ranges = <0x30800000 0x30800000 0x400000>, > + <0x8000000 0x8000000 0x10000000>; > + > + flexspi: spi@30bb0000 { Keep the node sort in unit-address. Shawn > + #address-cells = <1>; > + #size-cells = <0>; > + compatible = "nxp,imx8mm-fspi"; > + reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; > + reg-names = "fspi_base", "fspi_mmap"; > + interrupts = ; > + clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, > + <&clk IMX8MM_CLK_QSPI_ROOT>; > + clock-names = "fspi", "fspi_en"; > + status = "disabled"; > + }; > > ecspi1: spi@30820000 { > compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; > -- > 2.24.0 >