Commit a778dbd9 authored by Chris Packham's avatar Chris Packham Committed by Ulf Hansson
Browse files

dt-bindings: mmc: convert orion-sdio to JSON schema

parent de6e855b
Loading
Loading
Loading
Loading
+44 −0
Original line number Original line Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mmc/marvell,orion-sdio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell orion-sdio controller

maintainers:
  - Nicolas Pitre <nico@fluxnic.net>
  - Ulf Hansson <ulf.hansson@linaro.org>

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

properties:
  compatible:
    const: marvell,orion-sdio

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    mmc@d00d4000 {
      compatible = "marvell,orion-sdio";
      reg = <0xd00d4000 0x200>;
      interrupts = <54>;
      clocks = <&gateclk 17>;
    };
+0 −16
Original line number Original line Diff line number Diff line
* Marvell orion-sdio controller

This file documents differences between the core properties in mmc.txt
and the properties used by the orion-sdio driver.

- compatible: Should be "marvell,orion-sdio"
- clocks: reference to the clock of the SDIO interface

Example:

	mvsdio@d00d4000 {
		compatible = "marvell,orion-sdio";
		reg = <0xd00d4000 0x200>;
		interrupts = <54>;
		clocks = <&gateclk 17>;
	};