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/st, !! 4 $id: "http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml#" 5 $schema: http://devicetree.org/meta-schemas/co !! 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 6 6 7 title: STMicroelectronics STM32 IPC controller !! 7 title: STMicroelectronics STM32 IPC controller bindings 8 8 9 description: 9 description: 10 The IPCC block provides a non blocking signa 10 The IPCC block provides a non blocking signaling mechanism to post and 11 retrieve messages in an atomic way between t 11 retrieve messages in an atomic way between two processors. 12 It provides the signaling for N bidirectionn 12 It provides the signaling for N bidirectionnal channels. The number of 13 channels (N) can be read from a dedicated re 13 channels (N) can be read from a dedicated register. 14 14 15 maintainers: 15 maintainers: 16 - Fabien Dessenne <fabien.dessenne@foss.st.co 16 - Fabien Dessenne <fabien.dessenne@foss.st.com> 17 - Arnaud Pouliquen <arnaud.pouliquen@foss.st. 17 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 const: st,stm32mp1-ipcc 21 const: st,stm32mp1-ipcc 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 clocks: 26 clocks: 27 maxItems: 1 27 maxItems: 1 28 28 29 interrupts: 29 interrupts: 30 items: 30 items: 31 - description: rx channel occupied 31 - description: rx channel occupied 32 - description: tx channel free 32 - description: tx channel free 33 33 34 interrupt-names: 34 interrupt-names: 35 items: 35 items: 36 - const: rx 36 - const: rx 37 - const: tx 37 - const: tx 38 38 39 wakeup-source: true 39 wakeup-source: true 40 40 41 "#mbox-cells": 41 "#mbox-cells": 42 const: 1 42 const: 1 43 43 44 st,proc-id: 44 st,proc-id: 45 description: Processor id using the mailbo 45 description: Processor id using the mailbox (0 or 1) 46 $ref: /schemas/types.yaml#/definitions/uin 46 $ref: /schemas/types.yaml#/definitions/uint32 47 enum: [0, 1] 47 enum: [0, 1] 48 48 49 required: 49 required: 50 - compatible 50 - compatible 51 - reg 51 - reg 52 - st,proc-id 52 - st,proc-id 53 - clocks 53 - clocks 54 - interrupt-names 54 - interrupt-names 55 - "#mbox-cells" 55 - "#mbox-cells" 56 - interrupts 56 - interrupts 57 57 58 additionalProperties: false 58 additionalProperties: false 59 59 60 examples: 60 examples: 61 - | 61 - | 62 #include <dt-bindings/interrupt-controller 62 #include <dt-bindings/interrupt-controller/arm-gic.h> 63 #include <dt-bindings/clock/stm32mp1-clks. 63 #include <dt-bindings/clock/stm32mp1-clks.h> 64 ipcc: mailbox@4c001000 { 64 ipcc: mailbox@4c001000 { 65 compatible = "st,stm32mp1-ipcc"; 65 compatible = "st,stm32mp1-ipcc"; 66 #mbox-cells = <1>; 66 #mbox-cells = <1>; 67 reg = <0x4c001000 0x400>; 67 reg = <0x4c001000 0x400>; 68 st,proc-id = <0>; 68 st,proc-id = <0>; 69 interrupts-extended = <&exti 61 1>, 69 interrupts-extended = <&exti 61 1>, 70 <&intc GIC_SPI 101 70 <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>; 71 interrupt-names = "rx", "tx"; 71 interrupt-names = "rx", "tx"; 72 clocks = <&rcc_clk IPCC>; 72 clocks = <&rcc_clk IPCC>; 73 wakeup-source; 73 wakeup-source; 74 }; 74 }; 75 75 76 ... 76 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.