arm64: dts: imx8mn: Add fspi node
authorAdam Ford <aford173@gmail.com>
Tue, 19 Jan 2021 13:42:57 +0000 (07:42 -0600)
committerShawn Guo <shawnguo@kernel.org>
Fri, 29 Jan 2021 08:54:38 +0000 (16:54 +0800)
The i.MX8M Nano has the same Flexspi controller used in the i.MX8M
Mini.  Add the node and disable it by default.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index 8004b7f36c77ca7f3a5d17a52bf274b06a578943..d0c6f7aca8bce633add031d29f6cfbd0b501e367 100644 (file)
                                status = "disabled";
                        };
 
+                       flexspi: spi@30bb0000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "nxp,imx8mm-fspi";
+                               reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>;
+                               reg-names = "fspi_base", "fspi_mmap";
+                               interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MN_CLK_QSPI_ROOT>,
+                                        <&clk IMX8MN_CLK_QSPI_ROOT>;
+                               clock-names = "fspi", "fspi_en";
+                               status = "disabled";
+                       };
+
                        sdma1: dma-controller@30bd0000 {
                                compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma";
                                reg = <0x30bd0000 0x10000>;