diff mbox series

[v2,1/1] arm64: dts: imx93: Add FlexSPI support

Message ID 20230228091757.381583-1-alexander.stein@ew.tq-group.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/1] arm64: dts: imx93: Add FlexSPI support | expand

Commit Message

Alexander Stein Feb. 28, 2023, 9:17 a.m. UTC
Add FlexSPI node for i.MX93.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes in v2:
* Move 'compatible' and 'reg*' properties to top location

 arch/arm64/boot/dts/freescale/imx93.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

Comments

Marco Felsch Feb. 28, 2023, 9:21 a.m. UTC | #1
Hi Alexander,

On 23-02-28, Alexander Stein wrote:
> Add FlexSPI node for i.MX93.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---
> Changes in v2:
> * Move 'compatible' and 'reg*' properties to top location
> 
>  arch/arm64/boot/dts/freescale/imx93.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
> index 64901ae10b2c..dccbcedf0206 100644
> --- a/arch/arm64/boot/dts/freescale/imx93.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
> @@ -458,6 +458,21 @@ flexcan2: can@425b0000 {
>  				status = "disabled";
>  			};
>  
> +			flexspi1: spi@425e0000 {
> +				compatible = "nxp,imx8mm-fspi";
> +				reg = <0x425e0000 0x10000>, <0x28000000 0x10000000>;
> +				reg-names = "fspi_base", "fspi_mmap";
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clk IMX93_CLK_FLEXSPI1_GATE>,
> +					 <&clk IMX93_CLK_FLEXSPI1_GATE>;
> +				clock-names = "fspi_en", "fspi";
> +				assigned-clocks = <&clk IMX93_CLK_FLEXSPI1>;
> +				assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>;
> +				status = "disabled";
> +			};

Don't have the RM to verify the node but from style pov lgtm now :)

Regards,
  Marco

> +
>  			lpuart7: serial@42690000 {
>  				compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
>  				reg = <0x42690000 0x1000>;
> -- 
> 2.34.1
> 
> 
>
Shawn Guo March 14, 2023, 3:21 a.m. UTC | #2
On Tue, Feb 28, 2023 at 10:17:57AM +0100, Alexander Stein wrote:
> Add FlexSPI node for i.MX93.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi
index 64901ae10b2c..dccbcedf0206 100644
--- a/arch/arm64/boot/dts/freescale/imx93.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx93.dtsi
@@ -458,6 +458,21 @@  flexcan2: can@425b0000 {
 				status = "disabled";
 			};
 
+			flexspi1: spi@425e0000 {
+				compatible = "nxp,imx8mm-fspi";
+				reg = <0x425e0000 0x10000>, <0x28000000 0x10000000>;
+				reg-names = "fspi_base", "fspi_mmap";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clk IMX93_CLK_FLEXSPI1_GATE>,
+					 <&clk IMX93_CLK_FLEXSPI1_GATE>;
+				clock-names = "fspi_en", "fspi";
+				assigned-clocks = <&clk IMX93_CLK_FLEXSPI1>;
+				assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1>;
+				status = "disabled";
+			};
+
 			lpuart7: serial@42690000 {
 				compatible = "fsl,imx93-lpuart", "fsl,imx7ulp-lpuart";
 				reg = <0x42690000 0x1000>;