arm: ls1028a: use the new flexspi driver
authorMichael Walle <michael@walle.cc>
Tue, 17 Dec 2019 23:09:59 +0000 (00:09 +0100)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 4 Feb 2020 10:49:37 +0000 (16:19 +0530)
Also align the fspi node with the kernel one.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Kuldeep Singh <kuldeep.singh@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/dts/fsl-ls1028a.dtsi

index 43a154e8e754a3586b9ec5a19818966736628e3e..774e4775420c5b0d15ae078045edb008d478ce57 100644 (file)
                             <1 10 0x8>; /* Hypervisor PPI, active-low */
        };
 
-       fspi: flexspi@20C0000 {
-               compatible = "nxp,dn-fspi";
+       fspi: flexspi@20c0000 {
+               compatible = "nxp,lx2160a-fspi";
                #address-cells = <1>;
                #size-cells = <0>;
-               reg = <0x0 0x20C0000 0x0 0x10000>,
-                       <0x0 0x20000000 0x0 0x10000000>; /*64MB flash*/
-               reg-names = "FSPI", "FSPI-memory";
-               num-cs = <1>;
+               reg = <0x0 0x20c0000 0x0 0x10000>,
+                     <0x0 0x20000000 0x0 0x10000000>;
+               reg-names = "fspi_base", "fspi_mmap";
+               clocks = <&clockgen 4 3>, <&clockgen 4 3>;
+               clock-names = "fspi_en", "fspi";
+               interrupts = <0 25 0x4>;
                status = "disabled";
        };