[PATCH 11/12] riscv: dts: sophgo: Add sophgo,sg2024-uart compatibles

Wang Chen unicornxw at gmail.com
Fri Sep 15 00:26:24 PDT 2023


Add compatible for uart.

Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
Signed-off-by: Wang Chen <wangchen20 at iscas.ac.cn>
---
 arch/riscv/boot/dts/sophgo/sg2042.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/boot/dts/sophgo/sg2042.dtsi b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
index 5c4b82f13207..87f7667bbe63 100644
--- a/arch/riscv/boot/dts/sophgo/sg2042.dtsi
+++ b/arch/riscv/boot/dts/sophgo/sg2042.dtsi
@@ -492,7 +492,7 @@ &cpu63_intc  0xffffffff &cpu63_intc  9
 		};
 
 		uart0: serial at 7040000000 {
-			compatible = "snps,dw-apb-uart";
+			compatible = "sophgo,sg2042-uart", "snps,dw-apb-uart";
 			reg = <0x00000070 0x40000000 0x00000000 0x00001000>;
 			interrupt-parent = <&intc>;
 			interrupts = <SOC_PERIPHERAL_IRQ(112) IRQ_TYPE_LEVEL_HIGH>;
-- 
2.25.1




More information about the linux-riscv mailing list