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