Skip to content

Commit e47e988

Browse files
erinloandersson
authored andcommitted
dt-bindings: Add a binding for Mediatek SCP
Add a DT binding documentation of SCP for the MT8183 SoC from Mediatek. Signed-off-by: Erin Lo <[email protected]> Signed-off-by: Pi-Hsun Shih <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 6439b52 commit e47e988

File tree

1 file changed

+36
-0
lines changed
  • Documentation/devicetree/bindings/remoteproc

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
};

0 commit comments

Comments
 (0)