From 011f2c26f1b62e309f2eac6a3101bfe0a3c76c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Fri, 2 Dec 2016 11:50:26 +0100 Subject: brcm2708: update linux 4.4 patches to latest version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas --- ...2-BCM270X_DT-Update-UART0-clock-frequency.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 target/linux/brcm2708/patches-4.4/0552-BCM270X_DT-Update-UART0-clock-frequency.patch (limited to 'target/linux/brcm2708/patches-4.4/0552-BCM270X_DT-Update-UART0-clock-frequency.patch') diff --git a/target/linux/brcm2708/patches-4.4/0552-BCM270X_DT-Update-UART0-clock-frequency.patch b/target/linux/brcm2708/patches-4.4/0552-BCM270X_DT-Update-UART0-clock-frequency.patch new file mode 100644 index 0000000000..2fc6396791 --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0552-BCM270X_DT-Update-UART0-clock-frequency.patch @@ -0,0 +1,29 @@ +From 1efce478669516e7a0fad7fa9943c889fcc21d2e Mon Sep 17 00:00:00 2001 +From: Phil Elwell +Date: Sun, 27 Nov 2016 21:45:55 +0000 +Subject: [PATCH] BCM270X_DT: Update UART0 clock-frequency + +The Raspberry Pi firmware now sets the UART0 clock frequency to +48MHz (was 3MHz), to allow for baudrates up to 3MHz. This value +is overwritten by the firmware, but alternative loaders such +as U-Boot ignore the firmware-provided DTB. And besides, the +default ought to be correct. + +See: https://github.com/raspberrypi/linux/issues/1732 + +Signed-off-by: Phil Elwell +--- + arch/arm/boot/dts/bcm2708_common.dtsi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/arch/arm/boot/dts/bcm2708_common.dtsi ++++ b/arch/arm/boot/dts/bcm2708_common.dtsi +@@ -456,7 +456,7 @@ + reg = <2>; + #clock-cells = <0>; + clock-output-names = "uart0_pclk"; +- clock-frequency = <3000000>; ++ clock-frequency = <48000000>; + }; + + clk_apb_p: clock@3 { -- cgit v1.2.3