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