]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
MIPS: Loongson64: dts: Sort nodes
authorIcenowy Zheng <zhengxingda@iscas.ac.cn>
Sat, 11 Apr 2026 10:17:43 +0000 (18:17 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 26 May 2026 14:39:42 +0000 (16:39 +0200)
The RTC's address is after UARTs, however the node is currently before
them.

Re-order the node to match address sequence.

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/loongson/ls7a-pch.dtsi

index 6dee85909f5a617b7c104f771bb2549eee3e0dd0..59ca1ef0a7b64ebcce82b557e40617fc30c61e9f 100644 (file)
                        #interrupt-cells = <2>;
                };
 
-               rtc0: rtc@100d0100 {
-                       compatible = "loongson,ls7a-rtc";
-                       reg = <0 0x100d0100 0 0x78>;
-                       interrupt-parent = <&pic>;
-                       interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
-               };
-
                ls7a_uart0: serial@10080000 {
                        compatible = "ns16550a";
                        reg = <0 0x10080000 0 0x100>;
                        no-loopback-test;
                };
 
+               rtc0: rtc@100d0100 {
+                       compatible = "loongson,ls7a-rtc";
+                       reg = <0 0x100d0100 0 0x78>;
+                       interrupt-parent = <&pic>;
+                       interrupts = <52 IRQ_TYPE_LEVEL_HIGH>;
+               };
+
                pci@1a000000 {
                        compatible = "loongson,ls7a-pci";
                        device_type = "pci";