ARM: dts: colibri: use valid range configuration for weim
authorStefan Agner <stefan@agner.ch>
Mon, 21 Jan 2019 15:53:27 +0000 (16:53 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Feb 2019 01:22:26 +0000 (09:22 +0800)
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 <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts

index d5f7a1703aaed269c3ba2e344842b416f22945bb..9a5d6c94cca4df262925aebea23afa75250c68f3 100644 (file)
 &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 {