xref: /linux/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml (revision 942baad211336efefb93a8369478888ab845c450)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom IPROC SDHCI controller
8
9maintainers:
10  - Ray Jui <ray.jui@broadcom.com>
11  - Scott Branden <scott.branden@broadcom.com>
12  - Nicolas Saenz Julienne <nsaenz@kernel.org>
13
14allOf:
15  - $ref: mmc-controller.yaml#
16
17properties:
18  compatible:
19    enum:
20      - brcm,bcm2835-sdhci
21      - brcm,bcm2711-emmc2
22      - brcm,sdhci-iproc-cygnus
23      - brcm,sdhci-iproc
24
25  reg:
26    minItems: 1
27
28  interrupts:
29    maxItems: 1
30
31  clocks:
32    maxItems: 1
33    description:
34      Handle to core clock for the sdhci controller.
35
36  sdhci,auto-cmd12:
37    type: boolean
38    description: Specifies that controller should use auto CMD12
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - clocks
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/interrupt-controller/irq.h>
51    #include <dt-bindings/interrupt-controller/arm-gic.h>
52    #include <dt-bindings/clock/bcm-cygnus.h>
53
54    mmc@18041000 {
55      compatible = "brcm,sdhci-iproc-cygnus";
56      reg = <0x18041000 0x100>;
57      interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
58      clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>;
59      bus-width = <4>;
60      sdhci,auto-cmd12;
61      no-1-8-v;
62    };
63...
64