1*c66ec88fSEmmanuel VadotSTMicroelectronics Co-Processor Bindings
2*c66ec88fSEmmanuel Vadot----------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThis binding provides support for adjunct processors found on ST SoCs.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotCo-processors can be controlled from the bootloader or the primary OS. If
7*c66ec88fSEmmanuel Vadotthe bootloader starts a co-processor, the primary OS must detect its state
8*c66ec88fSEmmanuel Vadotand act accordingly.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired properties:
11*c66ec88fSEmmanuel Vadot- compatible		Should be one of:
12*c66ec88fSEmmanuel Vadot				"st,st231-rproc"
13*c66ec88fSEmmanuel Vadot				"st,st40-rproc"
14*c66ec88fSEmmanuel Vadot- memory-region		Reserved memory (See: ../reserved-memory/reserved-memory.txt)
15*c66ec88fSEmmanuel Vadot- resets		Reset lines (See: ../reset/reset.txt)
16*c66ec88fSEmmanuel Vadot- reset-names		Must be "sw_reset" and "pwr_reset"
17*c66ec88fSEmmanuel Vadot- clocks		Clock for co-processor (See: ../clock/clock-bindings.txt)
18*c66ec88fSEmmanuel Vadot- clock-frequency	Clock frequency to set co-processor at if the bootloader
19*c66ec88fSEmmanuel Vadot			hasn't already done so
20*c66ec88fSEmmanuel Vadot- st,syscfg		System configuration register which holds the boot vector
21*c66ec88fSEmmanuel Vadot			for the co-processor
22*c66ec88fSEmmanuel Vadot				1st cell: Phandle to syscon block
23*c66ec88fSEmmanuel Vadot				2nd cell: Boot vector register offset
24*c66ec88fSEmmanuel Vadot
25*c66ec88fSEmmanuel VadotExample:
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot	audio_reserved: rproc@42000000 {
28*c66ec88fSEmmanuel Vadot		compatible = "shared-dma-pool";
29*c66ec88fSEmmanuel Vadot		reg = <0x42000000 0x01000000>;
30*c66ec88fSEmmanuel Vadot		no-map;
31*c66ec88fSEmmanuel Vadot	};
32*c66ec88fSEmmanuel Vadot
33*c66ec88fSEmmanuel Vadot	st231-audio {
34*c66ec88fSEmmanuel Vadot		compatible	= "st,st231-rproc";
35*c66ec88fSEmmanuel Vadot		memory-region	= <&audio_reserved>;
36*c66ec88fSEmmanuel Vadot		resets		= <&softreset STIH407_ST231_AUD_SOFTRESET>;
37*c66ec88fSEmmanuel Vadot		reset-names	= "sw_reset";
38*c66ec88fSEmmanuel Vadot		clocks		= <&clk_s_c0_flexgen CLK_ST231_AUD_0>;
39*c66ec88fSEmmanuel Vadot		clock-frequency	= <600000000>;
40*c66ec88fSEmmanuel Vadot		st,syscfg	= <&syscfg_core 0x228>;
41*c66ec88fSEmmanuel Vadot	};
42