Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Broadcom Kona family SDHCI controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Florian Fainelli <f.fainelli@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: sdhci-common.yaml# |
| 14 | |
| 15 | properties: |
| 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 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - clocks |
| 32 | - interrupts |
| 33 | |
| 34 | unevaluatedProperties: false |
| 35 | |
| 36 | examples: |
| 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 | ... |