Skip to content

Commit

Permalink
MIPS:DTS:Fix label name and interrupt number of ohci for Loongson-2K
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
xiaochuan mao authored and tsbogend committed Apr 23, 2021
1 parent 25ab14c commit fe30837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@
interrupt-parent = <&liointc1>;
};

ehci@4,2 {
ohci@4,2 {
compatible = "pci0014,7a24.0",
"pci0014,7a24",
"pciclass0c0310",
"pciclass0c03";

reg = <0x2200 0x0 0x0 0x0 0x0>;
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
interrupt-parent = <&liointc1>;
};

Expand Down

0 comments on commit fe30837

Please sign in to comment.