1*c365ed7dSLokesh VutlaTexas Instruments' K3 Remote processor driver
2*c365ed7dSLokesh Vutla=============================================
3*c365ed7dSLokesh Vutla
4*c365ed7dSLokesh VutlaIn K3 generation Socs, loading an image on any processing entity
5*c365ed7dSLokesh Vutlacannot be done directly from U-Boot. In order to load an image,
6*c365ed7dSLokesh Vutlaremoteproc driver should communicate to SYSFW with a specific sequence.
7*c365ed7dSLokesh VutlaAlso enable the timer required for this remotecore.
8*c365ed7dSLokesh Vutla
9*c365ed7dSLokesh VutlaRequired properties:
10*c365ed7dSLokesh Vutla--------------------
11*c365ed7dSLokesh Vutla- compatible:		Shall be: "ti,am654-rproc"
12*c365ed7dSLokesh Vutla- reg:			base address of the remoteproc timer.
13*c365ed7dSLokesh Vutla- power-domains:	Should contain two sets of entries:
14*c365ed7dSLokesh Vutla			First set corresponds to pm domain of the
15*c365ed7dSLokesh Vutla			remotecore timer. Seconf entry corresponds to the
16*c365ed7dSLokesh Vutla			remoteproc to start.
17*c365ed7dSLokesh Vutla			This property is as per the binding,
18*c365ed7dSLokesh Vutla			doc/device-tree-bindings/power/ti,sci-pm-domain.txt
19*c365ed7dSLokesh Vutla- resets:		Should contain a phandle to a reset controller node
20*c365ed7dSLokesh Vutla			and an args specifier containing the remote code
21*c365ed7dSLokesh Vutla			device id and reset mask value. This is as per the
22*c365ed7dSLokesh Vutla			doc/device-tree-bindings/reset/ti,sci-reset.txt
23*c365ed7dSLokesh Vutla- ti,sci:		Phandle to TI-SCI compatible System controller node.
24*c365ed7dSLokesh Vutla- ti,sci-proc-id:	Processor id as identified by TISCI
25*c365ed7dSLokesh Vutla
26*c365ed7dSLokesh VutlaOptional properties:
27*c365ed7dSLokesh Vutla--------------------
28*c365ed7dSLokesh Vutla- assigned-clocks:	Should contain a phandle to clock node and an args
29*c365ed7dSLokesh Vutla			specifier containing the remote core device id and
30*c365ed7dSLokesh Vutla			the clock id within the remote core. This is as per
31*c365ed7dSLokesh Vutla			doc/device-tree-bindings/clock/ti,sci-clk.txt
32*c365ed7dSLokesh Vutla- assigned-clock-rates: One entry for each entry of assigned-clocks. This is
33*c365ed7dSLokesh Vutla			the frequency at which the corresponding clock needs
34*c365ed7dSLokesh Vutla			to be assigned.
35*c365ed7dSLokesh Vutla- ti,sci-host-id:	Host ID to which the processor control is transferred to
36*c365ed7dSLokesh Vutla
37*c365ed7dSLokesh VutlaExample:
38*c365ed7dSLokesh Vutla---------
39*c365ed7dSLokesh Vutla
40*c365ed7dSLokesh Vutlaa53_0: a53@0 {
41*c365ed7dSLokesh Vutla	compatible = "ti,am654-rproc";
42*c365ed7dSLokesh Vutla	power-domains = <&k3_pds 61>,
43*c365ed7dSLokesh Vutla			<&k3_pds 202>;
44*c365ed7dSLokesh Vutla	resets = <&k3_reset 202 0>;
45*c365ed7dSLokesh Vutla	assigned-clocks = <&k3_clks 202 0>;
46*c365ed7dSLokesh Vutla	assigned-clock-rates = <800000000>;
47*c365ed7dSLokesh Vutla	ti,sci = <&dmsc>;
48*c365ed7dSLokesh Vutla	ti,sci-proc-id = <32>;
49*c365ed7dSLokesh Vutla	ti,sci-host-id = <10>;
50*c365ed7dSLokesh Vutla};
51