5.2.2 SDIO Card Detect
This section applies to the WILC1000/3000 devices. MMC slots include a card detect line that Linux uses to indicate the insertion of an SDIO card. This feature is applicable when WILC is connected through the MMC slot, such as with the WILC1000 SD board. However, not all setups have this line connected. For instance, the ATWILC3000 Shield Board and SAMA5D4 Xplained setup use the Arduino header for connection, which does not expose the card detect GPIO (PE3). In such cases, it is crucial to remove the dependency on the card detect line for the platform to detect WILC's SDIO controller.
Under the corresponding MMC entry in the dts file, remove the cd-gpios
entry and add a non-removable
property. For the MMC entry setting in the DT Overlay file, see General Purpose IOs.