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