Skip to contentSkip to conversation

ARM: dts: colibri: use valid range configuration for weim

PATCH Applied Stefan Agner 2 participants 2 messages Jan 21, 2019 – Jan 22, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: colibri: use valid range configuration for weim

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

---
 arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +3 -2
index f7bcc1181c4a..5ee2ddedd038 100644
@@ -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 {
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 5 lines · Stefan Agner

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

Applied, thanks.