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