diff mbox series

[mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes

Message ID 20211109164604.26939-1-kabel@kernel.org (mailing list archive)
State New, archived
Headers show
Series [mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes | expand

Commit Message

Marek Behún Nov. 9, 2021, 4:46 p.m. UTC
Add generic compatible string "ns16550a" to serial port nodes of Armada
38x.

This makes it possible to use earlycon.

Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Marek Behún <kabel@kernel.org>
---
 arch/arm/boot/dts/armada-38x.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Pali Rohár Dec. 17, 2021, 5:38 p.m. UTC | #1
Hello Gregory, could you look at this patch too?

With this change earlycon starts working on Armada 385.

On Tuesday 09 November 2021 17:46:04 Marek Behún wrote:
> Add generic compatible string "ns16550a" to serial port nodes of Armada
> 38x.
> 
> This makes it possible to use earlycon.
> 
> Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
> Signed-off-by: Pali Rohár <pali@kernel.org>
> Signed-off-by: Marek Behún <kabel@kernel.org>
> ---
>  arch/arm/boot/dts/armada-38x.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index 9b1a24cc5e91..df3c8d1d8f64 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -168,7 +168,7 @@ i2c1: i2c@11100 {
>  			};
>  
>  			uart0: serial@12000 {
> -				compatible = "marvell,armada-38x-uart";
> +				compatible = "marvell,armada-38x-uart", "ns16550a";
>  				reg = <0x12000 0x100>;
>  				reg-shift = <2>;
>  				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
> @@ -178,7 +178,7 @@ uart0: serial@12000 {
>  			};
>  
>  			uart1: serial@12100 {
> -				compatible = "marvell,armada-38x-uart";
> +				compatible = "marvell,armada-38x-uart", "ns16550a";
>  				reg = <0x12100 0x100>;
>  				reg-shift = <2>;
>  				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
> -- 
> 2.32.0
>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 9b1a24cc5e91..df3c8d1d8f64 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -168,7 +168,7 @@  i2c1: i2c@11100 {
 			};
 
 			uart0: serial@12000 {
-				compatible = "marvell,armada-38x-uart";
+				compatible = "marvell,armada-38x-uart", "ns16550a";
 				reg = <0x12000 0x100>;
 				reg-shift = <2>;
 				interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
@@ -178,7 +178,7 @@  uart0: serial@12000 {
 			};
 
 			uart1: serial@12100 {
-				compatible = "marvell,armada-38x-uart";
+				compatible = "marvell,armada-38x-uart", "ns16550a";
 				reg = <0x12100 0x100>;
 				reg-shift = <2>;
 				interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;