Skip to content

Commit 7ad6b4e

Browse files
Haowei ZhengKexyBiscuit
authored andcommitted
FROMLIST: LoongArch: Update dts to support Loongson UART driver.
Change to use the Loongson UART driver for Loongson-2K2000, Loongson-2K1000 and Loongson-2K0500. Signed-off-by: Haowei Zheng <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Kexy Biscuit <[email protected]>
1 parent 83b6beb commit 7ad6b4e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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", "loongson,ls7a-uart";
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,ls7a-uart";
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";
254254
reg = <0x0 0x1fe001e0 0x0 0x10>;
255255
clock-frequency = <100000000>;
256256
interrupt-parent = <&liointc>;

0 commit comments

Comments
 (0)