Skip to content

Commit 9ca5a7d

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: soc: fsl: Add fsl,ls1028a-reset for reset syscon node
ls1028a has a reset module that includes reboot, reset control word, and service processor control. Add platform specific compatible string to fix the below warning. syscon@1e60000: compatible: 'anyOf' conditional failed, one must be fixed: ['syscon'] is too short 'syscon' is not one of ['al,alpine-sysfabric-service', ...] Signed-off-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent ecbfc6f commit 9ca5a7d

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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
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+

0 commit comments

Comments
 (0)