linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes
@ 2021-11-09 16:46 Marek Behún
  2021-12-17 17:38 ` Pali Rohár
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Behún @ 2021-11-09 16:46 UTC (permalink / raw)
  To: Gregory Clement; +Cc: linux-arm-kernel, Marek Behún, Pali Rohár

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes
  2021-11-09 16:46 [PATCH mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes Marek Behún
@ 2021-12-17 17:38 ` Pali Rohár
  0 siblings, 0 replies; 2+ messages in thread
From: Pali Rohár @ 2021-12-17 17:38 UTC (permalink / raw)
  To: Gregory Clement; +Cc: Marek Behún, linux-arm-kernel

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
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-17 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-09 16:46 [PATCH mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes Marek Behún
2021-12-17 17:38 ` Pali Rohár

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).