1# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Peripheral Authentication Service Common Properties
8
9maintainers:
10  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11
12description:
13  Common properties of Qualcomm SoCs Peripheral Authentication Service.
14
15properties:
16  clocks:
17    minItems: 1
18    maxItems: 2
19
20  clock-names:
21    minItems: 1
22    maxItems: 2
23
24  interconnects:
25    maxItems: 1
26
27  interrupts:
28    minItems: 5
29    items:
30      - description: Watchdog interrupt
31      - description: Fatal interrupt
32      - description: Ready interrupt
33      - description: Handover interrupt
34      - description: Stop acknowledge interrupt
35      - description: Shutdown acknowledge interrupt
36
37  interrupt-names:
38    minItems: 5
39    items:
40      - const: wdog
41      - const: fatal
42      - const: ready
43      - const: handover
44      - const: stop-ack
45      - const: shutdown-ack
46
47  power-domains:
48    minItems: 1
49    maxItems: 3
50
51  power-domain-names:
52    minItems: 1
53    maxItems: 3
54
55  qcom,smem-states:
56    $ref: /schemas/types.yaml#/definitions/phandle-array
57    description: States used by the AP to signal the Hexagon core
58    items:
59      - description: Stop the modem
60
61  qcom,smem-state-names:
62    description: The names of the state bits used for SMP2P output
63    items:
64      - const: stop
65
66  smd-edge:
67    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
68    description:
69      Qualcomm Shared Memory subnode which represents communication edge,
70      channels and devices related to the ADSP.
71    unevaluatedProperties: false
72
73  glink-edge:
74    $ref: /schemas/remoteproc/qcom,glink-edge.yaml#
75    description:
76      Qualcomm G-Link subnode which represents communication edge, channels
77      and devices related to the ADSP.
78    unevaluatedProperties: false
79
80required:
81  - clocks
82  - clock-names
83  - interrupts
84  - interrupt-names
85  - qcom,smem-states
86  - qcom,smem-state-names
87
88additionalProperties: true
89