A valid WEIM range configuration must specify range entries for
all four chip selects. This fixes an error on boot:
  imx-weim: probe of 21b8000.weim failed with error -22

Signed-off-by: Stefan Agner <ste...@agner.ch>
---
 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts 
b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
index f7bcc1181c4a..5ee2ddedd038 100644
--- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts
@@ -238,10 +238,11 @@
 &weim {
        status = "okay";
 
-       /* weim memory map: 32MB on CS0, 32MB on CS1, 32MB on CS2 */
+       /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */
        ranges = <0 0 0x08000000 0x02000000
                  1 0 0x0a000000 0x02000000
-                 2 0 0x0c000000 0x02000000>;
+                 2 0 0x0c000000 0x02000000
+                 3 0 0x0e000000 0x02000000>;
 
        /* SRAM on Colibri nEXT_CS0 */
        sram@0,0 {
-- 
2.20.1

Reply via email to