I'm having lots of trouble getting both sdhc0 and sdhc1 interfaces working on my zynq 7020 board so I can access both the eMMC (sdhci0) and SD Card (sdhci1).
I can get them working individually by changing the device tree to only specify one of the interfaces, but if I specify both I get the following u-boot error on startup.
Error binding driver 'zynq_clk': -12Some drivers failed to bindError binding driver 'generic_simple_bus': -12Some drivers failed to bindError binding driver 'generic_simple_bus': -12Some drivers failed to bindinitcall sequence 04060ec8 failed at call 04012404 (err=-12)### ERROR ### Please RESET the board ###
Here are the relevant parts from the devicetree source.
If I only enable sdhci0 or sdhci1 (by commenting out the other interface) then I can get the system to boot off the relevant interface.
If I enable both interfaces (by uncommenting both) then I get the error reported above.
Is it possible to have both defined so I can boot of either interface with the same u-boot image?
NOTE: my linux device tree has both interfaces enabled and I can successfully mount both devices (eMMC and SD Card).