[U-Boot] [PATCH] mips: bmips: fix BCM3380 periph clock frequency

Álvaro Fernández Rojas noltari at gmail.com
Tue May 23 19:24:49 UTC 2017


Instead of having a peripheral clock of 50 MHz like the BCM63xx family, it
has a 48 MHz clock.
This fixes uart baud rate calculation for BCM3380.

Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 arch/mips/dts/brcm,bcm3380.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/dts/brcm,bcm3380.dtsi b/arch/mips/dts/brcm,bcm3380.dtsi
index 31c4ec4..f83a6ea 100644
--- a/arch/mips/dts/brcm,bcm3380.dtsi
+++ b/arch/mips/dts/brcm,bcm3380.dtsi
@@ -46,7 +46,7 @@
 		periph_osc: periph-osc {
 			compatible = "fixed-clock";
 			#clock-cells = <0>;
-			clock-frequency = <50000000>;
+			clock-frequency = <48000000>;
 			u-boot,dm-pre-reloc;
 		};
 
-- 
2.1.4



More information about the U-Boot mailing list