1# Copyright (c) 2024 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4description: Renesas RA SDHC
5
6compatible: "renesas,ra-sdhc"
7
8
9include: [sdhc.yaml, pinctrl-device.yaml]
10
11properties:
12  channel:
13    type: int
14    required: true
15
16  bus-width:
17    type: int
18    enum:
19      - 1
20      - 4
21    default: 4
22
23  sd-support:
24    type: boolean
25
26  mmc-support:
27    type: boolean
28
29  card-detect:
30    type: boolean
31
32  write-protect:
33    type: boolean
34
35  reg:
36    required: true
37
38  pinctrl-0:
39    required: true
40
41  pinctrl-names:
42    required: true
43
44  enable-gpios:
45    type: phandle-array
46    description: |
47      GPIO to use to enable/disable the SDHI. This GPIO is driven active when
48      the SDHI is enabled and inactive when the SDHI is disabled
49
50  interrupts:
51    required: true
52
53  interrupt-names:
54    required: true
55