Update UART compatible in k1 dts to "intel,xscale-uart", introduced in
commit 2d84e1519c5b ("serial: ns16550: Add Intel XScale support")
recently, aligning dts with the upstream kernel.

Tested-by: Huan Zhou <m...@per1cycle.org>
Signed-off-by: Junhui Liu <junhui....@pigmoral.tech>
---
 arch/riscv/dts/k1.dtsi | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/arch/riscv/dts/k1.dtsi b/arch/riscv/dts/k1.dtsi
index 
514be453dbaf6713cdf4ad5a5d653488297ebb83..fa1cb507351e4dc80b39d439d739865bf9b1f170
 100644
--- a/arch/riscv/dts/k1.dtsi
+++ b/arch/riscv/dts/k1.dtsi
@@ -327,7 +327,7 @@
                ranges;
 
                uart0: serial@d4017000 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017000 0x0 0x100>;
                        interrupts = <42>;
                        clock-frequency = <14857000>;
@@ -337,7 +337,7 @@
                };
 
                uart2: serial@d4017100 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017100 0x0 0x100>;
                        interrupts = <44>;
                        clock-frequency = <14857000>;
@@ -347,7 +347,7 @@
                };
 
                uart3: serial@d4017200 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017200 0x0 0x100>;
                        interrupts = <45>;
                        clock-frequency = <14857000>;
@@ -357,7 +357,7 @@
                };
 
                uart4: serial@d4017300 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017300 0x0 0x100>;
                        interrupts = <46>;
                        clock-frequency = <14857000>;
@@ -367,7 +367,7 @@
                };
 
                uart5: serial@d4017400 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017400 0x0 0x100>;
                        interrupts = <47>;
                        clock-frequency = <14857000>;
@@ -377,7 +377,7 @@
                };
 
                uart6: serial@d4017500 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017500 0x0 0x100>;
                        interrupts = <48>;
                        clock-frequency = <14857000>;
@@ -387,7 +387,7 @@
                };
 
                uart7: serial@d4017600 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017600 0x0 0x100>;
                        interrupts = <49>;
                        clock-frequency = <14857000>;
@@ -397,7 +397,7 @@
                };
 
                uart8: serial@d4017700 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017700 0x0 0x100>;
                        interrupts = <50>;
                        clock-frequency = <14857000>;
@@ -407,7 +407,7 @@
                };
 
                uart9: serial@d4017800 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xd4017800 0x0 0x100>;
                        interrupts = <51>;
                        clock-frequency = <14857000>;
@@ -447,7 +447,7 @@
                };
 
                sec_uart1: serial@f0612000 {
-                       compatible = "spacemit,k1-uart", "snps,dw-apb-uart";
+                       compatible = "spacemit,k1-uart", "intel,xscale-uart";
                        reg = <0x0 0xf0612000 0x0 0x100>;
                        interrupts = <43>;
                        clock-frequency = <14857000>;
@@ -456,4 +456,4 @@
                        status = "reserved"; /* for TEE usage */
                };
        };
-};
\ No newline at end of file
+};

---
base-commit: 5061eab96acd60d28149e080f3a37fbe7220ca54
change-id: 20250223-k1-uart-f833d6d5978f

Best regards,
-- 
Junhui Liu <junhui....@pigmoral.tech>

Reply via email to