xref: /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/fsl,ls1028a-reset.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas//soc/fsl/fsl,ls1028a-reset.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Freescale Layerscape Reset Registers Module
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - Frank Li
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotdescription:
13*0e8011faSEmmanuel Vadot  Reset Module includes chip reset, service processor control and Reset Control
14*0e8011faSEmmanuel Vadot  Word (RCW) status.
15*0e8011faSEmmanuel Vadot
16*0e8011faSEmmanuel Vadotproperties:
17*0e8011faSEmmanuel Vadot  $nodename:
18*0e8011faSEmmanuel Vadot    pattern: "^syscon@[0-9a-f]+$"
19*0e8011faSEmmanuel Vadot
20*0e8011faSEmmanuel Vadot  compatible:
21*0e8011faSEmmanuel Vadot    items:
22*0e8011faSEmmanuel Vadot      - enum:
23*0e8011faSEmmanuel Vadot          - fsl,ls1028a-reset
24*0e8011faSEmmanuel Vadot      - const: syscon
25*0e8011faSEmmanuel Vadot      - const: simple-mfd
26*0e8011faSEmmanuel Vadot
27*0e8011faSEmmanuel Vadot  reg:
28*0e8011faSEmmanuel Vadot    maxItems: 1
29*0e8011faSEmmanuel Vadot
30*0e8011faSEmmanuel Vadot  little-endian: true
31*0e8011faSEmmanuel Vadot
32*0e8011faSEmmanuel Vadot  reboot:
33*0e8011faSEmmanuel Vadot    $ref: /schemas/power/reset/syscon-reboot.yaml#
34*0e8011faSEmmanuel Vadot    unevaluatedProperties: false
35*0e8011faSEmmanuel Vadot
36*0e8011faSEmmanuel Vadotrequired:
37*0e8011faSEmmanuel Vadot  - compatible
38*0e8011faSEmmanuel Vadot  - reg
39*0e8011faSEmmanuel Vadot  - reboot
40*0e8011faSEmmanuel Vadot
41*0e8011faSEmmanuel VadotadditionalProperties: false
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel Vadotexamples:
44*0e8011faSEmmanuel Vadot  - |
45*0e8011faSEmmanuel Vadot    syscon@1e60000 {
46*0e8011faSEmmanuel Vadot        compatible = "fsl,ls1028a-reset", "syscon", "simple-mfd";
47*0e8011faSEmmanuel Vadot        reg = <0x1e60000 0x10000>;
48*0e8011faSEmmanuel Vadot        little-endian;
49*0e8011faSEmmanuel Vadot
50*0e8011faSEmmanuel Vadot        reboot {
51*0e8011faSEmmanuel Vadot            compatible = "syscon-reboot";
52*0e8011faSEmmanuel Vadot            offset = <0>;
53*0e8011faSEmmanuel Vadot            mask = <0x02>;
54*0e8011faSEmmanuel Vadot        };
55*0e8011faSEmmanuel Vadot    };
56*0e8011faSEmmanuel Vadot
57