Lines Matching +full:reset +full:- +full:mask
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/aspeed,ast2400-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andrew Jeffery <andrew@codeconstruct.com.au>
15 - aspeed,ast2400-wdt
16 - aspeed,ast2500-wdt
17 - aspeed,ast2600-wdt
29 aspeed,reset-type:
32 - cpu
33 - soc
34 - system
35 - none
39 reset when a timeout occcurs.
41 Specifying 'cpu' will only reset the processor on a timeout event.
43 Specifying 'soc' will reset a configurable subset of the SoC's controllers
45 untouched. The set of SoC controllers to reset may be specified via the
46 aspeed,reset-mask property if the node has the aspeed,ast2500-wdt or
47 aspeed,ast2600-wdt compatible.
49 Specifying 'system' will reset all controllers on a timeout event, as if
52 Specifying 'none' will cause the timeout event to have no reset effect.
53 Another watchdog engine on the chip must be used for chip reset operations.
55 aspeed,alt-boot:
61 aspeed,external-signal:
67 aspeed,ext-pulse-duration:
73 aspeed,ext-push-pull:
76 If aspeed,external-signal is specified in the node, set the external
77 signal pin's drive type to push-pull. If aspeed,ext-push-pull is not
78 specified then the pin is configured as open-drain.
80 aspeed,ext-active-high:
83 If both aspeed,external-signal and aspeed,ext-push-pull are specified in
84 the node, set the pulse polarity to active-high. If aspeed,ext-active-high
85 is not specified then the pin is configured as active-low.
87 aspeed,reset-mask:
88 $ref: /schemas/types.yaml#/definitions/uint32-array
92 A bitmask indicating which peripherals will be reset if the watchdog
94 the AST2500_WDT_RESET_* macros; on AST2600 SoCs this should be a two-word
99 - compatible
100 - reg
103 - if:
105 - required:
106 - aspeed,ext-push-pull
107 - required:
108 - aspeed,ext-active-high
109 - required:
110 - aspeed,reset-mask
115 - aspeed,ast2500-wdt
116 - aspeed,ast2600-wdt
117 - if:
119 - aspeed,ext-active-high
122 - aspeed,ext-push-pull
127 - |
129 compatible = "aspeed,ast2400-wdt";
131 aspeed,reset-type = "system";
132 aspeed,external-signal;
134 - |
135 #include <dt-bindings/watchdog/aspeed-wdt.h>
137 compatible = "aspeed,ast2600-wdt";
139 aspeed,reset-type = "soc";
140 aspeed,reset-mask = <AST2600_WDT_RESET1_DEFAULT