File Index
Files and directories
Sign in
FILE

fsl,esdhc.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/mmc/fsl,esdhc.yaml YAML
  1# 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,ls1021a-esdhc
 28          - fsl,ls1028a-esdhc
 29          - fsl,ls1088a-esdhc
 30          - fsl,ls1043a-esdhc
 31          - fsl,ls1046a-esdhc
 32          - fsl,ls2080a-esdhc
 33      - const: fsl,esdhc
 34
 35  reg:
 36    maxItems: 1
 37
 38  interrupts:
 39    maxItems: 1
 40
 41  clocks:
 42    maxItems: 1
 43
 44  clock-frequency:
 45    $ref: /schemas/types.yaml#/definitions/uint32
 46    description: specifies eSDHC base clock frequency.
 47
 48  sdhci,wp-inverted:
 49    $ref: /schemas/types.yaml#/definitions/flag
 50    deprecated: true
 51    description:
 52      specifies that eSDHC controller reports
 53      inverted write-protect state; New devices should use the generic
 54      "wp-inverted" property.
 55
 56  sdhci,1-bit-only:
 57    $ref: /schemas/types.yaml#/definitions/flag
 58    deprecated: true
 59    description:
 60      specifies that a controller can only handle
 61      1-bit data transfers. New devices should use the generic
 62      "bus-width = <1>" property.
 63
 64  sdhci,auto-cmd12:
 65    $ref: /schemas/types.yaml#/definitions/flag
 66    description:
 67      specifies that a controller can only handle auto CMD12.
 68
 69  voltage-ranges:
 70    $ref: /schemas/types.yaml#/definitions/uint32-matrix
 71    items:
 72      items:
 73        - description: specifies minimum slot voltage (mV).
 74        - description: specifies maximum slot voltage (mV).
 75    minItems: 1
 76    maxItems: 8
 77
 78  dma-coherent: true
 79
 80  little-endian:
 81    $ref: /schemas/types.yaml#/definitions/flag
 82    description:
 83      If the host controller is little-endian mode, specify
 84      this property. The default endian mode is big-endian.
 85
 86required:
 87  - compatible
 88  - reg
 89  - interrupts
 90
 91allOf:
 92  - $ref: sdhci-common.yaml#
 93  - $ref: mmc-controller-common.yaml#
 94
 95unevaluatedProperties: false
 96
 97examples:
 98  - |
 99    mmc@2e000 {
100        compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
101        reg = <0x2e000 0x1000>;
102        interrupts = <42 0x8>;
103        interrupt-parent = <&ipic>;
104        /* Filled in by U-Boot */
105        clock-frequency = <100000000>;
106        voltage-ranges = <3300 3300>;
107    };
~/ Read-only file preview.