Microchip AT91 SAMA5D2 SHDWC Shutdown Controller
Schema identifier ($id): "http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Claudiu Beznea <claudiu.beznea@microchip.com>"
Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO and VDDCORE and the wake-up detection on debounced input lines.
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):"microchip,sama7g5-shdwc"Item 3
Exact value (
const):"syscon"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"microchip,sama7g5-shdwc"Item 2
Exact value (
const):"syscon"
Rule 3
Allowed values (
enum):"atmel,sama5d2-shdwc","microchip,sam9x60-shdwc"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"microchip,sam9x7-shdwc"Item 2
Exact value (
const):"microchip,sam9x60-shdwc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
debounce-delay-us — not listed as required here #
Minimum wake-up inputs debouncer period in microseconds. It is usually a board-related property.
atmel,wakeup-rtc-timer — not listed as required here #
enable real-time clock wake-up
Value type (type): "boolean"
atmel,wakeup-rtt-timer — not listed as required here #
enable real-time timer wake-up
Value type (type): "boolean"
Properties matching a name pattern (patternProperties) #
^input@[0-15]$ — name matches this regular expression #
Wake-up input nodes. These are usually described in the "board" part of the Device Tree. Note also that input 0 is linked to the wake-up pin and is frequently used.
Value type (type): "object"
Properties and child nodes (properties) #
reg — required here
contains the wake-up input index
Minimum value (minimum): 0
Maximum value (maximum): 15
atmel,wakeup-active-high — not listed as required here
The corresponding wake-up input described by the child forces the wake-up of the core power supply on a high level. The default is to be active low.
Value type (type): "boolean"
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
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)Exact value (
const):"atmel,sama5d2-shdwc"When the condition matches (
then) #Properties and child nodes (
properties)
atmel,wakeup-rtt-timer— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
shdwc: poweroff@f8048010 {
compatible = "atmel,sama5d2-shdwc";
reg = <0xf8048010 0x10>;
clocks = <&clk32k>;
#address-cells = <1>;
#size-cells = <0>;
atmel,wakeup-rtc-timer;
debounce-delay-us = <976>;
input@0 {
reg = <0>;
};
input@1 {
reg = <1>;
atmel,wakeup-active-high;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)