f4a6fd1f3f
Implementation of SDHC driver for ESP32 Signed-off-by: Raffael Rostagno <raffael.rostagno@espressif.com>
77 lines
2 KiB
YAML
77 lines
2 KiB
YAML
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Espressif ESP32 SDHC controller slot
|
|
|
|
compatible: "espressif,esp32-sdhc-slot"
|
|
|
|
include: [sdhc.yaml, pinctrl-device.yaml]
|
|
|
|
properties:
|
|
reg:
|
|
required: true
|
|
|
|
pinctrl-0:
|
|
required: true
|
|
|
|
pinctrl-names:
|
|
required: true
|
|
|
|
bus-width:
|
|
type: int
|
|
enum:
|
|
- 1
|
|
- 4
|
|
default: 4
|
|
description: SD bus width in bits
|
|
|
|
clk-pin:
|
|
type: int
|
|
description: |
|
|
Clock pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
cmd-pin:
|
|
type: int
|
|
description: |
|
|
Command pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
d0-pin:
|
|
type: int
|
|
description: |
|
|
Data 0 pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
d1-pin:
|
|
type: int
|
|
description: |
|
|
Data 1 pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
d2-pin:
|
|
type: int
|
|
description: |
|
|
Data 2 pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
d3-pin:
|
|
type: int
|
|
description: |
|
|
Data 3 pin for ESP32 and SoC models with fixed pins for SDIO.
|
|
For devices with GPIO matrix support, configuration shall be done
|
|
using pin control (pinctrl-0 field).
|
|
|
|
pwr-gpios:
|
|
type: phandle-array
|
|
description: |
|
|
Power pin
|
|
This is a configurable pin to deliver power supply to the SD card.
|
|
It is configured as a GPIO in order to execute power toggles and
|
|
reinitialize the SD slave when necessary.
|