From: E Shattow <[email protected]>

Do Not Merge

Informational purpose only, to aid mainline development of SpacemiT K3
support.

"The compatible order makes OpenSBI select UART_CAP_UUE and preserve
UART_IER_UUE (bit 6); matching only 'ns16550' writes 0x00 to UART_IER and
stops serial output." from [1] OpenSBI mailing list series
"platform: generic: spacemit: add K3 platform support"

1: 
https://lore.kernel.org/opensbi/[email protected]/
---
 arch/riscv/dts/k3.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/dts/k3.dtsi b/arch/riscv/dts/k3.dtsi
index 8c374519fcde..88bb60be404f 100644
--- a/arch/riscv/dts/k3.dtsi
+++ b/arch/riscv/dts/k3.dtsi
@@ -259,7 +259,7 @@
 
                uart0: uart@d4017000 {
                        u-boot,dm-spl;
-                       compatible = "ns16550";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart", 
"ns16550";
                        reg = <0x00000000 0xD4017000 0x00000000 0x00000100>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
-- 
2.53.0

Reply via email to