~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/power/reset/atmel,sama5d2-shdwc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php