xref: /linux/Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml (revision 762f99f4f3cb41a775b5157dd761217beba65873)
15e2ea2dbSNicolas Saenz Julienne# SPDX-License-Identifier: GPL-2.0
25e2ea2dbSNicolas Saenz Julienne%YAML 1.2
35e2ea2dbSNicolas Saenz Julienne---
45e2ea2dbSNicolas Saenz Julienne$id: http://devicetree.org/schemas/mmc/brcm,iproc-sdhci.yaml#
55e2ea2dbSNicolas Saenz Julienne$schema: http://devicetree.org/meta-schemas/core.yaml#
65e2ea2dbSNicolas Saenz Julienne
75e2ea2dbSNicolas Saenz Juliennetitle: Broadcom IPROC SDHCI controller
85e2ea2dbSNicolas Saenz Julienne
95e2ea2dbSNicolas Saenz Juliennemaintainers:
105e2ea2dbSNicolas Saenz Julienne  - Ray Jui <ray.jui@broadcom.com>
115e2ea2dbSNicolas Saenz Julienne  - Scott Branden <scott.branden@broadcom.com>
125e2ea2dbSNicolas Saenz Julienne  - Nicolas Saenz Julienne <nsaenz@kernel.org>
135e2ea2dbSNicolas Saenz Julienne
145e2ea2dbSNicolas Saenz JulienneallOf:
155e2ea2dbSNicolas Saenz Julienne  - $ref: mmc-controller.yaml#
165e2ea2dbSNicolas Saenz Julienne
175e2ea2dbSNicolas Saenz Julienneproperties:
185e2ea2dbSNicolas Saenz Julienne  compatible:
195e2ea2dbSNicolas Saenz Julienne    enum:
205e2ea2dbSNicolas Saenz Julienne      - brcm,bcm2835-sdhci
215e2ea2dbSNicolas Saenz Julienne      - brcm,bcm2711-emmc2
225e2ea2dbSNicolas Saenz Julienne      - brcm,sdhci-iproc-cygnus
235e2ea2dbSNicolas Saenz Julienne      - brcm,sdhci-iproc
24*09a8ec9aSAl Cooper      - brcm,bcm7211a0-sdhci
255e2ea2dbSNicolas Saenz Julienne
265e2ea2dbSNicolas Saenz Julienne  reg:
275e2ea2dbSNicolas Saenz Julienne    minItems: 1
285e2ea2dbSNicolas Saenz Julienne
295e2ea2dbSNicolas Saenz Julienne  interrupts:
305e2ea2dbSNicolas Saenz Julienne    maxItems: 1
315e2ea2dbSNicolas Saenz Julienne
325e2ea2dbSNicolas Saenz Julienne  clocks:
335e2ea2dbSNicolas Saenz Julienne    maxItems: 1
345e2ea2dbSNicolas Saenz Julienne    description:
355e2ea2dbSNicolas Saenz Julienne      Handle to core clock for the sdhci controller.
365e2ea2dbSNicolas Saenz Julienne
375e2ea2dbSNicolas Saenz Julienne  sdhci,auto-cmd12:
385e2ea2dbSNicolas Saenz Julienne    type: boolean
395e2ea2dbSNicolas Saenz Julienne    description: Specifies that controller should use auto CMD12
405e2ea2dbSNicolas Saenz Julienne
415e2ea2dbSNicolas Saenz Juliennerequired:
425e2ea2dbSNicolas Saenz Julienne  - compatible
435e2ea2dbSNicolas Saenz Julienne  - reg
445e2ea2dbSNicolas Saenz Julienne  - interrupts
455e2ea2dbSNicolas Saenz Julienne  - clocks
465e2ea2dbSNicolas Saenz Julienne
475e2ea2dbSNicolas Saenz JulienneunevaluatedProperties: false
485e2ea2dbSNicolas Saenz Julienne
495e2ea2dbSNicolas Saenz Julienneexamples:
505e2ea2dbSNicolas Saenz Julienne  - |
515e2ea2dbSNicolas Saenz Julienne    #include <dt-bindings/interrupt-controller/irq.h>
525e2ea2dbSNicolas Saenz Julienne    #include <dt-bindings/interrupt-controller/arm-gic.h>
535e2ea2dbSNicolas Saenz Julienne    #include <dt-bindings/clock/bcm-cygnus.h>
545e2ea2dbSNicolas Saenz Julienne
555e2ea2dbSNicolas Saenz Julienne    mmc@18041000 {
565e2ea2dbSNicolas Saenz Julienne      compatible = "brcm,sdhci-iproc-cygnus";
575e2ea2dbSNicolas Saenz Julienne      reg = <0x18041000 0x100>;
585e2ea2dbSNicolas Saenz Julienne      interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
595e2ea2dbSNicolas Saenz Julienne      clocks = <&lcpll0_clks BCM_CYGNUS_LCPLL0_SDIO_CLK>;
605e2ea2dbSNicolas Saenz Julienne      bus-width = <4>;
615e2ea2dbSNicolas Saenz Julienne      sdhci,auto-cmd12;
625e2ea2dbSNicolas Saenz Julienne      no-1-8-v;
635e2ea2dbSNicolas Saenz Julienne    };
645e2ea2dbSNicolas Saenz Julienne...
65