[PATCH mvebu-dt] ARM: dts: armada-38x: Add generic compatible to UART nodes
Pali Rohár
pali at kernel.org
Fri Dec 17 09:38:23 PST 2021
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 at kernel.org>
> Signed-off-by: Marek Behún <kabel at 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 at 11100 {
> };
>
> uart0: serial at 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 at 12000 {
> };
>
> uart1: serial at 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
>
More information about the linux-arm-kernel
mailing list