blob: 2f63f2cdeb71edaaa2fc2b7a9aac2035b55f303f [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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 - brcm,bcm7211a0-sdhci
25
26 reg:
27 minItems: 1
28
29 interrupts:
30 maxItems: 1
31
32 clocks:
33 maxItems: 1
34 description:
35 Handle to core clock for the sdhci controller.
36
37 sdhci,auto-cmd12:
38 type: boolean
39 description: Specifies that controller should use auto CMD12
40
41required:
42 - compatible
43 - reg
44 - interrupts
45 - clocks
46
47unevaluatedProperties: false
48
49examples:
50 - |
51 #include <dt-bindings/interrupt-controller/irq.h>
52 #include <dt-bindings/interrupt-controller/arm-gic.h>
53 #include <dt-bindings/clock/bcm-cygnus.h>
54
55 mmc@18041000 {
56 compatible = "brcm,sdhci-iproc-cygnus";
57 reg = <0x18041000 0x100>;
58 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
59 clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>;
60 bus-width = <4>;
61 sdhci,auto-cmd12;
62 no-1-8-v;
63 };
64...