]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blobdiff - device/k2h/policy_dsp_arm.dts
NOTICE OF RELOCATION
[keystone-rtos/rm-lld.git] / device / k2h / policy_dsp_arm.dts
index 0b15ca31e2ff3a749c7f77c12ad16921a4194c48..9b1b121300f0264df52004a25c227de2206aa72f 100644 (file)
                       "RM_Client4",
                       "RM_Client5",
                       "RM_Client6",
-                      "RM_Client7";
+                      "RM_Client7",
+                      "RM_Client_NETAPI";
        
     qmss {
+        /* QMSS in joint mode affects only -qm1 resource */
         control-qm1 {
             assignments = <0 1>, "iu = (*)";
         };
         linkram-control-qm2 {
             assignments = <0 1>, "(*)";             /* Used by Kernel */
         };
-        
-        linkram-qm1 {
-            /* linux provided 0x18000 descriptors of linking RAM but uses 0x4000 to 0x6000 */
+
+        linkram-int-qm1 {
+            /* linux provided 0x18000 descriptors of linking RAM but uses 0x4000 to 0x8000 */
             assignments = <0x00000000 0x00004000>, "iu = (*)",
-                          <0x00004000 0x00002000>, "(*)", /* Used by Kernel */
-                          <0x00006000 0x00012000>, "iu = (*)";
+                          <0x00004000 0x00004000>, "(*)"; /* Used by Kernel */
         };
-        linkram-qm2 {
-            /* linux provided 0x18000 descriptors of linking RAM but uses 0x4000 to 0x6000 */
+        linkram-int-qm2 {
+            /* linux provided 0x18000 descriptors of linking RAM but uses 0x4000 to 0x8000 */
             assignments = <0x00000000 0x00004000>, "iu = (*)",
-                          <0x00004000 0x00002000>, "(*)", /* Used by Kernel */
-                          <0x00006000 0x00012000>, "iu = (*)";
-        };  
+                          <0x00004000 0x00004000>, "(*)"; /* Used by Kernel */
+        };      
+        linkram-ext-qm1 {
+            assignments = <0x00008000 0x00010000>, "iu = (*)";
+        };
+        linkram-ext-qm2 {
+            assignments = <0x00008000 0x00010000>, "iu = (*)";
+        };      
         
         memory-regions-qm1 {
             assignments = <0  12>, "iu = (*)",
@@ -74,7 +80,8 @@
             assignments = <652 6>, "iu = (*)";
         }; 
         INTC_SET2_QUEUE-qm1 {
-            assignments = <658 8>, "(*)"; /* potentially used by kernel */
+            assignments = <658 4>, "     (*)", /* potentially used by kernel */
+                          <662 4>, "iu = (*)"; /* available for user mode lld and dsp */
         }; 
         INTC_SET3_QUEUE-qm1 {
             assignments = <666 6>, "iu = (*)";
             assignments = <736 64>, "iu = (*)";
         };  
         INFRASTRUCTURE_QUEUE-qm1 {
-            assignments = <800  12>,   "(*)",             /* Used by Kernel */
-                          <812  20>,   "iu = (*)";
+            assignments = <800  16>,   "(*)",       /* Used by Kernel - 8 (data channel usage irrespective of device) +  1 (channel per DSP core) */
+                          <816  16>,   "iu = (*)";
         }; 
         TRAFFIC_SHAPING_QUEUE-qm1 {
             assignments = <832 32>, "iu = (*)";
         GENERAL_PURPOSE_QUEUE-qm1 {
             assignments = <896  3104>,  "iu = (*)",
                           <4000 64>,    "(*)",       /* Used by Kernel */
-                          <4064 2336>,  "iu = (*)",
+                          <4064 31>,    "iu = (*)",
+                          <4095 1>,     "iue = (*)",   /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+                          <4096 2304>,  "iu = (*)",
 
                           /* 6400-6477 is taken by linux for qostree2, but DSP can transmit via "fastpath" queues */
                           <6400 72>,    "u = (*)",   /* qos queues for DSP (fastpath-best-effort, fastpath-hp, 4g-cos#, 3g-cos#, wifi-cos#) use (open by number) not init */
                           <8000 72>,    "u = (*)",   /* qos queues for DSP (fastpath-best-effort, fastpath-hp, 4g-cos#, 3g-cos#, wifi-cos#) use (open by number) not init */
                           <8072 6>,     "(*)",       /* qos queues for linux (linux-best-effort, linux-cos#, linux-hp) - DSP can't use */
                           <8078 114>,   "(*)";       /* unconfigured QoS/Linux queues (qos-inputs-1) */
+                                                     /* note for q 8191: Queues ending in 0xfff can't be used as return queue (hw reserved) */
         };    
         LOW_PRIORITY_QUEUE-qm2 {
             assignments = <8192 512>, "iu = (*)";
             assignments = <8844 20>, "iu = (*)";
         }; 
         GIC400_QUEUE-qm2 {
-            assignments = <8704 32>,   "(*)";             /* Used by Kernel */
+            assignments = <8704 32>,   "iu = (RM_Client_NETAPI)";             /* Used by Kernel */
         };    
         EDMA_4_QUEUE-qm2 {
             assignments = <8736 8>, "iu = (*)";
             assignments = <8992 32>, "iu = (*)";
         }; 
         GENERAL_PURPOSE_QUEUE-qm2 {
-            assignments = <9024 7360>, "iu = (*)";
+            assignments = <9024 3263>, "iu = (*)",
+                          <12287 1>, "iue = (*)", /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+                          <12288 4095>, "iu = (*)",
+                          <16383 1>, "iue = (*)"; /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
         }; 
         
         firmware-pdsp {
     }; /* qmss */
 
     cppi {
+        srio-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         srio-rx-ch {
             assignments = <0 16>, "iu = (*)";
         };
             assignments = <0 20>, "iu = (*)";
         };   
 
+        aif-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         aif-rx-ch {
             assignments = <0 129>, "iu = (*)";
         };
             assignments = <0 129>, "iu = (*)";
         };      
 
+        fftc-a-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-a-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };   
 
+        fftc-b-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-b-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };   
 
