Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mailbox/ti,secure-proxy.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Texas Instruments' Secure Proxy
0008 
0009 maintainers:
0010   - Nishanth Menon <nm@ti.com>
0011 
0012 description: |
0013   The Texas Instruments' secure proxy is a mailbox controller that has
0014   configurable queues selectable at SoC(System on Chip) integration. The
0015   Message manager is broken up into different address regions that are
0016   called "threads" or "proxies" - each instance is unidirectional and is
0017   instantiated at SoC integration level by system controller to indicate
0018   receive or transmit path.
0019 
0020 properties:
0021   $nodename:
0022     pattern: "^mailbox@[0-9a-f]+$"
0023 
0024   compatible:
0025     const: ti,am654-secure-proxy
0026 
0027   "#mbox-cells":
0028     const: 1
0029     description:
0030       Contains the secure proxy thread ID used for the specific transfer path.
0031 
0032   reg-names:
0033     items:
0034       - const: target_data
0035       - const: rt
0036       - const: scfg
0037 
0038   reg:
0039     minItems: 3
0040 
0041   interrupt-names:
0042     minItems: 1
0043     maxItems: 100
0044     items:
0045       pattern: "^rx_[0-9]{3}$"
0046     description:
0047       Contains the interrupt name information for the Rx interrupt path for
0048       secure proxy thread in the form 'rx_<PID>'.
0049 
0050   interrupts:
0051     minItems: 1
0052     maxItems: 100
0053     description:
0054       Contains the interrupt information for the Rx interrupt path for secure
0055       proxy.
0056 
0057 required:
0058   - compatible
0059   - reg-names
0060   - reg
0061   - interrupt-names
0062   - interrupts
0063   - "#mbox-cells"
0064 
0065 additionalProperties: false
0066 
0067 examples:
0068   - |
0069     #include <dt-bindings/interrupt-controller/arm-gic.h>
0070     secure_proxy: mailbox@32c00000 {
0071           compatible = "ti,am654-secure-proxy";
0072           #mbox-cells = <1>;
0073           reg-names = "target_data", "rt", "scfg";
0074           reg = <0x32c00000 0x100000>,
0075                 <0x32400000 0x100000>,
0076                 <0x32800000 0x100000>;
0077           interrupt-names = "rx_011";
0078           interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
0079     };