# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/marvell,dove-sdhci.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell sdhci-dove controller

maintainers:
  - Adrian Hunter <adrian.hunter@intel.com>
  - Ulf Hansson <ulf.hansson@linaro.org>

allOf:
  - $ref: mmc-controller.yaml#

properties:
  compatible:
    const: marvell,dove-sdhci

  reg:
    maxItems: 1

  interrupts:
    minItems: 1
    maxItems: 2

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

unevaluatedProperties: false

examples:
  - |
    sdio0: mmc@92000 {
      compatible = "marvell,dove-sdhci";
      reg = <0x92000 0x100>;
      interrupts = <35>;
      clocks = <&gate_clk 9>;
    };