st-rproc.txt 1.3 KB

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