Bug fixes, cleanup, expanded test code
[keystone-rtos/rm-lld.git] / device / tci6614-global-resources.dts
1 /dts-v1/;
3 / {
4     device-name = "TCI6614";
5     
6     /* Device Resource Definitions */
8         /* TODO: where do following get defined in the linux DTB
9                          #define ARM_LINUX_CPPI_QMSS_TX_CH_NUM           12
10                          #define ARM_LINUX_CPPI_QMSS_RX_CH_NUM           12
11                          #define ARM_LINUX_CPPI_QMSS_FLOW                12
12         */
13         
14     qmss {
15         ns-assignment = "Arm_Descriptors", <0 4096>;
16     
17         pdsps {
18                 resource-range = <0 2>;
19         };
20         memory-regions {
21                         resource-range = <0 20>;
22                         linux-dtb-alias = "hwqueue@2a00000", "regions", "region-12", "id", "end", <0>, "end";
23         };
24         link-ram {
25             resource-range = <0x00000000 0xFFFFFFFF>;
26         };
27         accumulator-ch {
28             resource-range = <0 48>;
29                 /* Each new line specifies a different path.  The last string in the line
30                  * must result in a property tied to a value */
31                 linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-low-0", "accumulator", "end", <1>, "end",
32                                                   "hwqueue@2a00000", "queues", "accumulator-low-1", "accumulator", "end", <1>, "end",
33                                                   "hwqueue@2a00000", "queues", "accumulator-low-2", "accumulator", "end", <1>, "end",
34                                                   "hwqueue@2a00000", "queues", "accumulator-low-3", "accumulator", "end", <1>, "end",
35                                                   "hwqueue@2a00000", "queues", "accumulator-high", "accumulator", "end", <1>, "end";            
36         };
37         qos-cluster {
38                         resource-range = <0 8>;
39         };
40         qos-queue {
41                         resource-range = <0 64>;
42         };        
44         /* Queue definitions based on csl_qm_queue.h */
45         low-prio-queue {
46                 resource-range = <0 512>;
47                 /* Each new line specifies a different path. */
48                 linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-low-0", "values", "end", <0>, <1>, "end",
49                                                   "hwqueue@2a00000", "queues", "accumulator-low-1", "values", "end", <0>, <1>, "end",
50                                                   "hwqueue@2a00000", "queues", "accumulator-low-2", "values", "end", <0>, <1>, "end",
51                                                   "hwqueue@2a00000", "queues", "accumulator-low-3", "values", "end", <0>, <1>, "end";
52         };
53         aif-queue {
54                 resource-range = <512 128>;
55         };
56         pass-queue {
57                 resource-range = <640 9>;
58                 ns-assignment = "NETFP_Fail_Route_Queue_Num", <650 1>;
59         };     
60         intc-queue {
61                 resource-range = <662 10>;
62         };
63         srio-queue {
64                 resource-range = <672 16>;
65                 linux-dtb-alias = "hwqueue@2a00000", "queues", "riotx", "values", "end", <0>, <1>, "end";
66         }; 
67         fftc-a-queue {
68                 resource-range = <688 4>;
69         };
70         fftc-b-queue {
71                 resource-range = <692 4>;
72         };
73         bcp-queue {
74                 resource-range = <864 8>;
75         };
76         high-prio-queue {
77                 resource-range = <704 32>;
78                 linux-dtb-alias = "hwqueue@2a00000", "queues", "accumulator-high", "values", "end", <0>, <1>, "end";
79         };
80         starvation-queue {
81                 resource-range = <736 64>;
82         };
83         infra-queue {
84                 resource-range = <800 32>;
85                 linux-dtb-alias = "hwqueue@2a00000", "queues", "infradma", "values", "end", <0>, <1>, "end";
86         };
87         traffic-shaping-queue {
88                 resource-range = <832 32>;
89         };
90         gp-queue {
91                 resource-range = <896 7296>;
92                 linux-dtb-alias = "hwqueue@2a00000", "queues", "general", "values", "end", <0>, <1>, "end";
93                 ns-assignment = "QOS_Ingress_Queue_Base", <8000 1>;
94         };          
95     }; /* qmss */
97     /* CPPI channel and flow ID ranges based on tci6614 cppi_device.c */
98     cppi {
99         srio-rx-ch {
100                 resource-range = <0 16>;
101         };
102         srio-tx-ch {
103                 resource-range = <0 16>;
104         };
105         srio-rx-flow-id {
106                 resource-range = <0 20>;
107         };   
109         aif-rx-ch {
110                 resource-range = <0 129>;
111         };
112         aif-tx-ch {
113                 resource-range = <0 129>;
114         };
115         aif-rx-flow-id {
116                 resource-range = <0 129>;
117         };      
119         fftc-a-rx-ch {
120                 resource-range = <0 4>;
121         };
122         fftc-a-tx-ch {
123                 resource-range = <0 4>;
124         };
125         fftc-a-rx-flow-id {
126                 resource-range = <0 8>;
127         };   
129         fftc-b-rx-ch {
130                 resource-range = <0 4>;
131         };
132         fftc-b-tx-ch {
133                 resource-range = <0 4>;
134         };
135         fftc-b-rx-flow-id {
136                 resource-range = <0 8>;
137         };   
139         pass-rx-ch {
140                 resource-range = <0 23>;
141         };
142         pass-tx-ch {
143                 resource-range = <0 9>;
144         };
145         pass-rx-flow-id {
146                 resource-range = <0 32>;
147                 ns-assignment = "NETFP_Fail_Route_Flow_ID", <23 1>;
148         };   
150         qmss-rx-ch {
151                 resource-range = <0 32>;
152         };
153         qmss-tx-ch {
154                 resource-range = <0 32>;
155         };
156         qmss-rx-flow-id {
157                 resource-range = <0 64>;
158         };   
160         bcp-rx-ch {
161                 resource-range = <0 8>;
162         };
163         bcp-tx-ch {
164                 resource-range = <0 8>;
165         };
166         bcp-rx-flow-id {
167                 resource-range = <0 64>;
168         };           
169     }; /* cppi */
171     pa-lut { 
172         resource-range = <0 5>;
173     };    
174 };