Spreadtrum mailbox controller
Schema identifier ($id): "http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sprd,sc9860-mailbox", "sprd,sc9863a-mailbox", "sprd,ums9230-mailbox"
reg — required here #
Array item rules (items) #
Item 1
inbox registers' base address
Item 2
outbox registers' base address
interrupts — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
interrupt-names — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"inbox"
Item 2
Exact value (
const):"outbox"
Item 3
Exact value (
const):"supp-outbox"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"enable"
#mbox-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names", "#mbox-cells", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
mailbox: mailbox@400a0000 {
compatible = "sprd,sc9860-mailbox";
reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>;
#mbox-cells = <1>;
clock-names = "enable";
clocks = <&aon_gate 53>;
interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "inbox", "outbox";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)