Completed and tested routines that automatically reserve linux resources
[keystone-rtos/rm-lld.git] / device / tci6614-global-resources.dts
index ce56b3247e1b4e6557e474bd60d77f48361dcee1..f6b5726a8064e0609f418404620487883f7426a8 100644 (file)
        
     qmss {
         pdsps {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 2>;
         };
         memory-regions {
-                       allocator = "integer";
+                       allocator = "tree";
                        resource-range = <0 20>;
-                       linux-dtb-alias = "hwqueue0", "regions", "region-12", "id", "end", <0>, "end";
+                       linux-dtb-alias = "hwqueue@2a00000", "regions", "region-12", "id", "end", <0>, "end";
         };
         link-ram {
             allocator = "tree";
             resource-range = <0x00000000 0xFFFFFFFF>;
         };
         accumulator-ch {
-            allocator = "integer";
+            allocator = "tree";
             resource-range = <0 48>;
                /* Each new line specifies a different path.  The last string in the line
                 * must result in a property tied to a value */
-               linux-dtb-alias = "hwqueue0", "queues", "accumulator-low-0", "accumulator", "end", <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-1", "accumulator", "end", <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-2", "accumulator", "end", <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-3", "accumulator", "end", <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-high", "accumulator", "end", <1>, "end";            
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-low-0", "accumulator", "end", <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-1", "accumulator", "end", <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-2", "accumulator", "end", <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-3", "accumulator", "end", <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-high", "accumulator", "end", <1>, "end";            
         };
         qos-cluster {
-                       allocator = "integer";
+                       allocator = "tree";
                        resource-range = <0 8>;
         };
         qos-queue {
-                       allocator = "integer";
+                       allocator = "tree";
                        resource-range = <0 64>;
         };        
 
                allocator = "tree";
                resource-range = <0 512>;
                /* Each new line specifies a different path. */
-               linux-dtb-alias = "hwqueue0", "queues", "accumulator-low-0", "values", "end", <0>, <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-1", "values", "end", <0>, <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-2", "values", "end", <0>, <1>, "end",
-                                                 "hwqueue0", "queues", "accumulator-low-3", "values", "end", <0>, <1>, "end";
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-low-0", "values", "end", <0>, <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-1", "values", "end", <0>, <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-2", "values", "end", <0>, <1>, "end",
+                                                 "hwqueue@2a00000", "queues", "accumulator-low-3", "values", "end", <0>, <1>, "end";
         };
         aif-queue {
                allocator = "tree";
                resource-range = <512 128>;
         };
         pass-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <640 9>;
         };     
         intc-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <662 10>;
         };
         srio-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <672 16>;
-               linux-dtb-alias = "hwqueue0", "queues", "riotx", "values", "end", <0>, <1>, "end";
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "riotx", "values", "end", <0>, <1>, "end";
         }; 
         fftc-a-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <688 4>;
         };
         fftc-b-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <692 4>;
         };
         bcp-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <864 8>;
         };
         high-prio-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <704 32>;
-               linux-dtb-alias = "hwqueue0", "queues", "accumulator-high", "values", "end", <0>, <1>, "end";
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-high", "values", "end", <0>, <1>, "end";
         };
         starvation-queue {
                allocator = "tree";
                resource-range = <736 64>;
         };
         infra-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <800 32>;
-               linux-dtb-alias = "hwqueue0", "queues", "infradma", "values", "end", <0>, <1>, "end";
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "infradma", "values", "end", <0>, <1>, "end";
         };
         traffic-shaping-queue {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <832 32>;
         };
         gp-queue {
                allocator = "tree";
                resource-range = <896 7296>;
-               linux-dtb-alias = "hwqueue0", "queues", "general", "values", "end", <0>, <1>, "end";
+               linux-dtb-alias = "hwqueue@2a00000", "queues", "general", "values", "end", <0>, <1>, "end";
         };          
     }; /* qmss */
 
     /* CPPI channel and flow ID ranges based on tci6614 cppi_device.c */
     cppi {
         srio-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 16>;
         };
         srio-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 16>;
         };
         srio-rx-flow-id {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 20>;
         };   
 
         };      
 
         fftc-a-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 4>;
         };
         fftc-a-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 4>;
         };
         fftc-a-rx-flow-id {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 8>;
         };   
 
         fftc-b-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 4>;
         };
         fftc-b-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 4>;
         };
         fftc-b-rx-flow-id {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 8>;
         };   
 
         pass-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 23>;
         };
         pass-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 9>;
         };
         pass-rx-flow-id {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 32>;
         };   
 
         qmss-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 32>;
         };
         qmss-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 32>;
         };
         qmss-rx-flow-id {
         };   
 
         bcp-rx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 8>;
         };
         bcp-tx-ch {
-               allocator = "integer";
+               allocator = "tree";
                resource-range = <0 8>;
         };
         bcp-rx-flow-id {
     }; /* cppi */
 
     pa-lut {
-        allocator = "integer";   
+        allocator = "tree";   
         resource-range = <0 5>;
     };    
 };