Back to home page

OSCL-LXR

 
 

    


0001 STMicroelectronics Co-Processor Bindings
0002 ----------------------------------------
0003 
0004 This binding provides support for adjunct processors found on ST SoCs.
0005 
0006 Co-processors can be controlled from the bootloader or the primary OS. If
0007 the bootloader starts a co-processor, the primary OS must detect its state
0008 and act accordingly.
0009 
0010 Required properties:
0011 - compatible            Should be one of:
0012                                 "st,st231-rproc"
0013                                 "st,st40-rproc"
0014 - memory-region         Reserved memory (See: ../reserved-memory/reserved-memory.txt)
0015 - resets                Reset lines (See: ../reset/reset.txt)
0016 - reset-names           Must be "sw_reset" and "pwr_reset"
0017 - clocks                Clock for co-processor (See: ../clock/clock-bindings.txt)
0018 - clock-frequency       Clock frequency to set co-processor at if the bootloader
0019                         hasn't already done so
0020 - st,syscfg             System configuration register which holds the boot vector
0021                         for the co-processor
0022                                 1st cell: Phandle to syscon block
0023                                 2nd cell: Boot vector register offset
0024 
0025 Example:
0026 
0027         audio_reserved: rproc@42000000 {
0028                 compatible = "shared-dma-pool";
0029                 reg = <0x42000000 0x01000000>;
0030                 no-map;
0031         };
0032 
0033         st231-audio {
0034                 compatible      = "st,st231-rproc";
0035                 memory-region   = <&audio_reserved>;
0036                 resets          = <&softreset STIH407_ST231_AUD_SOFTRESET>;
0037                 reset-names     = "sw_reset";
0038                 clocks          = <&clk_s_c0_flexgen CLK_ST231_AUD_0>;
0039                 clock-frequency = <600000000>;
0040                 st,syscfg       = <&syscfg_core 0x228>;
0041         };