Atmel SDHCI controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/atmel,sama5d2-sdhci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Aubin Constans <aubin.constans@microchip.com>", "Nicolas Ferre <nicolas.ferre@microchip.com>"
Bindings for the SDHCI controller found in Atmel/Microchip SoCs.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"atmel,sama5d2-sdhci","microchip,sam9x60-sdhci"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,sam9x7-sdhci","microchip,sama7d65-sdhci","microchip,sama7g5-sdhci"Item 2
Exact value (
const):"microchip,sam9x60-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
hclock
Item 2
multclk
Item 3
baseclk
Minimum number of items (minItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"hclock"
Item 2
Exact value (
const):"multclk"
Item 3
Exact value (
const):"baseclk"
Minimum number of items (minItems): 2
microchip,sdcal-inverted — not listed as required here #
Value type (type): "boolean"
When present, polarity on the SDCAL SoC pin is inverted. The default polarity for this signal is described in the datasheet. For instance on SAMA5D2, the pin is usually tied to the GND with a resistor and a capacitor (see "SDMMC I/O Calibration" chapter).
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sdhci-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
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/clock/at91.h>
mmc@a0000000 {
compatible = "atmel,sama5d2-sdhci";
reg = <0xa0000000 0x300>;
interrupts = <31 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&sdmmc0_hclk>, <&sdmmc0_gclk>, <&main>;
clock-names = "hclock", "multclk", "baseclk";
assigned-clocks = <&sdmmc0_gclk>;
assigned-clock-rates = <480000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)