1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/power/reset 4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Microchip AT91 SAMA5D2 SHDWC Shutdown C 7 title: Microchip AT91 SAMA5D2 SHDWC Shutdown Controller 8 8 9 maintainers: 9 maintainers: 10 - Claudiu Beznea <claudiu.beznea@microchip.co 10 - Claudiu Beznea <claudiu.beznea@microchip.com> 11 11 12 description: | 12 description: | 13 Microchip AT91 SHDWC shutdown controller con 13 Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO 14 and VDDCORE and the wake-up detection on deb 14 and VDDCORE and the wake-up detection on debounced input lines. 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 oneOf: 18 oneOf: 19 - items: 19 - items: 20 - const: microchip,sama7g5-shdwc 20 - const: microchip,sama7g5-shdwc 21 - const: syscon 21 - const: syscon 22 - enum: 22 - enum: 23 - atmel,sama5d2-shdwc 23 - atmel,sama5d2-shdwc 24 - microchip,sam9x60-shdwc 24 - microchip,sam9x60-shdwc 25 25 26 reg: 26 reg: 27 maxItems: 1 27 maxItems: 1 28 28 29 clocks: 29 clocks: 30 maxItems: 1 30 maxItems: 1 31 31 32 "#address-cells": 32 "#address-cells": 33 const: 1 33 const: 1 34 34 35 "#size-cells": 35 "#size-cells": 36 const: 0 36 const: 0 37 37 38 debounce-delay-us: 38 debounce-delay-us: 39 description: 39 description: 40 Minimum wake-up inputs debouncer period 40 Minimum wake-up inputs debouncer period in microseconds. It is usually a 41 board-related property. 41 board-related property. 42 42 43 atmel,wakeup-rtc-timer: 43 atmel,wakeup-rtc-timer: 44 description: enable real-time clock wake-u 44 description: enable real-time clock wake-up 45 type: boolean 45 type: boolean 46 46 47 atmel,wakeup-rtt-timer: 47 atmel,wakeup-rtt-timer: 48 description: enable real-time timer wake-u 48 description: enable real-time timer wake-up 49 type: boolean 49 type: boolean 50 50 51 patternProperties: 51 patternProperties: 52 "^input@[0-15]$": 52 "^input@[0-15]$": 53 description: 53 description: 54 Wake-up input nodes. These are usually d 54 Wake-up input nodes. These are usually described in the "board" part of 55 the Device Tree. Note also that input 0 55 the Device Tree. Note also that input 0 is linked to the wake-up pin and 56 is frequently used. 56 is frequently used. 57 type: object 57 type: object 58 properties: 58 properties: 59 reg: 59 reg: 60 description: contains the wake-up inpu 60 description: contains the wake-up input index 61 minimum: 0 61 minimum: 0 62 maximum: 15 62 maximum: 15 63 63 64 atmel,wakeup-active-high: 64 atmel,wakeup-active-high: 65 description: 65 description: 66 The corresponding wake-up input desc 66 The corresponding wake-up input described by the child forces the 67 wake-up of the core power supply on 67 wake-up of the core power supply on a high level. The default is to 68 be active low. 68 be active low. 69 type: boolean 69 type: boolean 70 70 71 required: 71 required: 72 - reg 72 - reg 73 73 74 additionalProperties: false 74 additionalProperties: false 75 75 76 required: 76 required: 77 - compatible 77 - compatible 78 - reg 78 - reg 79 - clocks 79 - clocks 80 80 81 allOf: 81 allOf: 82 - if: 82 - if: 83 properties: 83 properties: 84 compatible: 84 compatible: 85 contains: 85 contains: 86 const: atmel,sama5d2-shdwc 86 const: atmel,sama5d2-shdwc 87 then: 87 then: 88 properties: 88 properties: 89 atmel,wakeup-rtt-timer: false 89 atmel,wakeup-rtt-timer: false 90 90 91 additionalProperties: false 91 additionalProperties: false 92 92 93 examples: 93 examples: 94 - | 94 - | 95 shdwc: poweroff@f8048010 { 95 shdwc: poweroff@f8048010 { 96 compatible = "atmel,sama5d2-shdwc"; 96 compatible = "atmel,sama5d2-shdwc"; 97 reg = <0xf8048010 0x10>; 97 reg = <0xf8048010 0x10>; 98 clocks = <&clk32k>; 98 clocks = <&clk32k>; 99 #address-cells = <1>; 99 #address-cells = <1>; 100 #size-cells = <0>; 100 #size-cells = <0>; 101 atmel,wakeup-rtc-timer; 101 atmel,wakeup-rtc-timer; 102 debounce-delay-us = <976>; 102 debounce-delay-us = <976>; 103 103 104 input@0 { 104 input@0 { 105 reg = <0>; 105 reg = <0>; 106 }; 106 }; 107 107 108 input@1 { 108 input@1 { 109 reg = <1>; 109 reg = <1>; 110 atmel,wakeup-active-high; 110 atmel,wakeup-active-high; 111 }; 111 }; 112 }; 112 }; 113 113 114 ... 114 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.