| 1 |
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/mailbox/qcom,cpucp-mbox.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Qualcomm Technologies, Inc. CPUCP Mailbox Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Sibi Sankar <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
The CPUSS Control Processor (CPUCP) mailbox controller enables communication |
| 14 |
between AP and CPUCP by acting as a doorbell between them. |
| 15 |
|
| 16 |
properties: |
| 17 |
compatible: |
| 18 |
oneOf: |
| 19 |
- items: |
| 20 |
- enum: |
| 21 |
- qcom,glymur-cpucp-mbox |
| 22 |
- qcom,kaanapali-cpucp-mbox |
| 23 |
- qcom,sm8750-cpucp-mbox |
| 24 |
- const: qcom,x1e80100-cpucp-mbox |
| 25 |
- enum: |
| 26 |
- qcom,x1e80100-cpucp-mbox |
| 27 |
|
| 28 |
reg: |
| 29 |
items: |
| 30 |
- description: CPUCP rx register region |
| 31 |
- description: CPUCP tx register region |
| 32 |
|
| 33 |
interrupts: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
"#mbox-cells": |
| 37 |
const: 1 |
| 38 |
|
| 39 |
required: |
| 40 |
- compatible |
| 41 |
- reg |
| 42 |
- interrupts |
| 43 |
- "#mbox-cells" |
| 44 |
|
| 45 |
additionalProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
#include <dt-bindings/interrupt-controller/arm-gic.h> |
| 50 |
|
| 51 |
mailbox@17430000 { |
| 52 |
compatible = "qcom,x1e80100-cpucp-mbox"; |
| 53 |
reg = <0x17430000 0x10000>, <0x18830000 0x10000>; |
| 54 |
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
| 55 |
#mbox-cells = <1>; |
| 56 |
}; |