xref: /freebsd/sys/contrib/device-tree/Bindings/mmc/brcm,kona-sdhci.yaml (revision f5f40dd63bc7acbb5312b26ac1ea1103c12352a6)
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,kona-sdhci.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom Kona family SDHCI controller
8
9maintainers:
10  - Florian Fainelli <f.fainelli@gmail.com>
11
12allOf:
13  - $ref: sdhci-common.yaml#
14
15properties:
16  compatible:
17    const: brcm,kona-sdhci
18
19  reg:
20    maxItems: 1
21
22  clocks:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - clocks
32  - interrupts
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/interrupt-controller/arm-gic.h>
39    #include <dt-bindings/interrupt-controller/irq.h>
40    #include <dt-bindings/clock/bcm281xx.h>
41
42    mmc@3f1a0000 {
43        compatible = "brcm,kona-sdhci";
44        reg = <0x3f1a0000 0x10000>;
45        clocks = <&master_ccu BCM281XX_MASTER_CCU_SDIO3>;
46        interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
47    };
48...
49