blob: b86ffb53b18b519733633567eef62e9ffa35d91b [file] [log] [blame]
Tom Rini6b642ac2024-10-01 12:20:28 -06001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/fsl,esdhc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale Enhanced Secure Digital Host Controller (eSDHC)
8
9description:
10 The Enhanced Secure Digital Host Controller provides an interface
11 for MMC, SD, and SDIO types of memory cards.
12
13maintainers:
14 - Frank Li <Frank.Li@nxp.com>
15
16properties:
17 compatible:
18 items:
19 - enum:
20 - fsl,mpc8536-esdhc
21 - fsl,mpc8378-esdhc
22 - fsl,p2020-esdhc
23 - fsl,p4080-esdhc
24 - fsl,t1040-esdhc
25 - fsl,t4240-esdhc
26 - fsl,ls1012a-esdhc
27 - fsl,ls1028a-esdhc
28 - fsl,ls1088a-esdhc
29 - fsl,ls1043a-esdhc
30 - fsl,ls1046a-esdhc
31 - fsl,ls2080a-esdhc
32 - const: fsl,esdhc
33
34 reg:
35 maxItems: 1
36
37 interrupts:
38 maxItems: 1
39
40 clocks:
41 maxItems: 1
42
43 clock-frequency:
44 $ref: /schemas/types.yaml#/definitions/uint32
45 description: specifies eSDHC base clock frequency.
46
47 sdhci,wp-inverted:
48 $ref: /schemas/types.yaml#/definitions/flag
49 deprecated: true
50 description:
51 specifies that eSDHC controller reports
52 inverted write-protect state; New devices should use the generic
53 "wp-inverted" property.
54
55 sdhci,1-bit-only:
56 $ref: /schemas/types.yaml#/definitions/flag
57 deprecated: true
58 description:
59 specifies that a controller can only handle
60 1-bit data transfers. New devices should use the generic
61 "bus-width = <1>" property.
62
63 sdhci,auto-cmd12:
64 $ref: /schemas/types.yaml#/definitions/flag
65 description:
66 specifies that a controller can only handle auto CMD12.
67
68 voltage-ranges:
69 $ref: /schemas/types.yaml#/definitions/uint32-matrix
70 items:
71 items:
72 - description: specifies minimum slot voltage (mV).
73 - description: specifies maximum slot voltage (mV).
74 minItems: 1
75 maxItems: 8
76
77 dma-coherent: true
78
79 little-endian:
80 $ref: /schemas/types.yaml#/definitions/flag
81 description:
82 If the host controller is little-endian mode, specify
83 this property. The default endian mode is big-endian.
84
85required:
86 - compatible
87 - reg
88 - interrupts
89
90allOf:
91 - $ref: sdhci-common.yaml#
92
93unevaluatedProperties: false
94
95examples:
96 - |
97 mmc@2e000 {
98 compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
99 reg = <0x2e000 0x1000>;
100 interrupts = <42 0x8>;
101 interrupt-parent = <&ipic>;
102 /* Filled in by U-Boot */
103 clock-frequency = <100000000>;
104 voltage-ranges = <3300 3300>;
105 };