106 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 interface11 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-esdhc21 - fsl,mpc8378-esdhc22 - fsl,p2020-esdhc23 - fsl,p4080-esdhc24 - fsl,t1040-esdhc25 - fsl,t4240-esdhc26 - fsl,ls1012a-esdhc27 - fsl,ls1028a-esdhc28 - fsl,ls1088a-esdhc29 - fsl,ls1043a-esdhc30 - fsl,ls1046a-esdhc31 - fsl,ls2080a-esdhc32 - const: fsl,esdhc33 34 reg:35 maxItems: 136 37 interrupts:38 maxItems: 139 40 clocks:41 maxItems: 142 43 clock-frequency:44 $ref: /schemas/types.yaml#/definitions/uint3245 description: specifies eSDHC base clock frequency.46 47 sdhci,wp-inverted:48 $ref: /schemas/types.yaml#/definitions/flag49 deprecated: true50 description:51 specifies that eSDHC controller reports52 inverted write-protect state; New devices should use the generic53 "wp-inverted" property.54 55 sdhci,1-bit-only:56 $ref: /schemas/types.yaml#/definitions/flag57 deprecated: true58 description:59 specifies that a controller can only handle60 1-bit data transfers. New devices should use the generic61 "bus-width = <1>" property.62 63 sdhci,auto-cmd12:64 $ref: /schemas/types.yaml#/definitions/flag65 description:66 specifies that a controller can only handle auto CMD12.67 68 voltage-ranges:69 $ref: /schemas/types.yaml#/definitions/uint32-matrix70 items:71 items:72 - description: specifies minimum slot voltage (mV).73 - description: specifies maximum slot voltage (mV).74 minItems: 175 maxItems: 876 77 dma-coherent: true78 79 little-endian:80 $ref: /schemas/types.yaml#/definitions/flag81 description:82 If the host controller is little-endian mode, specify83 this property. The default endian mode is big-endian.84 85required:86 - compatible87 - reg88 - interrupts89 90allOf:91 - $ref: sdhci-common.yaml#92 93unevaluatedProperties: false94 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 };106