1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/mailbox/spr 4 $id: http://devicetree.org/schemas/mailbox/sprd-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Spreadtrum mailbox controller 7 title: Spreadtrum mailbox controller 8 8 9 maintainers: 9 maintainers: 10 - Orson Zhai <orsonzhai@gmail.com> 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 13 13 14 properties: 14 properties: 15 compatible: 15 compatible: 16 enum: 16 enum: 17 - sprd,sc9860-mailbox 17 - sprd,sc9860-mailbox 18 - sprd,sc9863a-mailbox 18 - sprd,sc9863a-mailbox 19 19 20 reg: 20 reg: 21 items: 21 items: 22 - description: inbox registers' base add 22 - description: inbox registers' base address 23 - description: outbox registers' base ad 23 - description: outbox registers' base address 24 24 25 interrupts: 25 interrupts: 26 minItems: 2 26 minItems: 2 27 maxItems: 3 27 maxItems: 3 28 28 29 interrupt-names: 29 interrupt-names: 30 minItems: 2 30 minItems: 2 31 items: 31 items: 32 - const: inbox 32 - const: inbox 33 - const: outbox 33 - const: outbox 34 - const: supp-outbox 34 - const: supp-outbox 35 35 36 clocks: 36 clocks: 37 maxItems: 1 37 maxItems: 1 38 38 39 clock-names: 39 clock-names: 40 items: 40 items: 41 - const: enable 41 - const: enable 42 42 43 "#mbox-cells": 43 "#mbox-cells": 44 const: 1 44 const: 1 45 45 46 required: 46 required: 47 - compatible 47 - compatible 48 - reg 48 - reg 49 - interrupts 49 - interrupts 50 - interrupt-names 50 - interrupt-names 51 - "#mbox-cells" 51 - "#mbox-cells" 52 - clocks 52 - clocks 53 - clock-names 53 - clock-names 54 54 55 additionalProperties: false 55 additionalProperties: false 56 56 57 examples: 57 examples: 58 - | 58 - | 59 #include <dt-bindings/interrupt-controller 59 #include <dt-bindings/interrupt-controller/arm-gic.h> 60 mailbox: mailbox@400a0000 { 60 mailbox: mailbox@400a0000 { 61 compatible = "sprd,sc9860-mailbox"; 61 compatible = "sprd,sc9860-mailbox"; 62 reg = <0x400a0000 0x8000>, <0x400a8000 0 62 reg = <0x400a0000 0x8000>, <0x400a8000 0x8000>; 63 #mbox-cells = <1>; 63 #mbox-cells = <1>; 64 clock-names = "enable"; 64 clock-names = "enable"; 65 clocks = <&aon_gate 53>; 65 clocks = <&aon_gate 53>; 66 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_ 66 interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; 67 interrupt-names = "inbox", "outbox"; 67 interrupt-names = "inbox", "outbox"; 68 }; 68 }; 69 ... 69 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.