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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/watchdog/fsl-imx-wdt.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 OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Freescale i.MX Watchdog Timer (WDT) Controller
  8 
  9 maintainers:
 10   - Shawn Guo <shawnguo@kernel.org>
 11   - Sascha Hauer <s.hauer@pengutronix.de>
 12   - Fabio Estevam <festevam@gmail.com>
 13 
 14 properties:
 15   compatible:
 16     oneOf:
 17       - const: fsl,imx21-wdt
 18       - items:
 19           - enum:
 20               - fsl,imx25-wdt
 21               - fsl,imx27-wdt
 22               - fsl,imx31-wdt
 23               - fsl,imx35-wdt
 24               - fsl,imx50-wdt
 25               - fsl,imx51-wdt
 26               - fsl,imx53-wdt
 27               - fsl,imx6q-wdt
 28               - fsl,imx6sl-wdt
 29               - fsl,imx6sll-wdt
 30               - fsl,imx6sx-wdt
 31               - fsl,imx6ul-wdt
 32               - fsl,imx7d-wdt
 33               - fsl,imx8mm-wdt
 34               - fsl,imx8mn-wdt
 35               - fsl,imx8mp-wdt
 36               - fsl,imx8mq-wdt
 37               - fsl,ls1012a-wdt
 38               - fsl,ls1043a-wdt
 39               - fsl,vf610-wdt
 40           - const: fsl,imx21-wdt
 41 
 42   reg:
 43     maxItems: 1
 44 
 45   interrupts:
 46     maxItems: 1
 47 
 48   clocks:
 49     maxItems: 1
 50 
 51   fsl,ext-reset-output:
 52     $ref: /schemas/types.yaml#/definitions/flag
 53     description: |
 54       If present, the watchdog device is configured to assert its
 55       external reset (WDOG_B) instead of issuing a software reset.
 56 
 57   fsl,suspend-in-wait:
 58     $ref: /schemas/types.yaml#/definitions/flag
 59     description: |
 60       If present, the watchdog device is suspended in WAIT mode
 61       (Suspend-to-Idle). Only supported on certain devices.
 62 
 63 required:
 64   - compatible
 65   - interrupts
 66   - reg
 67 
 68 allOf:
 69   - $ref: watchdog.yaml#
 70   - if:
 71       not:
 72         properties:
 73           compatible:
 74             contains:
 75               enum:
 76                 - fsl,imx25-wdt
 77                 - fsl,imx35-wdt
 78                 - fsl,imx50-wdt
 79                 - fsl,imx51-wdt
 80                 - fsl,imx53-wdt
 81                 - fsl,imx6q-wdt
 82                 - fsl,imx6sl-wdt
 83                 - fsl,imx6sll-wdt
 84                 - fsl,imx6sx-wdt
 85                 - fsl,imx6ul-wdt
 86                 - fsl,imx7d-wdt
 87                 - fsl,imx8mm-wdt
 88                 - fsl,imx8mn-wdt
 89                 - fsl,imx8mp-wdt
 90                 - fsl,imx8mq-wdt
 91                 - fsl,vf610-wdt
 92     then:
 93       properties:
 94         fsl,suspend-in-wait: false
 95 
 96 unevaluatedProperties: false
 97 
 98 examples:
 99   - |
100     #include <dt-bindings/interrupt-controller/arm-gic.h>
101     #include <dt-bindings/clock/imx6qdl-clock.h>
102 
103     watchdog@20bc000 {
104         compatible = "fsl,imx21-wdt";
105         reg = <0x020bc000 0x4000>;
106         interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
107         clocks = <&clks IMX6QDL_CLK_IPG>;
108     };
109 
110 ...

~ [ 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