Sunplus MMC Controller

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

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

Maintainers (maintainers): "Tony Huang <tonyhuang.sunplus@gmail.com>", "Li-hao Kuo <lhjeff911@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "sunplus,sp7021-mmc"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
mmc0: mmc@9c003b00 {
    compatible = "sunplus,sp7021-mmc";
    reg = <0x9c003b00 0x180>;
    interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clkc 0x4e>;
    resets = <&rstc 0x3e>;
    bus-width = <8>;
    max-frequency = <52000000>;
    non-removable;
    disable-wp;
    cap-mmc-highspeed;
    mmc-ddr-3_3v;
    no-sdio;
    no-sd;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) Sunplus Ltd. Co. 2021

Edit this page