Skip to contentSkip to conversation

ARM: dts: BCM5301X: bugfixes

PATCH New Jon Mason 1 participant 3 messages Feb 8, 2017 Device tree bindings

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

cover ARM: dts: BCM5301X: bugfixes

Bug fixes to get bcm953012k working again

Jon Mason (2):
ARM: dts: BCM5301X: Fix UARTs on bcm953012k
ARM: dts: BCM5301X: Fix memory start address

 arch/arm/boot/dts/bcm953012k.dts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/2 ARM: dts: BCM5301X: Fix UARTs on bcm953012k

The UARTs are outputting garbage on the console. This is due to a speed issue. We can simply use the clock speed (which is now defined in the DTSI file) and everything works fine.

Fixes cdc36b22 ("ARM: dts: enable clock support for BCM5301X")
---
 arch/arm/boot/dts/bcm953012k.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/bcm953012k.dts +1 -2
index bfd9230..da5aa8f 100644
@@ -53,10 +53,9 @@
 };
 
 &uart0 {
-	clock-frequency = <62499840>;
+	status = "okay";
 };
 
 &uart1 {
-	clock-frequency = <62499840>;
 	status = "okay";
 };
Signature · 1 line
2.7.4
author
#2 lore raw

PATCH 2/2 ARM: dts: BCM5301X: Fix memory start address

In reply to Jon Mason

Memory starts at 0x80000000, not 0. 0 "works" due to mirrior of the first 128M of RAM to that address. Anything greater than 128M will quickly find nothing there. Correcting the starting address has everything working again.

Fixes 7eb05f6d ("ARM: dts: bcm5301x: Add BCM SVK DT files")
---
 arch/arm/boot/dts/bcm953012k.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm953012k.dts +1 -1
index da5aa8f..ae31a58 100644
@@ -48,7 +48,7 @@
 	};
 
 	memory {
-		reg = <0x00000000 0x10000000>;
+		reg = <0x80000000 0x10000000>;
 	};
 };
 
Signature · 1 line
2.7.4