wkup_m3_rproc.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. TI Wakeup M3 Remoteproc Driver
  2. ==============================
  3. The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
  4. (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks
  5. that cannot be controlled from the MPU. This CM3 processor requires a firmware
  6. binary to accomplish this. The wkup_m3 remoteproc driver handles the loading of
  7. the firmware and booting of the CM3.
  8. Wkup M3 Device Node:
  9. ====================
  10. A wkup_m3 device node is used to represent the Wakeup M3 processor instance
  11. within the SoC. It is added as a child node of the parent interconnect bus
  12. (l4_wkup) through which it is accessible to the MPU.
  13. Required properties:
  14. --------------------
  15. - compatible: Should be one of,
  16. "ti,am3352-wkup-m3" for AM33xx SoCs
  17. "ti,am4372-wkup-m3" for AM43xx SoCs
  18. - reg: Should contain the address ranges for the two internal
  19. memory regions, UMEM and DMEM. The parent node should
  20. provide an appropriate ranges property for properly
  21. translating these into bus addresses.
  22. - reg-names: Contains the corresponding names for the two memory
  23. regions. These should be named "umem" & "dmem".
  24. - ti,hwmods: Name of the hwmod associated with the wkupm3 device.
  25. - ti,pm-firmware: Name of firmware file to be used for loading and
  26. booting the wkup_m3 remote processor.
  27. Example:
  28. --------
  29. /* AM33xx */
  30. ocp {
  31. l4_wkup: l4_wkup@44c00000 {
  32. compatible = "am335-l4-wkup", "simple-bus";
  33. ranges = <0 0x44c00000 0x400000>;
  34. #address-cells = <1>;
  35. #size-cells = <1>;
  36. wkup_m3: wkup_m3@100000 {
  37. compatible = "ti,am3352-wkup-m3";
  38. reg = <0x100000 0x4000>,
  39. <0x180000 0x2000>;
  40. reg-names = "umem", "dmem";
  41. ti,hwmods = "wkup_m3";
  42. ti,pm-firmware = "am335x-pm-firmware.elf";
  43. };
  44. };
  45. ...
  46. };