Skip to content

RFC Use the mvebu PCIe driver on Kirkwood

Arnd Bergmann linux-arm-kernel linux-devicetree linux-pci 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 5 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCHv1 0/5] Use the mvebu PCIe driver on Kirkwood
Quoted 10 lines · Thomas Petazzoni

Here is a set of five patches that demonstrate that the mvebu PCIe driver can be used on Kirkwood with no modification at all. Those patches are not meant to be applied yet, the Device Trees are not completely correct yet (they don't take into account the fact that 6281 has one PCIe interface and 6282 has two PCIe interface).

It took less than two hours to enable PCIe on Kirkwood (and in those two hours, the conversion of the DB-88F6281 board to the Device Tree has been done as well), and the result works fine:

Quoted 8 lines
# /usr/sbin/lspci
00:01.0 PCI bridge: Marvell Technology Group Ltd. Device 7846
00:02.0 PCI bridge: Marvell Technology Group Ltd. Device 7846
01:00.0 SCSI storage controller: Marvell Technology Group Ltd. 88SX7042 PCI-e 4-port SATA-II (rev 02)
02:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06)
# cat /proc/cpuinfo | grep ^Hardware
Hardware        : Marvell Kirkwood (Flattened Device Tree)

Very nice!

Quoted 2 lines

I've tested both the e1000e NIC card and the SATA 4 ports card and they work fine.

I assume it works with PIO, but does the SATA card use the I/O space registers, or just memory space?

Arnd