Broadcom cable/DSL/settop platforms

Schema identifier ($id): "http://devicetree.org/schemas/mips/brcm/soc.yaml#"

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

Maintainers (maintainers): "Florian Fainelli <f.fainelli@gmail.com>"

Boards Broadcom cable/DSL/settop SoC shall have the following properties. The experimental -viper variants are for running Linux on the 3384's BMIPS4355 cable modem CPU instead of the BMIPS5000 application processor.

Properties and child nodes (properties) #

$nodename — not listed as required here #

Exact value (const): "/"

compatible — not listed as required here #

Allowed values (enum): "brcm,bcm3368", "brcm,bcm3384", "brcm,bcm33843", "brcm,bcm3384-viper", "brcm,bcm33843-viper", "brcm,bcm6328", "brcm,bcm6358", "brcm,bcm6362", "brcm,bcm6368", "brcm,bcm63168", "brcm,bcm63268", "brcm,bcm7125", "brcm,bcm7346", "brcm,bcm7358", "brcm,bcm7360", "brcm,bcm7362", "brcm,bcm7420", "brcm,bcm7425"

cpus — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

mips-hpt-frequency — required here

MIPS counter high precision timer frequency. This is common to all CPUs in the system so it lives under the "cpus" node.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

brcm,bmips-cbr-reg — not listed as required here

Reference address of the CBR. Some SoC suffer from a BUG where CBR(Core Base Register) address might be badly or never initialized by the Bootloader or reading it from co-processor registers, if the system boots from secondary CPU, results in invalid address. The CBR address is always the same on the SoC hence it can be provided in DT to handle these broken case.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Properties matching a name pattern (patternProperties) #

^cpu@[0-9]$ — name matches this regular expression

Value type (type): "object"

Shared schema rule ($ref): /schemas/mips/cpus.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Required in this object (required): "mips-hpt-frequency"

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "brcm,bcm6358", "brcm,bcm6368"

When the condition matches (then) #

Properties and child nodes (properties) #

cpus — not listed as required here #

Required in this object (required): "brcm,bmips-cbr-reg"

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

true

Allowed by this rule.

Examples (examples) #

/ {
    compatible = "brcm,bcm3368";
    #address-cells = <1>;
    #size-cells = <1>;
    model = "Broadcom 3368";

    cpus {
        #address-cells = <1>;
        #size-cells = <0>;

        mips-hpt-frequency = <150000000>;

        cpu@0 {
            compatible = "brcm,bmips4350";
            device_type = "cpu";
            reg = <0>;
        };

        cpu@1 {
            compatible = "brcm,bmips4350";
            device_type = "cpu";
            reg = <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