xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/brcm,bcm2835-sdhost.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f126890aSEmmanuel Vadot%YAML 1.2
3*f126890aSEmmanuel Vadot---
4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/mmc/brcm,bcm2835-sdhost.yaml#
5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadottitle: Broadcom BCM2835 SDHOST controller
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadotmaintainers:
10*f126890aSEmmanuel Vadot  - Stefan Wahren <stefan.wahren@i2se.com>
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel VadotallOf:
13*f126890aSEmmanuel Vadot  - $ref: mmc-controller.yaml
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadotproperties:
16*f126890aSEmmanuel Vadot  compatible:
17*f126890aSEmmanuel Vadot    const: brcm,bcm2835-sdhost
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot  reg:
20*f126890aSEmmanuel Vadot    maxItems: 1
21*f126890aSEmmanuel Vadot
22*f126890aSEmmanuel Vadot  interrupts:
23*f126890aSEmmanuel Vadot    maxItems: 1
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot  clocks:
26*f126890aSEmmanuel Vadot    maxItems: 1
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot  dmas:
29*f126890aSEmmanuel Vadot    maxItems: 1
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot  dma-names:
32*f126890aSEmmanuel Vadot    const: rx-tx
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadotrequired:
35*f126890aSEmmanuel Vadot  - compatible
36*f126890aSEmmanuel Vadot  - reg
37*f126890aSEmmanuel Vadot  - interrupts
38*f126890aSEmmanuel Vadot  - clocks
39*f126890aSEmmanuel Vadot
40*f126890aSEmmanuel VadotunevaluatedProperties: false
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadotexamples:
43*f126890aSEmmanuel Vadot  - |
44*f126890aSEmmanuel Vadot    #include <dt-bindings/clock/bcm2835.h>
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot    sdhost: mmc@7e202000 {
47*f126890aSEmmanuel Vadot      compatible = "brcm,bcm2835-sdhost";
48*f126890aSEmmanuel Vadot      reg = <0x7e202000 0x100>;
49*f126890aSEmmanuel Vadot      interrupts = <2 24>;
50*f126890aSEmmanuel Vadot      clocks = <&clocks BCM2835_CLOCK_VPU>;
51*f126890aSEmmanuel Vadot      dmas = <&dma 13>;
52*f126890aSEmmanuel Vadot      dma-names = "rx-tx";
53*f126890aSEmmanuel Vadot      bus-width = <4>;
54*f126890aSEmmanuel Vadot    };
55