This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSIDK437X: Devicetree fit for ICSS_EMAC test under Linux

Part Number: TMDSIDK437X


hi,

I wanna test ICSS_EMAC TTS function with the ICSS_DUAL_EMAC src compiled and loaded as firmware.

The  source code of test program is provided along with ICSS_EMAC source under pdk_am437x_1_0_17.

To support UIO, I changed the dtb from am437x-idk-evm.dtb to am437x-idk-pru-excl-uio.dtb, but after boot up, there is no emac found by cmd ifconfig but some failure in boot log, as follows

[    9.522064] uio_module_drv 54426004.pruss-soc-bus:uio_pruss2_mem2: registered misc device uio_pruss2_mem2
[    9.694181] pinctrl-single 44e10800.pinmux: pin PIN40 already requested by 54432400.uio_mdio; cannot claim for pruss1_eth
[    9.837310] uio_module_drv 54426004.pruss-soc-bus:uio_pruss2_0_mem: registered misc device uio_pruss2_0_mem
[    9.873427] pinctrl-single 44e10800.pinmux: pin-40 (pruss1_eth) status -22
[    9.943758] uio_module_drv 54426004.pruss-soc-bus:uio_pruss2_1_mem: registered misc device uio_pruss2_1_mem
[    9.960400] pinctrl-single 44e10800.pinmux: could not request pin 40 (PIN40) from group pruss1_eth_default  on device pinctrl-single
[   10.120611] uio_module_drv 54426004.pruss-soc-bus:uio_pruss1_mem: registered misc device uio_pruss1_mem
[   10.144722] prueth pruss1_eth: Error applying setting, reverse things back
[   10.251212] prueth: probe of pruss1_eth failed with error -22

There seems to be a pin conflict in devicetree pinctrl, so how to solve it? And ain't am437x-idk-pru-excl-uio.dts aimed for ICSS_EMAC test?