Skip to contentSkip to conversation

arm64: dts: marvell: Fix A37xx UART0 register size

PATCH New Miquel Raynal 2 participants 2 messages Sep 7, 2017 – Sep 19, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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
index 6087defd9f93..d37fabe17bd1 100644
@@ -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
index 51763d674050..9e558801266a 100644
@@ -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
#1 lore raw

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 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.

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
index 6087defd9f93..d37fabe17bd1 100644
@@ -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
index 51763d674050..9e558801266a 100644
@@ -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