We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 60325

PetaLinux - How Do I Enable I2C Devices For My Xilinx Zynq Development Board In the Linux Device Tree?


I am using a Xilinx Zynq development board (ZC702 or ZC706). 

How do I ensure that my device tree has the I2C peripherals properly configured?


The easiest way to ensure that your Linux system is properly configured for the Zynq development platform is to use one of the pre-built PetaLinux BSPs.  

These PetaLinux BSP's are available from the Xilinx Download Center (http://www.xilinx.com/support/download/index.htm) under the PetaLinux tab. 

These BSP's can be installed using the instructions provided in the PetaLinux Getting Started Guide (UG977).

For custom hardware running on a Xilinx Zynq development platform, the pre-existing ZC702 and ZC706 device tree files (DTS) from the Xilinx Git repository can be referenced.

ZC702: https://github.com/Xilinx/linux-xlnx/blob/master/arch/arm/boot/dts/zynq-zc702.dts

ZC706: https://github.com/Xilinx/linux-xlnx/blob/master/arch/arm/boot/dts/zynq-zc706.dts

Note that some syntax proofreading may be necessary to ensure that DTS node and variable names are maintained.

AR# 60325
Date 04/24/2014
Status Active
Type General Article
  • PetaLinux
Page Bookmarked