MIPS: Loongson64: DTS: Fix ISA and PCI I/O ranges for RS780E PCH
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Tue, 28 Jul 2020 15:36:58 +0000 (23:36 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 28 Jul 2020 20:49:53 +0000 (22:49 +0200)
Ranges should express the actual physical address on bus.
Also enlarge the PCI I/O size to the actual hardware limit.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/loongson/rs780e-pch.dtsi

index d4c803d..871c866 100644 (file)
@@ -17,7 +17,7 @@
 
                        reg = <0 0x1a000000 0 0x02000000>;
 
-                       ranges = <0x01000000 0 0x00004000 0 0x18004000 0 0x00008000>,
+                       ranges = <0x01000000 0 0x00004000 0 0x18004000 0 0x0000c000>,
                                 <0x02000000 0 0x40000000 0 0x40000000 0 0x40000000>;
                };
 
@@ -25,7 +25,7 @@
                        compatible = "isa";
                        #address-cells = <2>;
                        #size-cells = <1>;
-                       ranges = <1 0 0 0 0x4000>;
+                       ranges = <1 0 0 0x18000000 0x4000>;
 
                        rtc0: rtc@70 {
                                compatible = "motorola,mc146818";