Microchip Sparx5 Mobile Storage Host Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/microchip,dw-sparx5-sdhci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mmc-controller.yaml
Maintainers (maintainers): "Lars Povlsen <lars.povlsen@microchip.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,dw-sparx5-sdhci"
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
Handle to "core" clock for the sdhci controller.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
microchip,clock-delay — not listed as required here #
Delay clock to card to meet setup time requirements. Each step increase by 1.25ns.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 15
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) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/microchip,sparx5.h>
sdhci0: mmc@600800000 {
compatible = "microchip,dw-sparx5-sdhci";
reg = <0x00800000 0x1000>;
pinctrl-0 = <&emmc_pins>;
pinctrl-names = "default";
clocks = <&clks CLK_ID_AUX1>;
clock-names = "core";
assigned-clocks = <&clks CLK_ID_AUX1>;
assigned-clock-rates = <800000000>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
bus-width = <8>;
microchip,clock-delay = <10>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 15: Everything else is described in the common file