Debian Codegraph @

Documentation/devicetree/bindings/mmc/mxs-mmc.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/mmc/mxs-mmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Freescale MXS MMC controller
8
9 maintainers:
10 - Shawn Guo <[email protected]>
11
12 description: |
13 The Freescale MXS Synchronous Serial Ports (SSP) can act as a MMC controller
14 to support MMC, SD, and SDIO types of memory cards.
15
16 This file documents differences between the core properties in mmc.txt
17 and the properties used by the mxsmmc driver.
18
19 allOf:
20 - $ref: mmc-controller-common.yaml#
21
22 properties:
23 compatible:
24 enum:
25 - fsl,imx23-mmc
26 - fsl,imx28-mmc
27
28 reg:
29 maxItems: 1
30
31 interrupts:
32 maxItems: 1
33
34 clocks:
35 maxItems: 1
36
37 dmas:
38 maxItems: 1
39
40 dma-names:
41 const: rx-tx
42
43 required:
44 - compatible
45 - reg
46 - interrupts
47 - clocks
48 - dmas
49 - dma-names
50
51 unevaluatedProperties: false
52
53 examples:
54 - |
55 mmc@80010000 {
56 compatible = "fsl,imx28-mmc";
57 reg = <0x80010000 2000>;
58 interrupts = <96>;
59 clocks = <&clks 46>;
60 dmas = <&dma_apbh 0>;
61 dma-names = "rx-tx";
62 bus-width = <8>;
63 };