Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 08-09-2011, 04:40 AM   #1
LQ Newbie
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Drivers for Complex PCI FPGA (Wishbone, DTS)

Today, we have a product with a AMCC 440ep processor, and linux 2.6.32
built for PowerPC platform (44x).
On the OPB (processor's bus) we have an FPGA with many functions (bus
- Led managment
- Keyboard
- Video controler
- Many SPI controler
- An Interrupt controler

For each a this functions, we wrote the corresponding driver with the
linux driver model.
The content of this FPGA is describe into the DTS and all drivers are
probed to all devices.

The problem, for our futur products, we will use another processor,
and we can't use OPB for this multi-functions FPGA.
So we will put it on PCI-E bus with the xilinx IP (limited to 1 pci-

The question is, how we can write drivers with this conception ?

If I understand PCI drivers on linux, I will have 1 driver, with 1
pci_iomap, but, I need many driver for all function of this FPGA.

I look for many solutions:

1) The pci_driver use a unused node in DTS and use
of_platform_bus_probe to scan sub-devices
but in this case, how can I connect of_iomap into subdevice to the
mapped address of my pci_iomap ?

2) Write a bus driver ? how can i do ? There is some exemples ?

To resume, what is the good architecture to use a multi-function

Thanks for all leads....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Dual Channel PCI IDE Controller driver for FPGA controller weshutchins Linux - Kernel 1 07-11-2012 08:15 AM
Convert cd to dts 5.1 jmdlcar Linux - Desktop 2 07-04-2011 10:18 PM
fpga driver using PCI linux driver Linux_Kid_ Linux - Embedded & Single-board computer 0 06-10-2009 12:53 AM
xilinx system ace driver for compact flash on a fpga based pci card doesnt work urwithsudheer Programming 0 03-22-2006 03:28 AM
DISCUSSION: DTS to AC3 XavierP LinuxAnswers Discussion 0 01-11-2006 02:52 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration