SpacemiT SDHCI Controller

Schema identifier ($id): "http://devicetree.org/schemas/mmc/spacemit,sdhci.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yixun Lan <dlan@gentoo.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): mmc-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "spacemit,k1-sdhci"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

core clock, used by internal controller

Item 2

io clock, output for SD, SDIO, eMMC device

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "io"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

mmc@d4281000 {
  compatible = "spacemit,k1-sdhci";
  reg = <0xd4281000 0x200>;
  interrupts = <101>;
  interrupt-parent = <&plic>;
  clocks = <&clk_apmu 10>, <&clk_apmu 13>;
  clock-names = "core", "io";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page