mvebu: add support for WRT32X (venom)
[openwrt/openwrt.git] / target / linux / mvebu / patches-4.14 / 505-arm64-dts-marvell-Fix-A37xx-UART0-register-size.patch
1 From c737abc193d16e62e23e2fb585b8b7398ab380d8 Mon Sep 17 00:00:00 2001
2 From: allen yan <yanwei@marvell.com>
3 Date: Thu, 7 Sep 2017 15:04:53 +0200
4 Subject: arm64: dts: marvell: Fix A37xx UART0 register size
5
6 Armada-37xx UART0 registers are 0x200 bytes wide. Right next to them are
7 the UART1 registers that should not be declared in this node.
8
9 Update the example in DT bindings document accordingly.
10
11 Signed-off-by: allen yan <yanwei@marvell.com>
12 Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
13 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
14 ---
15 Documentation/devicetree/bindings/serial/mvebu-uart.txt | 2 +-
16 arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +-
17 2 files changed, 2 insertions(+), 2 deletions(-)
18
19 --- a/Documentation/devicetree/bindings/serial/mvebu-uart.txt
20 +++ b/Documentation/devicetree/bindings/serial/mvebu-uart.txt
21 @@ -8,6 +8,6 @@ Required properties:
22 Example:
23 serial@12000 {
24 compatible = "marvell,armada-3700-uart";
25 - reg = <0x12000 0x400>;
26 + reg = <0x12000 0x200>;
27 interrupts = <43>;
28 };
29 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
30 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
31 @@ -134,7 +134,7 @@
32
33 uart0: serial@12000 {
34 compatible = "marvell,armada-3700-uart";
35 - reg = <0x12000 0x400>;
36 + reg = <0x12000 0x200>;
37 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
38 status = "disabled";
39 };