Skip to content

Commit 13532b5

Browse files
AaronDotgregkh
authored andcommitted
LoongArch: dts: Add uart new compatible string
Add loongson,ls2k*-uart compatible string on uarts. Co-developed-by: Haowei Zheng <zhenghaowei@loongson.cn> Signed-off-by: Haowei Zheng <zhenghaowei@loongson.cn> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Reviewed-by: Huacai Chen <chenhuacai@loongson.cn> Link: https://patch.msgid.link/8e0c08459fa5bddefd898648fea28a9f2fde701a.1760166651.git.zhoubinbin@loongson.cn Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 25e95d7 commit 13532b5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/loongarch/boot/dts/loongson-2k0500.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@
380380
};
381381

382382
uart0: serial@1ff40800 {
383-
compatible = "ns16550a";
383+
compatible = "loongson,ls2k0500-uart", "ns16550a";
384384
reg = <0x0 0x1ff40800 0x0 0x10>;
385385
clock-frequency = <100000000>;
386386
interrupt-parent = <&eiointc>;

arch/loongarch/boot/dts/loongson-2k1000.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
};
298298

299299
uart0: serial@1fe20000 {
300-
compatible = "ns16550a";
300+
compatible = "loongson,ls2k1000-uart", "loongson,ls2k0500-uart", "ns16550a";
301301
reg = <0x0 0x1fe20000 0x0 0x10>;
302302
clock-frequency = <125000000>;
303303
interrupt-parent = <&liointc0>;

arch/loongarch/boot/dts/loongson-2k2000.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
};
251251

252252
uart0: serial@1fe001e0 {
253-
compatible = "ns16550a";
253+
compatible = "loongson,ls2k2000-uart", "loongson,ls2k1500-uart", "ns16550a";
254254
reg = <0x0 0x1fe001e0 0x0 0x10>;
255255
clock-frequency = <100000000>;
256256
interrupt-parent = <&liointc>;

0 commit comments

Comments
 (0)