Atmel/Microchip System Reset Controller
Schema identifier ($id): "http://devicetree.org/schemas/reset/atmel,at91sam9260-reset.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"
The system reset controller can be used to reset the CPU. In case of SAMA7G5 it can also reset some devices (e.g. USB PHYs).
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"atmel,at91sam9260-rstc","atmel,at91sam9g45-rstc","atmel,sama5d3-rstc","microchip,sam9x60-rstc","microchip,sama7g5-rstc"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"microchip,sama7d65-rstc"Item 2
Exact value (
const):"microchip,sama7g5-rstc"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"atmel,sama5d3-rstc"Item 2
Exact value (
const):"atmel,at91sam9g45-rstc"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"microchip,sam9x60-rstc"
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
base registers for system reset control
Item 2
registers for device specific reset control
clocks — required here #
Maximum number of items (maxItems): 1
#reset-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/at91.h>
reset-controller@fffffd00 {
compatible = "atmel,at91sam9260-rstc";
reg = <0xfffffd00 0x10>;
clocks = <&pmc PMC_TYPE_CORE PMC_SLOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)