arm64: dts: marvell: Fix A37xx UART0 register size
authorallen yan <yanwei@marvell.com>
Thu, 7 Sep 2017 13:04:53 +0000 (15:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2019 07:33:44 +0000 (09:33 +0200)
commit c737abc193d16e62e23e2fb585b8b7398ab380d8 upstream.

Armada-37xx UART0 registers are 0x200 bytes wide. Right next to them are
the UART1 registers that should not be declared in this node.

Update the example in DT bindings document accordingly.

Signed-off-by: allen yan <yanwei@marvell.com>
Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/mvebu-uart.txt
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 6087defd9f9321b60890212b38f45f45b6ae517e..d37fabe17bd1215df697757e6622aac5f798061e 100644 (file)
@@ -8,6 +8,6 @@ Required properties:
 Example:
        serial@12000 {
                compatible = "marvell,armada-3700-uart";
-               reg = <0x12000 0x400>;
+               reg = <0x12000 0x200>;
                interrupts = <43>;
        };
index 68e6f88bdcfef83f396c385c7d98d7de2b19aabb..f2004b0955f13b39ede275a2fd9200c683081502 100644 (file)
@@ -96,7 +96,7 @@
 
                        uart0: serial@12000 {
                                compatible = "marvell,armada-3700-uart";
-                               reg = <0x12000 0x400>;
+                               reg = <0x12000 0x200>;
                                interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
                                status = "disabled";
                        };