arm64: dts: marvell: Fix A37xx UART0 register size
Subsystems (3)
PATCH v2 1/1 arm64: dts: marvell: Fix A37xx UART0 register size
From: allen yan <[email protected]>
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.
---
Change since first version: re-added original author 'Signed-off-by'.
Documentation/devicetree/bindings/serial/mvebu-uart.txt | 2 +- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/serial/mvebu-uart.txt +1 -1
@@ -8,6 +8,6 @@ Required properties: Example: serial at 12000 { compatible = "marvell,armada-3700-uart"; - reg = <0x12000 0x400>; + reg = <0x12000 0x200>; interrupts = <43>; };
arch/arm64/boot/dts/marvell/armada-37xx.dtsi +1 -1
@@ -129,7 +129,7 @@ uart0: serial at 12000 { compatible = "marvell,armada-3700-uart"; - reg = <0x12000 0x400>; + reg = <0x12000 0x200>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };
Signature · 1 line
2.11.0
PATCH v2 1/1 arm64: dts: marvell: Fix A37xx UART0 register size
Hi Miquel,
Quoted 9 lines · Miquel Raynal
From: allen yan <[email protected]>
Armada-37xx UART0 registers are
0x200bytes 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 <[email protected]>Signed-off-by Miquel Raynal <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 36 lines
---
Change since first version: re-added original author 'Signed-off-by'.
Documentation/devicetree/bindings/serial/mvebu-uart.txt | 2 +- arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/serial/mvebu-uart.txt +1
-1@@ -8,6 +8,6 @@ Required properties: Example: serial at 12000 { compatible = "marvell,armada-3700-uart"; - reg = <0x12000 0x400>; + reg = <0x12000 0x200>; interrupts = <43>; };arch/arm64/boot/dts/marvell/armada-37xx.dtsi +1
-1@@ -129,7 +129,7 @@ uart0: serial at 12000 { compatible = "marvell,armada-3700-uart"; - reg = <0x12000 0x400>; + reg = <0x12000 0x200>; interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; status = "disabled"; };Signature · 1 line
2.11.0
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com