Microchip Sparx5 Switch Reset Controller

Schema identifier ($id): "http://devicetree.org/schemas/reset/microchip,rst.yaml#"

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

Maintainers (maintainers): "Steen Hegelund <steen.hegelund@microchip.com>", "Lars Povlsen <lars.povlsen@microchip.com>"

The Microchip Sparx5 Switch provides reset control and implements the following
functions
  - One Time Switch Core Reset (Soft Reset)

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^reset-controller@[0-9a-f]+$"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "microchip,sparx5-switch-reset", "microchip,lan966x-switch-reset"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,lan9691-switch-reset"

Item 2

Exact value (const): "microchip,lan966x-switch-reset"

reg — required here #

Array item rules (items) #

Item 1

global control block registers

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "gcb"

#reset-cells — required here #

Exact value (const): 1

cpu-syscon — required here #

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

syscon used to access CPU reset

Required in this object (required): "compatible", "reg", "reg-names", "#reset-cells", "cpu-syscon"

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

false

Not allowed by this rule.

Examples (examples) #

reset: reset-controller@11010008 {
    compatible = "microchip,sparx5-switch-reset";
    reg = <0x11010008 0x4>;
    reg-names = "gcb";
    #reset-cells = <1>;
    cpu-syscon = <&cpu_ctrl>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page