ARM: dts: armada-38x: Add generic compatible to UART nodes
authorMarek Behún <kabel@kernel.org>
Tue, 9 Nov 2021 16:46:04 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 09:53:58 +0000 (10:53 +0100)
[ Upstream commit 62480772263ab6b52e758f2346c70a526abd1d28 ]

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>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/armada-38x.dtsi

index 9b1a24cc5e91f2f52c32eeb248831f60d13040e0..df3c8d1d8f641230f9b17b8dcde7f58336918eb1 100644 (file)
                        };
 
                        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>;
                        };
 
                        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>;