18c2ecf20Sopenharmony_ciMediatek SCP Bindings
28c2ecf20Sopenharmony_ci----------------------------------------
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThis binding provides support for ARM Cortex M4 Co-processor found on some
58c2ecf20Sopenharmony_ciMediatek SoCs.
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciRequired properties:
88c2ecf20Sopenharmony_ci- compatible		Should be "mediatek,mt8183-scp"
98c2ecf20Sopenharmony_ci- reg			Should contain the address ranges for the two memory
108c2ecf20Sopenharmony_ci			regions, SRAM and CFG.
118c2ecf20Sopenharmony_ci- reg-names		Contains the corresponding names for the two memory
128c2ecf20Sopenharmony_ci			regions. These should be named "sram" & "cfg".
138c2ecf20Sopenharmony_ci- clocks		Clock for co-processor (See: ../clock/clock-bindings.txt)
148c2ecf20Sopenharmony_ci- clock-names		Contains the corresponding name for the clock. This
158c2ecf20Sopenharmony_ci			should be named "main".
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciSubnodes
188c2ecf20Sopenharmony_ci--------
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciSubnodes of the SCP represent rpmsg devices. The names of the devices are not
218c2ecf20Sopenharmony_ciimportant. The properties of these nodes are defined by the individual bindings
228c2ecf20Sopenharmony_cifor the rpmsg devices - but must contain the following property:
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci- mtk,rpmsg-name	Contains the name for the rpmsg device. Used to match
258c2ecf20Sopenharmony_ci			the subnode to rpmsg device announced by SCP.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciExample:
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci	scp: scp@10500000 {
308c2ecf20Sopenharmony_ci		compatible = "mediatek,mt8183-scp";
318c2ecf20Sopenharmony_ci		reg = <0 0x10500000 0 0x80000>,
328c2ecf20Sopenharmony_ci		      <0 0x105c0000 0 0x5000>;
338c2ecf20Sopenharmony_ci		reg-names = "sram", "cfg";
348c2ecf20Sopenharmony_ci		clocks = <&infracfg CLK_INFRA_SCPSYS>;
358c2ecf20Sopenharmony_ci		clock-names = "main";
368c2ecf20Sopenharmony_ci	};
37