+        fftc-c-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-c-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };
 
+        fftc-d-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-d-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };   
 
+        fftc-e-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-e-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };
 
+        fftc-f-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         fftc-f-rx-ch {
             assignments = <0 4>, "iu = (*)";
         };
             assignments = <0 8>, "iu = (*)";
         };         
         
+        pass-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         pass-rx-ch {
             assignments = <0 24>, "     (*)"; /* initialized by kernel */
         };
         };
         pass-rx-flow-id {
             assignments = <0 22>, "iu = (*)", /* available */
-                          <22 3>, "     (*)", /* used by kernel (netrx0, netrx1, crypto-rx0)  */
-                          <25 7>, "iu = (*)", /* available */
+                          <22 5>, "     (*)", /* used by kernel (netrx0, netrx1, netrx2, netrx3, crypto-rx0) */
+                          <27 4>, "iu = (*)", /* available */
                           <31 1>, "     (*)"; /* used by kernel (parx) */
         };   
 
+        qmss-qm1-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         qmss-qm1-rx-ch {
-            assignments = <0 12>, "(*)",   /* Used by kernel */
-                          <12 20>, "iu = (*)";
+            assignments = <0  16>, "(*)",    /* Used by kernel - 8 (data channel usage irrespective of device) +  1 (channel per DSP core) */
+                          <16 16>, "iu = (*)";
         };
         qmss-qm1-tx-ch {
-            assignments = <0 12>, "(*)", /* Used by kernel */
-                          <12 32>, "iu = (*)";
+            assignments = <0  16>, "(*)",    /* Used by kernel - 8 (data channel usage irrespective of device) +  1 (channel per DSP core) */
+                          <16 16>, "iu = (*)";
         };
         qmss-qm1-rx-flow-id {
-            assignments = <0 12>, "(*)",    /* Used by kernel */
-                          <12 52>, "iu = (*)";
+            assignments = <0  16>, "(*)",    /* Used by kernel - 8 (data channel usage irrespective of device) +  1 (channel per DSP core) */
+                          <16 48>, "iu = (*)";
         };   
 
+        qmss-qm2-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         qmss-qm2-rx-ch {
             assignments = <0 32>, "iu = (*)";
         };
             assignments = <0 64>, "iu = (*)";
         };        
 
+        bcp-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         bcp-rx-ch {
             assignments = <0 8>, "iu = (*)";
         };
             assignments = <0 64>, "iu = (*)";
         };           
 
+        xge-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
         xge-rx-ch {
             assignments = <0 16>, "    (*)"; /* initialized by kernel */
         };
             assignments = <0 1>, "(*)"; /* linux downloads PA firmware */
         };
         pa-32bUsrStats {
-            assignments = <64 320>, "iu = (*)",
-                          <384 64>, "     (*)"; /* used by linux */
+            assignments = <0 512>, "iu = (*)";
         };
         pa-64bUsrStats {
-            assignments = <0 48>,  "iu = (*)",
-                          <48 16>, "     (*)"; /* used by linux */
+            assignments = <0 256>, "iu = (*)";
         };
     }; /* pa */
-    
+
+    srio {
+        srio-dio-sockets {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-type9-type11-sockets {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-type9-type11-mappings {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-lsus {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-init-hw {
+            assignments = <0 1>, "iu = (*)";
+        };
+    };
 };