14022.xilinx通过IP核axi-iic扩展多路i2c总线
文章目录
- 1 参考文档
- 2 内核配置
- 3 用户空间设备树配置
- 3 i2c-xilinx驱动控制器代码
- 4 PS端设备树配置
1 参考文档
https://docs.xilinx.com/v/u/en-US/pg090-axi-iic
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841974/Linux+I2C+Driver
2 内核配置
-
Kernel Configuration
I2C is not enabled in the current default kernel configuration. The
following steps may be used to enable the driver in the kernel
configuration CONFIG_I2C_XILINX=y
-
Devicetree
https://github.com/Xilinx/linux-xln