diff mbox series

MIPS: Loongson: Update dts file for RS780E

Message ID 1594030943-7568-1-git-send-email-chenhc@lemote.com (mailing list archive)
State Mainlined
Commit 994334933efd396d0727500c87da1a81b17232d6
Headers show
Series MIPS: Loongson: Update dts file for RS780E | expand

Commit Message

Huacai Chen July 6, 2020, 10:22 a.m. UTC
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>
---
 arch/mips/boot/dts/loongson/rs780e-pch.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Bogendoerfer July 8, 2020, 9:37 a.m. UTC | #1
On Mon, Jul 06, 2020 at 06:22:23PM +0800, Huacai Chen wrote:
> 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>
> ---
>  arch/mips/boot/dts/loongson/rs780e-pch.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/boot/dts/loongson/rs780e-pch.dtsi b/arch/mips/boot/dts/loongson/rs780e-pch.dtsi
index d0d5d60..d4c803d 100644
--- a/arch/mips/boot/dts/loongson/rs780e-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/rs780e-pch.dtsi
@@ -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";