83 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Microchip AT91 SHDWC Shutdown Controller8 9maintainers:10 - Claudiu Beznea <claudiu.beznea@microchip.com>11 12description: |13 Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO14 and VDDCORE and the wake-up detection on debounced input lines.15 16properties:17 compatible:18 enum:19 - atmel,at91sam9260-shdwc20 - atmel,at91sam9rl-shdwc21 - atmel,at91sam9x5-shdwc22 23 reg:24 maxItems: 125 26 clocks:27 maxItems: 128 29 atmel,wakeup-mode:30 description: operation mode of the wakeup mode31 $ref: /schemas/types.yaml#/definitions/string32 enum: [ none, high, low, any ]33 34 atmel,wakeup-counter:35 description: counter on wake-up 036 $ref: /schemas/types.yaml#/definitions/uint3237 minimum: 038 maximum: 1539 40 atmel,wakeup-rtt-timer:41 description: enable real-time timer wake-up42 type: boolean43 44 atmel,wakeup-rtc-timer:45 description: enable real-time clock wake-up46 type: boolean47 48required:49 - compatible50 - reg51 - clocks52 53allOf:54 - if:55 properties:56 compatible:57 contains:58 const: atmel,at91sam9x5-shdwc59 then:60 properties:61 atmel,wakeup-rtt-timer: false62 63 - if:64 properties:65 compatible:66 contains:67 const: atmel,at91sam9260-shdwc68 then:69 properties:70 atmel,wakeup-rtc-timer: false71 72additionalProperties: false73 74examples:75 - |76 shdwc: poweroff@fffffd10 {77 compatible = "atmel,at91sam9260-shdwc";78 reg = <0xfffffd10 0x10>;79 clocks = <&clk32k>;80 };81 82...83