MIPS: Loongson: Update dts file for RS780E
authorHuacai Chen <chenhc@lemote.com>
Mon, 6 Jul 2020 10:22:23 +0000 (18:22 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 8 Jul 2020 09:24:34 +0000 (11:24 +0200)
The size of ioports in the current RS780E dts file is not enough, which
sometimes causes device initialize fail. So we increase the size of ISA/
LPC ioports to 0x4000, and increase the size of PCI ioports to 0x8000.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/loongson/rs780e-pch.dtsi

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