HyperBus Memory Controller (HBMC) on TI's K3 family of SoCs

Schema identifier ($id): "http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Vignesh Raghavendra <vigneshr@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,am654-hbmc"

reg — required here #

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

true — No constraints added by this property rule.

#address-cells — required here #

true — No constraints added by this property rule.

#size-cells — required here #

true — No constraints added by this property rule.

ranges — required here #

true — No constraints added by this property rule.

mux-controls — not listed as required here #

MMIO mux controller node to select b/w OSPI and HBMC.

clocks — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

^flash@[0-1],[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): mtd-physmap.yaml

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "ranges", "clocks", "#address-cells", "#size-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

bus {
    #address-cells = <2>;
    #size-cells = <2>;

    hbmc: memory-controller@47034000 {
        compatible = "ti,am654-hbmc";
        reg = <0x0 0x47034000 0x0 0x100>,
              <0x5 0x00000000 0x1 0x0000000>;
        ranges = <0x0 0x0 0x5 0x00000000 0x4000000>, /* CS0 - 64MB */
                 <0x1 0x0 0x5 0x04000000 0x4000000>; /* CS1 - 64MB */
        clocks = <&k3_clks 102 0>;
        #address-cells = <2>;
        #size-cells = <1>;
        power-domains = <&k3_pds 55>;
        mux-controls = <&hbmc_mux 0>;

        flash@0,0 {
            compatible = "cypress,hyperflash", "cfi-flash";
            reg = <0x0 0x0 0x4000000>;
            #address-cells = <1>;
            #size-cells = <1>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page