0554-BCM270X_DT-Update-UART0-clock-frequency.patch 977 B

1234567891011121314151617181920212223242526272829
  1. From 70af0eca2c4a2a80a8edd6ce4c4c7a9eac038893 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <phil@raspberrypi.org>
  3. Date: Sun, 27 Nov 2016 21:45:55 +0000
  4. Subject: [PATCH] BCM270X_DT: Update UART0 clock-frequency
  5. The Raspberry Pi firmware now sets the UART0 clock frequency to
  6. 48MHz (was 3MHz), to allow for baudrates up to 3MHz. This value
  7. is overwritten by the firmware, but alternative loaders such
  8. as U-Boot ignore the firmware-provided DTB. And besides, the
  9. default ought to be correct.
  10. See: https://github.com/raspberrypi/linux/issues/1732
  11. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  12. ---
  13. arch/arm/boot/dts/bcm2708_common.dtsi | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. --- a/arch/arm/boot/dts/bcm2708_common.dtsi
  16. +++ b/arch/arm/boot/dts/bcm2708_common.dtsi
  17. @@ -456,7 +456,7 @@
  18. reg = <2>;
  19. #clock-cells = <0>;
  20. clock-output-names = "uart0_pclk";
  21. - clock-frequency = <3000000>;
  22. + clock-frequency = <48000000>;
  23. };
  24. clk_apb_p: clock@3 {