Skip to content

Commit b07b9f3

Browse files
committed
LoongArch: Update dts for Loongson-2K2000 to support ISA/LPC
Some Loongson-2K2000 platforms have ISA/LPC devices such as Super-IO, define an ISA node in the dts file to avoid access error. Also adjust the PCI io resource range to avoid confliction. Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
1 parent ec2bbc5 commit b07b9f3

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

arch/loongarch/boot/dts/loongson-2k2000.dtsi

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@
5151
#address-cells = <2>;
5252
#size-cells = <2>;
5353

54+
isa@18400000 {
55+
compatible = "isa";
56+
#size-cells = <1>;
57+
#address-cells = <2>;
58+
ranges = <1 0x0 0x0 0x18400000 0x4000>;
59+
};
60+
5461
pmc: power-management@100d0000 {
5562
compatible = "loongson,ls2k2000-pmc", "loongson,ls2k0500-pmc", "syscon";
5663
reg = <0x0 0x100d0000 0x0 0x58>;
@@ -141,7 +148,7 @@
141148
#size-cells = <2>;
142149
device_type = "pci";
143150
bus-range = <0x0 0xff>;
144-
ranges = <0x01000000 0x0 0x00008000 0x0 0x18400000 0x0 0x00008000>,
151+
ranges = <0x01000000 0x0 0x00008000 0x0 0x18408000 0x0 0x00008000>,
145152
<0x02000000 0x0 0x60000000 0x0 0x60000000 0x0 0x20000000>;
146153

147154
gmac0: ethernet@3,0 {

0 commit comments

Comments
 (0)