arm64: dts: imx8mq: Add QuadSPI controller
authorCarlo Caione <ccaione@baylibre.com>
Mon, 11 Feb 2019 01:53:35 +0000 (09:53 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Feb 2019 01:53:35 +0000 (09:53 +0800)
Add a node for the Freescale/NXP QuadSPI controller and extend the AIPS3
memory range to accommodate the QuadSPI-memory region.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 4c23e9a..8e98c66 100644 (file)
                        compatible = "fsl,imx8mq-aips-bus", "simple-bus";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x30800000 0x30800000 0x400000>;
+                       ranges = <0x30800000 0x30800000 0x400000>,
+                                <0x08000000 0x08000000 0x10000000>;
 
                        ecspi1: spi@30820000 {
                                #address-cells = <1>;
                                status = "disabled";
                        };
 
+                       qspi0: spi@30bb0000 {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               compatible = "fsl,imx8mq-qspi", "fsl,imx7d-qspi";
+                               reg = <0x30bb0000 0x10000>,
+                                     <0x08000000 0x10000000>;
+                               reg-names = "QuadSPI", "QuadSPI-memory";
+                               interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&clk IMX8MQ_CLK_QSPI_ROOT>,
+                                        <&clk IMX8MQ_CLK_QSPI_ROOT>;
+                               clock-names = "qspi_en", "qspi";
+                               status = "disabled";
+                       };
+
                        fec1: ethernet@30be0000 {
                                compatible = "fsl,imx8mq-fec", "fsl,imx6sx-fec";
                                reg = <0x30be0000 0x10000>;