mvebu: Add basic support for WRT1900AC (v1) and Turris Omnia (pre 2019)
[librecmc/librecmc.git] / target / linux / mvebu / patches-4.14 / 502-arm64-dts-marvell-armada-37xx-add-UART-clock.patch
1 From 2ff0d0b5bb397c3dc5c9b97bd0f20948f0b77740 Mon Sep 17 00:00:00 2001
2 From: Miquel Raynal <miquel.raynal@free-electrons.com>
3 Date: Fri, 13 Oct 2017 11:01:57 +0200
4 Subject: arm64: dts: marvell: armada-37xx: add UART clock
5
6 Add the missing clock property to armada-3700 UART node.
7
8 This clock will be used to derive the prescaler value to comply with
9 the requested baudrate.
10
11 Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
12 Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
13 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
14 ---
15  arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 1 +
16  1 file changed, 1 insertion(+)
17
18 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
19 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
20 @@ -135,6 +135,7 @@
21                         uart0: serial@12000 {
22                                 compatible = "marvell,armada-3700-uart";
23                                 reg = <0x12000 0x200>;
24 +                               clocks = <&xtalclk>;
25                                 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
26                                 status = "disabled";
27                         };