ARM: dts: ls1021a: fix QuadSPI-memory reg range
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Tue, 28 Jul 2020 10:50:06 +0000 (12:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 11:55:25 +0000 (13:55 +0200)
commit23057a8452f65dc983b47c94c422d8cebbf63aae
treeef9fcd156a138290aa72ffa4b1aa30bb5da53f7a
parent82649acf840dede59d0eeef82dfb90507bcd7e57
ARM: dts: ls1021a: fix QuadSPI-memory reg range

[ Upstream commit 81dbbb417da4d1ac407dca5b434d39d5b6b91ef3 ]

According to the Reference Manual, the correct size is 512 MiB.

Without this fix, probing the QSPI fails:

    fsl-quadspi 1550000.spi: ioremap failed for resource
        [mem 0x40000000-0x7fffffff]
    fsl-quadspi 1550000.spi: Freescale QuadSPI probe failed
    fsl-quadspi: probe of 1550000.spi failed with error -12

Fixes: 85f8ee78ab72 ("ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/ls1021a.dtsi