1*c66ec88fSEmmanuel VadotQualcomm Remote File System Memory binding 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThis binding describes the Qualcomm remote filesystem memory, which serves the 4*c66ec88fSEmmanuel Vadotpurpose of describing the shared memory region used for remote processors to 5*c66ec88fSEmmanuel Vadotaccess block device data using the Remote Filesystem protocol. 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadot- compatible: 8*c66ec88fSEmmanuel Vadot Usage: required 9*c66ec88fSEmmanuel Vadot Value type: <stringlist> 10*c66ec88fSEmmanuel Vadot Definition: must be: 11*c66ec88fSEmmanuel Vadot "qcom,rmtfs-mem" 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot- reg: 14*c66ec88fSEmmanuel Vadot Usage: required for static allocation 15*c66ec88fSEmmanuel Vadot Value type: <prop-encoded-array> 16*c66ec88fSEmmanuel Vadot Definition: must specify base address and size of the memory region, 17*c66ec88fSEmmanuel Vadot as described in reserved-memory.txt 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadot- size: 20*c66ec88fSEmmanuel Vadot Usage: required for dynamic allocation 21*c66ec88fSEmmanuel Vadot Value type: <prop-encoded-array> 22*c66ec88fSEmmanuel Vadot Definition: must specify a size of the memory region, as described in 23*c66ec88fSEmmanuel Vadot reserved-memory.txt 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot- qcom,client-id: 26*c66ec88fSEmmanuel Vadot Usage: required 27*c66ec88fSEmmanuel Vadot Value type: <u32> 28*c66ec88fSEmmanuel Vadot Definition: identifier of the client to use this region for buffers. 29*c66ec88fSEmmanuel Vadot 30*c66ec88fSEmmanuel Vadot- qcom,vmid: 31*c66ec88fSEmmanuel Vadot Usage: optional 32*c66ec88fSEmmanuel Vadot Value type: <u32> 33*c66ec88fSEmmanuel Vadot Definition: vmid of the remote processor, to set up memory protection. 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot= EXAMPLE 36*c66ec88fSEmmanuel VadotThe following example shows the remote filesystem memory setup for APQ8016, 37*c66ec88fSEmmanuel Vadotwith the rmtfs region for the Hexagon DSP (id #1) located at 0x86700000. 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot reserved-memory { 40*c66ec88fSEmmanuel Vadot #address-cells = <2>; 41*c66ec88fSEmmanuel Vadot #size-cells = <2>; 42*c66ec88fSEmmanuel Vadot ranges; 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot rmtfs@86700000 { 45*c66ec88fSEmmanuel Vadot compatible = "qcom,rmtfs-mem"; 46*c66ec88fSEmmanuel Vadot reg = <0x0 0x86700000 0x0 0xe0000>; 47*c66ec88fSEmmanuel Vadot no-map; 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot qcom,client-id = <1>; 50*c66ec88fSEmmanuel Vadot }; 51*c66ec88fSEmmanuel Vadot }; 52