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