TI AM654 MMC Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/sdhci-am654.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ulf Hansson <ulf.hansson@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):sdhci-common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"ti,am62-sdhci","ti,am64-sdhci-4bit","ti,am64-sdhci-8bit","ti,am654-sdhci-5.1","ti,j721e-sdhci-4bit","ti,j721e-sdhci-8bit"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"ti,j7200-sdhci-8bit"Item 2
Exact value (
const):"ti,j721e-sdhci-8bit"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"ti,j7200-sdhci-4bit"Item 2
Exact value (
const):"ti,j721e-sdhci-4bit"
reg — required here #
Maximum number of items (maxItems): 2
interrupts — required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Handles to input clocks
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"clk_ahb"
Item 2
Exact value (
const):"clk_xin"
dma-coherent — not listed as required here #
true — No constraints added by this property rule.
ti,otap-del-sel-legacy — required here #
Output tap delay for SD/MMC legacy timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-mmc-hs — not listed as required here #
Output tap delay for MMC high speed timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-sd-hs — not listed as required here #
Output tap delay for SD high speed timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-sdr12 — not listed as required here #
Output tap delay for SD UHS SDR12 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-sdr25 — not listed as required here #
Output tap delay for SD UHS SDR25 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-sdr50 — not listed as required here #
Output tap delay for SD UHS SDR50 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-sdr104 — not listed as required here #
Output tap delay for SD UHS SDR104 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-ddr50 — not listed as required here #
Output tap delay for SD UHS DDR50 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-ddr52 — not listed as required here #
Output tap delay for eMMC DDR52 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-hs200 — not listed as required here #
Output tap delay for eMMC HS200 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,otap-del-sel-hs400 — not listed as required here #
Output tap delay for eMMC HS400 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,itap-del-sel-legacy — not listed as required here #
Input tap delay for SD/MMC legacy timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-mmc-hs — not listed as required here #
Input tap delay for MMC high speed timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-sd-hs — not listed as required here #
Input tap delay for SD high speed timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-sdr12 — not listed as required here #
Input tap delay for SD UHS SDR12 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-sdr25 — not listed as required here #
Input tap delay for SD UHS SDR25 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-ddr50 — not listed as required here #
Input tap delay for MMC DDR50 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,itap-del-sel-ddr52 — not listed as required here #
Input tap delay for MMC DDR52 timing
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 31
ti,trm-icp — not listed as required here #
DLL trim select
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
ti,driver-strength-ohm — not listed as required here #
DLL drive strength in ohms
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 33, 40, 50, 66, 100
ti,strobe-sel — not listed as required here #
strobe select delay for HS400 speed mode.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ti,clkbuf-sel — not listed as required here #
Clock Delay Buffer Select
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ti,fails-without-test-cd — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
When present, indicates that the CD line is not connected and the controller is required to be forced into Test mode to set the TESTCD bit.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "ti,otap-del-sel-legacy"
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>
bus {
#address-cells = <2>;
#size-cells = <2>;
mmc0: mmc@4f80000 {
compatible = "ti,am654-sdhci-5.1";
reg = <0x0 0x4f80000 0x0 0x260>, <0x0 0x4f90000 0x0 0x134>;
power-domains = <&k3_pds 47>;
clocks = <&k3_clks 47 0>, <&k3_clks 47 1>;
clock-names = "clk_ahb", "clk_xin";
interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
sdhci-caps-mask = <0x80000007 0x0>;
mmc-ddr-1_8v;
ti,otap-del-sel-legacy = <0x0>;
ti,otap-del-sel-mmc-hs = <0x0>;
ti,otap-del-sel-ddr52 = <0x5>;
ti,otap-del-sel-hs200 = <0x5>;
ti,otap-del-sel-hs400 = <0x0>;
ti,itap-del-sel-legacy = <0x10>;
ti,itap-del-sel-mmc-hs = <0xa>;
ti,itap-del-sel-ddr52 = <0x3>;
ti,trm-icp = <0x8>;
};
};
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) 2020 Texas Instruments Incorporated - http://www.ti.com/
Line 55: PHY output tap delays:
Line 56: Used to delay the data valid window and align it to the sampling clock.
Line 57: Binding needs to be provided for each supported speed mode otherwise the
Line 58: corresponding mode will be disabled.
Line 126: PHY input tap delays:
Line 127: Used to delay the data valid window and align it to the sampling clock for
Line 128: modes that don't support tuning