drm/bridge: Fix assignment of the of_node of the parent to aux bridge
[drm/drm-misc.git] / Documentation / devicetree / bindings / power / reset / atmel,at91sam9260-shdwc.yaml
blobf559a2cfd82ea2d732660cb67a22c32640cc9a60
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/power/reset/atmel,at91sam9260-shdwc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip AT91 SHDWC Shutdown Controller
9 maintainers:
10   - Claudiu Beznea <claudiu.beznea@microchip.com>
12 description: |
13   Microchip AT91 SHDWC shutdown controller controls the power supplies VDDIO
14   and VDDCORE and the wake-up detection on debounced input lines.
16 properties:
17   compatible:
18     enum:
19       - atmel,at91sam9260-shdwc
20       - atmel,at91sam9rl-shdwc
21       - atmel,at91sam9x5-shdwc
23   reg:
24     maxItems: 1
26   clocks:
27     maxItems: 1
29   atmel,wakeup-mode:
30     description: operation mode of the wakeup mode
31     $ref: /schemas/types.yaml#/definitions/string
32     enum: [ none, high, low, any ]
34   atmel,wakeup-counter:
35     description: counter on wake-up 0
36     $ref: /schemas/types.yaml#/definitions/uint32
37     minimum: 0
38     maximum: 15
40   atmel,wakeup-rtt-timer:
41     description: enable real-time timer wake-up
42     type: boolean
44   atmel,wakeup-rtc-timer:
45     description: enable real-time clock wake-up
46     type: boolean
48 required:
49   - compatible
50   - reg
51   - clocks
53 allOf:
54   - if:
55       properties:
56         compatible:
57           contains:
58             const: atmel,at91sam9x5-shdwc
59     then:
60       properties:
61         atmel,wakeup-rtt-timer: false
63   - if:
64       properties:
65         compatible:
66           contains:
67             const: atmel,at91sam9260-shdwc
68     then:
69       properties:
70         atmel,wakeup-rtc-timer: false
72 additionalProperties: false
74 examples:
75   - |
76     shdwc: poweroff@fffffd10 {
77         compatible = "atmel,at91sam9260-shdwc";
78         reg = <0xfffffd10 0x10>;
79         clocks = <&clk32k>;
80     };
82 ...