Merge tag 'docs-5.11-2' of git://git.lwn.net/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / remoteproc / mtk,scp.txt
1 Mediatek SCP Bindings
2 ----------------------------------------
3
4 This binding provides support for ARM Cortex M4 Co-processor found on some
5 Mediatek SoCs.
6
7 Required properties:
8 - compatible            Should be "mediatek,mt8183-scp"
9 - reg                   Should contain the address ranges for the two memory
10                         regions, SRAM and CFG.
11 - reg-names             Contains the corresponding names for the two memory
12                         regions. These should be named "sram" & "cfg".
13 - clocks                Clock for co-processor (See: ../clock/clock-bindings.txt)
14 - clock-names           Contains the corresponding name for the clock. This
15                         should be named "main".
16
17 Subnodes
18 --------
19
20 Subnodes of the SCP represent rpmsg devices. The names of the devices are not
21 important. The properties of these nodes are defined by the individual bindings
22 for the rpmsg devices - but must contain the following property:
23
24 - mtk,rpmsg-name        Contains the name for the rpmsg device. Used to match
25                         the subnode to rpmsg device announced by SCP.
26
27 Example:
28
29         scp: scp@10500000 {
30                 compatible = "mediatek,mt8183-scp";
31                 reg = <0 0x10500000 0 0x80000>,
32                       <0 0x105c0000 0 0x5000>;
33                 reg-names = "sram", "cfg";
34                 clocks = <&infracfg CLK_INFRA_SCPSYS>;
35                 clock-names = "main";
36         };