1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- Bindings for the Cadence Xtensa Remote Processing driver, CMA mode.
- In CMA mode DSP communication area and shared memory are allocated from the
- CMA-managed reserved memory region assigned to the XRP device.
- Required properties:
- - compatible: shall be "cdns,xrp,cma".
- - memory-region: phandle, refers to a child node inside reserved-memory node.
- Optional properties:
- - queue-priority: cells indicating priorities of DSP hardware queues. If
- missing then single default queue is configured.
- - firmware-name: string identifying firmware name. If missing the driver
- doesn't load the firmware.
- - #address-cells: number of cells DSP physical address takes in the ranges.
- - #size-cells: number of cells each size takes in the ranges.
- - ranges: standard ranges property. Provides mapping of DSP physical addresses
- to host physical addresses. Arbitrary number of groups with the following
- structure:
- - cells with DSP physical address of the region;
- - cells with the corresponding host physical address of the
- region;
- - cells with the size of the region.
- Ranges must cover addresses of the reserved memory pointed to by the
- memory-region property.
- XRP node may have an optional subnode when there's non-identity mapping set
- up in the ranges property. Both subnode and ranges property are required in
- order for the address translation to work.
- Example:
- reserved-memory {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
- xrp_reserved: xrp@08000000 {
- compatible = "shared-dma-pool";
- reg = <0x08000000 0x08000000>;
- reusable;
- };
- };
- xrp@0 {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "cdns,xrp,cma";
- memory-region = <&xrp_reserved>;
- queue-priority = <0 1 2>;
- firmware-name = "xrp0.elf";
- ranges = <0x00000000 0x00000000 0x10000000
- 0x3ffc0000 0xc0000000 0x00020000
- 0x3ffe0000 0xc0020000 0x00020000
- 0x50000000 0x50000000 0x01000000
- 0x60000000 0x60000000 0x20000000
- 0xf0000000 0xf0000000 0x0d000000>;
- dsp@0 {
- };
- };
|