Add the samsung,exynos8895-uart compatible in the serial node
and also add samsung,uart-fifosize property.
This is to remove the axis,artpec8-uart specific code (which is
kind of duplicated) from the driver and use the other matching
exynos8895 uart code for ARTPEC-8.
Signed-off-by: Ravi Patel <ravi.patel@samsung.com>
---
arch/arm64/boot/dts/exynos/axis/artpec8.dtsi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi b/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
index db9833297982..0f018b258b60 100644
--- a/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
+++ b/arch/arm64/boot/dts/exynos/axis/artpec8.dtsi
@@ -223,7 +223,7 @@
};
serial_0: serial@16cc0000 {
- compatible = "axis,artpec8-uart";
+ compatible = "axis,artpec8-uart", "samsung,exynos8895-uart";
reg = <0x16cc0000 0x100>;
clocks = <&cmu_fsys CLK_GOUT_FSYS_UART0_PCLK>,
<&cmu_fsys CLK_GOUT_FSYS_UART0_SCLK_UART>;
@@ -231,6 +231,7 @@
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&serial0_bus>;
+ samsung,uart-fifosize = <64>;
};
};
--
2.17.1