xref: /freebsd-src/sys/contrib/device-tree/Bindings/reset/ti,tps380x-reset.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1*aa1a8ff2SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/reset/ti,tps380x-reset.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: TI TPS380x reset controller
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Marco Felsch <kernel@pengutronix.de>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadotdescription: |
13b97ee269SEmmanuel Vadot  The TPS380x family [1] of supervisory circuits monitor supply voltages to
14b97ee269SEmmanuel Vadot  provide circuit initialization and timing supervision. The devices assert a
15b97ee269SEmmanuel Vadot  RESET signal if the voltage drops below a preset threshold or upon a manual
16b97ee269SEmmanuel Vadot  reset input (MR). The RESET output remains asserted for the factory
17b97ee269SEmmanuel Vadot  programmed delay after the voltage return above its threshold or after the
18b97ee269SEmmanuel Vadot  manual reset input is released.
19b97ee269SEmmanuel Vadot
20b97ee269SEmmanuel Vadot  [1] https://www.ti.com/product/TPS3801
21b97ee269SEmmanuel Vadot
22b97ee269SEmmanuel Vadotproperties:
23b97ee269SEmmanuel Vadot  compatible:
24b97ee269SEmmanuel Vadot    enum:
25b97ee269SEmmanuel Vadot      - ti,tps3801
26b97ee269SEmmanuel Vadot
27b97ee269SEmmanuel Vadot  reset-gpios:
28b97ee269SEmmanuel Vadot    maxItems: 1
29b97ee269SEmmanuel Vadot    description: Reference to the GPIO connected to the MR pin.
30b97ee269SEmmanuel Vadot
31b97ee269SEmmanuel Vadot  "#reset-cells":
32b97ee269SEmmanuel Vadot    const: 0
33b97ee269SEmmanuel Vadot
34b97ee269SEmmanuel Vadotrequired:
35b97ee269SEmmanuel Vadot  - compatible
36b97ee269SEmmanuel Vadot  - reset-gpios
37b97ee269SEmmanuel Vadot  - "#reset-cells"
38b97ee269SEmmanuel Vadot
39b97ee269SEmmanuel VadotadditionalProperties: false
40b97ee269SEmmanuel Vadot
41b97ee269SEmmanuel Vadotexamples:
42b97ee269SEmmanuel Vadot  - |
43b97ee269SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
44b97ee269SEmmanuel Vadot    reset: reset-controller {
45b97ee269SEmmanuel Vadot        compatible = "ti,tps3801";
46b97ee269SEmmanuel Vadot        #reset-cells = <0>;
47b97ee269SEmmanuel Vadot        reset-gpios = <&gpio3 2 GPIO_ACTIVE_LOW>;
48b97ee269SEmmanuel Vadot    };
49b97ee269SEmmanuel Vadot...
50