[PATCH v2 6/8] MIPS: Loongson64: dts: ls7a-pch: Bind UART nodes to miscellaneous clock

From: Rong Zhang

Date: Fri Nov 13 2026 - 10:14:22 EST


The Loongson-7A's UART controllers are driven by an internal 50MHz clock
source called miscellaneous clock. The clock is nonconfigurable for
board manufacturer and software.

Therefore, the LS7A UART nodes don't need to be fixed up by
lefi_fixup_fdt_serial(), and can safely use clocks nodes rather than
clock-frequency ones.

Suggested-by: Conor Dooley <conor@xxxxxxxxxx>
Link: https://msgid.link/20261111-oboe-shack-11c3e3ce0830@spud/
Signed-off-by: Rong Zhang <rongrong@xxxxxxxxxxxxxxxxx>
---
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index 2ef1ad10a8ec..7ba7bbb9c013 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -39,7 +39,7 @@ lpc: interrupt-controller@10002000 {
ls7a_uart0: serial@10080000 {
compatible = "ns16550a";
reg = <0x0 0x10080000 0x0 0x100>;
- clock-frequency = <50000000>;
+ clocks = <&pch_misc_clk>;
interrupt-parent = <&pic>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
no-loopback-test;
@@ -49,7 +49,7 @@ ls7a_uart1: serial@10080100 {
status = "disabled";
compatible = "ns16550a";
reg = <0x0 0x10080100 0x0 0x100>;
- clock-frequency = <50000000>;
+ clocks = <&pch_misc_clk>;
interrupt-parent = <&pic>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
no-loopback-test;
@@ -59,7 +59,7 @@ ls7a_uart2: serial@10080200 {
status = "disabled";
compatible = "ns16550a";
reg = <0x0 0x10080200 0x0 0x100>;
- clock-frequency = <50000000>;
+ clocks = <&pch_misc_clk>;
interrupt-parent = <&pic>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
no-loopback-test;
@@ -69,7 +69,7 @@ ls7a_uart3: serial@10080300 {
status = "disabled";
compatible = "ns16550a";
reg = <0x0 0x10080300 0x0 0x100>;
- clock-frequency = <50000000>;
+ clocks = <&pch_misc_clk>;
interrupt-parent = <&pic>;
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
no-loopback-test;

--
2.55.0