[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240826024705.55474-4-zhenghaowei@loongson.cn>
Date: Mon, 26 Aug 2024 10:47:05 +0800
From: zhenghaowei@...ngson.cn
To: zhenghaowei@...ngson.cn,
gregkh@...uxfoundation.org,
jirislaby@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
chenhuacai@...nel.org,
kernel@...0n.name,
p.zabel@...gutronix.de
Cc: linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
loongarch@...ts.linux.dev
Subject: [PATCH v3 3/3] LoongArch: Update dts to support Loongson UART driver.
From: Haowei Zheng <zhenghaowei@...ngson.cn>
Change to use the Loongson UART driver for Loongson-2K2000,
Loongson-2K1000 and Loongson-2K0500.
Signed-off-by: Haowei Zheng <zhenghaowei@...ngson.cn>
---
arch/loongarch/boot/dts/loongson-2k0500.dtsi | 2 +-
arch/loongarch/boot/dts/loongson-2k1000.dtsi | 2 +-
arch/loongarch/boot/dts/loongson-2k2000.dtsi | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Changes in V2:
- The compatible property for the UART is changed from "ns16650,loongson"
to "loongson,ls7a-uart".
Changes in V3:
- Compatible has been modified for a specific SoC.
diff --git a/arch/loongarch/boot/dts/loongson-2k0500.dtsi b/arch/loongarch/boot/dts/loongson-2k0500.dtsi
index 3b38ff8853a7..63c77d70639c 100644
--- a/arch/loongarch/boot/dts/loongson-2k0500.dtsi
+++ b/arch/loongarch/boot/dts/loongson-2k0500.dtsi
@@ -220,7 +220,7 @@ tsensor: thermal-sensor@...11500 {
};
uart0: serial@...40800 {
- compatible = "ns16550a";
+ compatible = "loongson,ls2k0500-uart", "loongson,ls7a-uart";
reg = <0x0 0x1ff40800 0x0 0x10>;
clock-frequency = <100000000>;
interrupt-parent = <&eiointc>;
diff --git a/arch/loongarch/boot/dts/loongson-2k1000.dtsi b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
index 92180140eb56..cafb8d13c065 100644
--- a/arch/loongarch/boot/dts/loongson-2k1000.dtsi
+++ b/arch/loongarch/boot/dts/loongson-2k1000.dtsi
@@ -297,7 +297,7 @@ dma-controller@...00c40 {
};
uart0: serial@...20000 {
- compatible = "ns16550a";
+ compatible = "loongson,ls2k1000-uart", "loongson,ls7a-uart";
reg = <0x0 0x1fe20000 0x0 0x10>;
clock-frequency = <125000000>;
interrupt-parent = <&liointc0>;
diff --git a/arch/loongarch/boot/dts/loongson-2k2000.dtsi b/arch/loongarch/boot/dts/loongson-2k2000.dtsi
index 0953c5707825..d4fe91af8c07 100644
--- a/arch/loongarch/boot/dts/loongson-2k2000.dtsi
+++ b/arch/loongarch/boot/dts/loongson-2k2000.dtsi
@@ -174,7 +174,7 @@ rtc0: rtc@...d0100 {
};
uart0: serial@...001e0 {
- compatible = "ns16550a";
+ compatible = "loongson,ls2k2000-uart";
reg = <0x0 0x1fe001e0 0x0 0x10>;
clock-frequency = <100000000>;
interrupt-parent = <&liointc>;
--
2.43.0
Powered by blists - more mailing lists