[meta-xilinx] [PATCH] microzed-zynq7.dts: Enabled i2c controller
Thomas Koeller
thomas at koeller.dyndns.org
Mon Aug 8 14:26:26 PDT 2016
On Mon, 2016-08-08 at 00:32 +1000, Nathan Rossi wrote:
> Microzed is an interesting target because none of the IOs on the
> JX1/JX2 connectors are specifically tied as I2C (and there are no i2c
> devices on the board). This means that the default pinmux for the
> board does not setup the I2C controllers to be exposed on any MIOs or
> EMIOs. If you need the i2c controllers you will also need to
> configure
> the pinmux either in the dts or in the ps7_init, which is not done in
> the current microzed setup (for either the dts or the ps7_init) in
> meta-xilinx.
This is in fact what I am currently pursuing. I decided to go for the
dts solution, so I looked at drivers/pinctrl/pinctrl-zynq.c in order to
figure out how to route the i2c pins to the PL via EMIO. What I found
was that the driver apparently does not support this for devices other
than sd/sdio controller units, so I guess I would have to extend it to
make this work, am I right?
regards,
Thomas
More information about the meta-xilinx
mailing list