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,bcm2835-sdhost.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Broadcom BCM2835 SDHOST controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Stefan Wahren <stefan.wahren@i2se.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: mmc-controller.yaml |
| 14 | |
| 15 | properties: |
| 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 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | - interrupts |
| 38 | - clocks |
| 39 | |
| 40 | unevaluatedProperties: false |
| 41 | |
| 42 | examples: |
| 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 | }; |