This patch set adds support for PCI Host Controller in DM646x.
Tested on: DM646x EVM
Note: By default the DM646x EVM switches to PCI Boot mode when
inserted in PCI slot. Thus to use the DM646x PCI host
capabilities, it needs to be booted by loading U-Boot and Linux
(and Filesystem, in case of Ramdisk) in memory
(using CCS, for example).
To avoid this auto-switching, the CPLD controlling on board mux
needs to be programmed with different firmware which enables
controlling muxing from software using dedicated GPIO pins after
initially booting from NAND. Please refer DaVinci Wiki for note
about hardware workaround for switching from NAND to PCI.
Test Setup: PCI backplane with minimum 2 slots is required. The DM646x EVM
(without h/w modification mentioned above) is put in one of the
slots. To check the enumeration and PCI access, a 10/100 Mbps
Ethernet PCI Adapter was used in other slot. The DM646x PCI Host
would enumerate the PCI Target and assign the resources. The
target then can be controlled by loading its driver on DM646x
Host. The Ethernet interface was tested in polled mode.
Limitations: 1) NOT tested with with PCI bridges.
2) The support for switching from NAND to PCI is untested
(requires h/w modifications mentioned above).
Patches (4):
davinci: dm646x: Add PCI clock info and mux setup
davinci: dm646x: Add PCI host controller driver
davinci: dm646x-evm: Setup for PCI host mode operation
davinci: dm646x: Makefile/Kconfig updates to add support for PCI host
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source