Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: marvell: Fix A37xx UART0 register size

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>

authored by

allen yan and committed by
Gregory CLEMENT
c737abc1 c13604d9

+2 -2
+1 -1
Documentation/devicetree/bindings/serial/mvebu-uart.txt
··· 8 8 Example: 9 9 serial@12000 { 10 10 compatible = "marvell,armada-3700-uart"; 11 - reg = <0x12000 0x400>; 11 + reg = <0x12000 0x200>; 12 12 interrupts = <43>; 13 13 };
+1 -1
arch/arm64/boot/dts/marvell/armada-37xx.dtsi
··· 134 134 135 135 uart0: serial@12000 { 136 136 compatible = "marvell,armada-3700-uart"; 137 - reg = <0x12000 0x400>; 137 + reg = <0x12000 0x200>; 138 138 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 139 139 status = "disabled"; 140 140 };