1description: Generic Zephyr SPI based SDHC controller 2 3compatible: "zephyr,sdhc-spi-slot" 4 5include: [spi-device.yaml] 6 7properties: 8 power-delay-ms: 9 type: int 10 default: 1 11 description: | 12 Time in ms for SPI SDHC to delay when toggling power to the SD card. This 13 delay gives the card time to power up or down fully. It can be increased 14 if you observe issues initializing your card. 15 16 spi-clock-mode-cpol: 17 type: boolean 18 description: | 19 Clock polarity to use for SPI SDHC. Some cards respond properly 20 only when the clock goes low when not active. 21 22 spi-clock-mode-cpha: 23 type: boolean 24 description: | 25 Clock phase: this dictates when is the data captured, and depends 26 on the clock's polarity. When mode-cpol is set and this option as well, 27 capture will occur on low to high transition and high to low if 28 this option is not set (default). 29 30 pwr-gpios: 31 type: phandle-array 32 description: | 33 Power pin 34 This pin defaults to active high when consumed by the SPI SDHC driver. 35 It can be used to toggle card power via an external control circuit 36 37bus: sd 38