cdns,xrp,v1.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Bindings for the Cadence Xtensa Remote Processing driver, v.1.
  2. Required properties:
  3. - compatible: shall be "cdns,xrp,v1".
  4. - reg: location of DSP shared memory area.
  5. Optional properties:
  6. - queue-priority: cells indicating priorities of DSP hardware queues. If
  7. missing then single default queue is configured.
  8. - firmware-name: string identifying firmware name. If missing the driver
  9. doesn't load the firmware.
  10. - #address-cells: number of cells DSP physical address takes in the ranges.
  11. - #size-cells: number of cells each size takes in the ranges.
  12. - ranges: standard ranges property. Provides mapping of DSP physical addresses
  13. to host physical addresses. Arbitrary number of groups with the following
  14. structure:
  15. - cells with DSP physical address of the region;
  16. - cells with the corresponding host physical address of the
  17. region;
  18. - cells with the size of the region.
  19. XRP node may have an optional subnode when there's non-identity mapping set
  20. up in the ranges property. Both subnode and ranges property are required in
  21. order for the address translation to work.
  22. Example:
  23. xrp@0 {
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. compatible = "cdns,xrp,v1";
  27. reg = <0xf0000000 0x01000000>;
  28. firmware-name = "xrp0.elf";
  29. ranges = <0x00000000 0x00000000 0x10000000
  30. 0x3ffc0000 0xc0000000 0x00020000
  31. 0x3ffe0000 0xc0020000 0x00020000
  32. 0x50000000 0x50000000 0x01000000
  33. 0x60000000 0x60000000 0x20000000
  34. 0xf0000000 0xf0000000 0x0d000000>;
  35. dsp@0 {
  36. };
  37. };