Skip to contentSkip to conversation

arm64: dts: freescale: fix dcfg address range

PATCH In review Zyta Szpak 2 participants 2 messages Jan 21, 2021 – Jan 30, 2021

Subsystems (3)
lore
Share & tools
lore

Zyta Szpak

author
#0 lore raw

PATCH 1/1 arm64: dts: freescale: fix dcfg address range

Dcfg was overlapping with clockgen address space which resulted in failure in memory allocation for dcfg. According regs description dcfg size should not be bigger than 4KB.

---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
index 025e1f587662..565934cbfa28 100644
@@ -385,7 +385,7 @@
 
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1046a-dcfg", "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x10000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>;
 			big-endian;
 		};
 
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 5 lines · Zyta Szpak

Dcfg was overlapping with clockgen address space which resulted in failure in memory allocation for dcfg. According regs description dcfg size should not be bigger than 4KB.

I changed subject prefix to 'arm64: dts: ls1046a: ...', and applied the patch with Fixes tag below.

Fixes 8126d88162a5 ("arm64: dts: add QorIQ LS1046A SoC support")

Shawn

Quoted 20 lines
---
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +1 -1
index 025e1f587662..565934cbfa28 100644
@@ -385,7 +385,7 @@
 
 		dcfg: dcfg@1ee0000 {
 			compatible = "fsl,ls1046a-dcfg", "syscon";
-			reg = <0x0 0x1ee0000 0x0 0x10000>;
+			reg = <0x0 0x1ee0000 0x0 0x1000>;
 			big-endian;
 		};
 
Signature · 1 line
2.17.1