]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx: Add flexspi node to i.MX8MP
authorMarek Vasut <marex@denx.de>
Wed, 9 Mar 2022 03:19:34 +0000 (04:19 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 19:08:23 +0000 (21:08 +0200)
Add flexspi DT node matching Linux kernel as of commit
d7cd74466651e ("arm64: dts: imx8mp: Reorder flexspi clock-names entry")

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
arch/arm/dts/imx8mp.dtsi

index c2d51a46cb3cb294e0378f75015a74dbf19f6fcc..f9d64253c8acd8adc5f54a4e727046ad1cd9afc4 100644 (file)
                                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>;