[PATCH 2/2] arm: dts: lpc32xx: Add ns16550a compatible value to UART device tree nodes

Vladimir Zapolskiy vz at mleia.com
Fri Jan 9 18:46:47 PST 2026


NXP LPC32xx SoC has 4 16550A compatible UARTs with a difference of minor
significance, which is expectedly handled in the 8250 serial driver.

Reflect this fact in the platform device tree file by adding the expected
compatible value.

Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
---
 arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
index e94df78def18..8fa1848943f8 100644
--- a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
+++ b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
@@ -263,8 +263,7 @@ i2s1: i2s at 2009c000 {
 
 			/* UART5 first since it is the default console, ttyS0 */
 			uart5: serial at 40090000 {
-				/* actually, ns16550a w/ 64 byte fifos! */
-				compatible = "nxp,lpc3220-uart";
+				compatible = "nxp,lpc3220-uart", "ns16550a";
 				reg = <0x40090000 0x1000>;
 				interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
 				reg-shift = <2>;
@@ -273,7 +272,7 @@ uart5: serial at 40090000 {
 			};
 
 			uart3: serial at 40080000 {
-				compatible = "nxp,lpc3220-uart";
+				compatible = "nxp,lpc3220-uart", "ns16550a";
 				reg = <0x40080000 0x1000>;
 				interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
 				reg-shift = <2>;
@@ -282,7 +281,7 @@ uart3: serial at 40080000 {
 			};
 
 			uart4: serial at 40088000 {
-				compatible = "nxp,lpc3220-uart";
+				compatible = "nxp,lpc3220-uart", "ns16550a";
 				reg = <0x40088000 0x1000>;
 				interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
 				reg-shift = <2>;
@@ -291,7 +290,7 @@ uart4: serial at 40088000 {
 			};
 
 			uart6: serial at 40098000 {
-				compatible = "nxp,lpc3220-uart";
+				compatible = "nxp,lpc3220-uart", "ns16550a";
 				reg = <0x40098000 0x1000>;
 				interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
 				reg-shift = <2>;
-- 
2.43.0




More information about the linux-arm-kernel mailing list