Broadcom BRCMSTB/BMIPS SDHCI Controller
Schema identifier ($id): "http://devicetree.org/schemas/mmc/brcm,sdhci-brcmstb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Al Cooper <alcooperx@gmail.com>", "Florian Fainelli <f.fainelli@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"brcm,bcm7445-sdhci"Item 3
Exact value (
const):"brcm,sdhci-brcmstb"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"brcm,bcm2712-sdhci","brcm,bcm72116-sdhci","brcm,bcm74165b0-sdhci","brcm,bcm7445-sdhci","brcm,bcm7425-sdhci","brcm,bcm74371-sdhci"Item 2
Exact value (
const):"brcm,sdhci-brcmstb"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"host"
Item 2
Exact value (
const):"cfg"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
handle to core clock for the sdhci controller
Item 2
handle to improved 150Mhz clock for sdhci controller (Optional clock)
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"sw_sdio"
Item 2
Exact value (
const):"sdio_freq"
clock-frequency — not listed as required here #
Maximum operating frequency of sdio_freq sdhci controller clock
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 100000000
Maximum value (maximum): 150000000
sdhci,auto-cmd12 — not listed as required here #
Value type (type): "boolean"
Specifies that controller should use auto CMD12
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)
clock-names— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"sdio_freq"When the condition matches (
then) #
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) #
mmc@84b0000 {
compatible = "brcm,bcm7216-sdhci",
"brcm,bcm7445-sdhci",
"brcm,sdhci-brcmstb";
reg = <0x84b0000 0x260>, <0x84b0300 0x200>;
reg-names = "host", "cfg";
sd-uhs-sdr50;
sd-uhs-ddr50;
sd-uhs-sdr104;
sdhci,auto-cmd12;
interrupts = <0x0 0x26 0x4>;
clocks = <&scmi_clk 245>;
clock-names = "sw_sdio";
};
mmc@84b1000 {
compatible = "brcm,bcm7216-sdhci",
"brcm,bcm7445-sdhci",
"brcm,sdhci-brcmstb";
reg = <0x84b1000 0x260>, <0x84b1300 0x200>;
reg-names = "host", "cfg";
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
mmc-hs400-enhanced-strobe;
supports-cqe;
non-removable;
bus-width = <0x8>;
interrupts = <0x0 0x27 0x4>;
clocks = <&scmi_clk 245>;
clock-names = "sw_sdio";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 52: Optional clock