Skip to content

Commit fe30837

Browse files
xiaochuan maotsbogend
authored andcommitted
MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
from Loongson-2K1000 user manual know that under pci bus the device num is 4, function number is 2 and register is 0x2200 is ohci. the ohci interrupt number is 51. because Loongson-2K1000 has 64 interrupt sources, 0-31 correspond to the device tree liointc0 device node, and the other correspond to liointc1 node. so it should be number 19 correspon to liointc1. Signed-off-by: xiaochuan mao <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 25ab14c commit fe30837

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,14 @@
125125
interrupt-parent = <&liointc1>;
126126
};
127127

128-
ehci@4,2 {
128+
ohci@4,2 {
129129
compatible = "pci0014,7a24.0",
130130
"pci0014,7a24",
131131
"pciclass0c0310",
132132
"pciclass0c03";
133133

134134
reg = <0x2200 0x0 0x0 0x0 0x0>;
135-
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
135+
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
136136
interrupt-parent = <&liointc1>;
137137
};
138138

0 commit comments

Comments
 (0)