Amlogic Meson SDHC controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/amlogic,meson-mx-sdhc.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): "Martin Blumenstingl <martin.blumenstingl@googlemail.com>"
The SDHC MMC host controller on Amlogic SoCs provides an eMMC and MMC card interface with 1/4/8-bit bus width. It supports eMMC spec 4.4x/4.5x including HS200 (up to 100MHz clock).
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"amlogic,meson8-sdhc","amlogic,meson8b-sdhc","amlogic,meson8m2-sdhc"
Item 2
Exact value (
const):"amlogic,meson-mx-sdhc"
reg — required here #
Minimum number of items (minItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
clocks — required here #
Minimum number of items (minItems): 5
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"clkin0"
Item 2
Exact value (
const):"clkin1"
Item 3
Exact value (
const):"clkin2"
Item 4
Exact value (
const):"clkin3"
Item 5
Exact value (
const):"pclk"
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/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
sdhc: mmc@8e00 {
compatible = "amlogic,meson8-sdhc", "amlogic,meson-mx-sdhc";
reg = <0x8e00 0x42>;
interrupts = <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>;
clocks = <&xtal>,
<&fclk_div4>,
<&fclk_div3>,
<&fclk_div5>,
<&sdhc_pclk>;
clock-names = "clkin0", "clkin1", "clkin2", "clkin3", "pclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)