Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Super Contributor
norman_wong
Posts: 146
Registered: ‎05-28-2012
0
Accepted Solution

AXI GPIO Support

I've noticed that there is a xilinx_gpio.c module to support AXI GPIOs in the FPGA. Once I have configured the kernel to include this module, what's a typical device tree entry to load the driver at boot? I need to add several channels of varying widths. Does the driver support device tree properties for label, base address, and channel widths?

 

 

Visitor
jasona
Posts: 2
Registered: ‎06-12-2012
0

Re: AXI GPIO Support

Did you look in the kernel tree at arch/arm/boot/dts/zynq-ep107.dts ??

 

It has a device tree entry for gpio.

 

Jason

 

Expert Contributor
linnj
Posts: 1,038
Registered: ‎09-10-2008
0

Re: AXI GPIO Support

The entry in the zynq-ep107.dts is not for AXI GPIO, but for Zynq.

The AXI GPIO entries would be the same as for MicroBlaze and PowerPC which is supported by the device tree generator. We need to do a wiki page with all device tree bindings it appears.

The soft IP (AXI GPIO) is not tested yet in Zynq to my knowledge.

You can look at the arch/microblaze/boot/dts for the GPIO or in arch/powerpc/boot/dts in the virtex dts files.

Thanks.
John Linn
Super Contributor
norman_wong
Posts: 146
Registered: ‎05-28-2012
0

Re: AXI GPIO Support

Thanks. That will get me started.