TI OMAP SDHCI Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/ti,omap2430-sdhci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kishon Vijay Abraham I <kishon@ti.com>"
For UHS devices which require tuning, the device tree should have a cpu_thermal node which maps to the appropriate thermal zone. This is used to get the temperature of the zone during tuning.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,omap2430-sdhci", "ti,omap3-sdhci", "ti,omap4-sdhci", "ti,omap5-sdhci", "ti,dra7-sdhci", "ti,k2g-sdhci", "ti,am335-sdhci", "ti,am437-sdhci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"fck"
Item 2
Exact value (
const):"mmchsdb_fck"
dmas — not listed as required here #
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
pinctrl-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 14
Array item rules (items) #
Allowed values (
enum):"default","default-rev11","hs","sdr12","sdr12-rev11","sdr25","sdr25-rev11","sdr50","ddr50-rev11","sdr104-rev11","ddr50","sdr104","ddr_1_8v-rev11","ddr_1_8v","ddr_3_3v","hs-rev11","hs200_1_8v-rev11","hs200_1_8v","sleep"
pinctrl-0 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-1 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-2 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-3 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-4 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-5 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-6 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-7 — not listed as required here #
Maximum number of items (maxItems): 1
pinctrl-8 — not listed as required here #
Maximum number of items (maxItems): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
pbias-supply — not listed as required here #
It is used to specify the voltage regulator that provides the bias voltage for certain analog or I/O pads.
ti,non-removable — not listed as required here #
It indicates that a component is not meant to be easily removed or replaced by the user, such as an embedded battery or a non-removable storage slot like eMMC.
Value type (type): "boolean"
Deprecated (deprecated): true
clock-frequency — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
It represents the speed at which a clock signal associated with a device or bus operates, measured in Hertz (Hz). This value is crucial for configuring hardware components that require a specific clock speed.
Required in this object (required): "compatible", "reg", "interrupts"
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) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"ti,k2g-sdhci"When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
mmc@4809c000 {
compatible = "ti,dra7-sdhci";
reg = <0x4809c000 0x400>;
interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
max-frequency = <192000000>;
sdhci-caps-mask = <0x0 0x400000>;
bus-width = <4>;
vmmc-supply = <&vmmc>; /* phandle to regulator node */
dmas = <&sdma 61>, <&sdma 62>;
dma-names = "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)