brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · 134fd22 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mailbox/st,stm32-ipcc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: STMicroelectronics STM32 IPC controller8 9description:10  The IPCC block provides a non blocking signaling mechanism to post and11  retrieve messages in an atomic way between two processors.12  It provides the signaling for N bidirectionnal channels. The number of13  channels (N) can be read from a dedicated register.14 15maintainers:16  - Fabien Dessenne <fabien.dessenne@foss.st.com>17  - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>18 19properties:20  compatible:21    const: st,stm32mp1-ipcc22 23  reg:24    maxItems: 125 26  clocks:27    maxItems: 128 29  interrupts:30    items:31      - description: rx channel occupied32      - description: tx channel free33 34  interrupt-names:35    items:36      - const: rx37      - const: tx38 39  wakeup-source: true40 41  "#mbox-cells":42    const: 143 44  st,proc-id:45    description: Processor id using the mailbox (0 or 1)46    $ref: /schemas/types.yaml#/definitions/uint3247    enum: [0, 1]48 49required:50  - compatible51  - reg52  - st,proc-id53  - clocks54  - interrupt-names55  - "#mbox-cells"56  - interrupts57 58additionalProperties: false59 60examples:61  - |62    #include <dt-bindings/interrupt-controller/arm-gic.h>63    #include <dt-bindings/clock/stm32mp1-clks.h>64    ipcc: mailbox@4c001000 {65      compatible = "st,stm32mp1-ipcc";66      #mbox-cells = <1>;67      reg = <0x4c001000 0x400>;68      st,proc-id = <0>;69      interrupts-extended = <&exti 61 1>,70                            <&intc GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;71      interrupt-names = "rx", "tx";72      clocks = <&rcc_clk IPCC>;73      wakeup-source;74    };75 76...77