Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: ls1021a: fix QuadSPI-memory reg range

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>

authored by

Matthias Schiffer and committed by
Shawn Guo
81dbbb41 9123e3a7

+1 -1
+1 -1
arch/arm/boot/dts/ls1021a.dtsi
··· 182 182 #address-cells = <1>; 183 183 #size-cells = <0>; 184 184 reg = <0x0 0x1550000 0x0 0x10000>, 185 - <0x0 0x40000000 0x0 0x40000000>; 185 + <0x0 0x40000000 0x0 0x20000000>; 186 186 reg-names = "QuadSPI", "QuadSPI-memory"; 187 187 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; 188 188 clock-names = "qspi_en", "qspi";