xref: /freebsd/sys/contrib/device-tree/Bindings/remoteproc/mtk,scp.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1Mediatek SCP Bindings
2----------------------------------------
3
4This binding provides support for ARM Cortex M4 Co-processor found on some
5Mediatek SoCs.
6
7Required properties:
8- compatible		Should be "mediatek,mt8183-scp"
9- reg			Should contain the address ranges for memory regions:
10			SRAM, CFG, and L1TCM.
11- reg-names		Contains the corresponding names for the memory regions:
12			"sram", "cfg", and "l1tcm".
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
17Subnodes
18--------
19
20Subnodes of the SCP represent rpmsg devices. The names of the devices are not
21important. The properties of these nodes are defined by the individual bindings
22for 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
27Example:
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	};
37