Add flexspi DT node matching Linux kernel as of commit
d7cd74466651e ("arm64: dts: imx8mp: Reorder flexspi clock-names entry")

Reviewed-by: Peng Fan <peng....@nxp.com>
Signed-off-by: Marek Vasut <ma...@denx.de>
Cc: Fabio Estevam <feste...@denx.de>
Cc: Peng Fan <peng....@nxp.com>
Cc: Stefano Babic <sba...@denx.de>
---
V2: Add RB by Peng
---
 arch/arm/dts/imx8mp.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
index c2d51a46cb3..f9d64253c8a 100644
--- a/arch/arm/dts/imx8mp.dtsi
+++ b/arch/arm/dts/imx8mp.dtsi
@@ -761,6 +761,21 @@
                                status = "disabled";
                        };
 
+                       flexspi: spi@30bb0000 {
+                               compatible = "nxp,imx8mp-fspi";
+                               reg = <0x30bb0000 0x10000>, <0x8000000 
0x10000000>;
+                               reg-names = "fspi_base", "fspi_mmap";
+                               interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MP_CLK_QSPI_ROOT>,
+                                        <&clk IMX8MP_CLK_QSPI_ROOT>;
+                               clock-names = "fspi_en", "fspi";
+                               assigned-clock-rates = <80000000>;
+                               assigned-clocks = <&clk IMX8MP_CLK_QSPI>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               status = "disabled";
+                       };
+
                        sdma1: dma-controller@30bd0000 {
                                compatible = "fsl,imx8mp-sdma", 
"fsl,imx8mq-sdma";
                                reg = <0x30bd0000 0x10000>;
-- 
2.35.1

Reply via email to