]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/rm-lld.git/blob - device/tci6614-linux-evm.dts
Updated static policy for testing
[keystone-rtos/rm-lld.git] / device / tci6614-linux-evm.dts
1 /dts-v1/;
4 / {
5         model = "Texas Instruments TCI6614 EVM";
6         compatible = "ti,tci6614-evm";
7         #address-cells = <1>;
8         #size-cells = <1>;
10         chosen {
11                 bootargs = "console=ttyS0,115200n8 mem=512M rootwait=1 rw ubi.mtd=2,2048 rootfstype=ubifs root=ubi0:rootfs";
12         };
14         memory {
15                 device_type = "memory";
16                 reg = <0x80000000 0x8000000>;
17         };
19         droppolicies: default-drop-policies {
20                 no-drop {
21                         default;
22                         packet-units;
23                         limit = <0>;
24                 };
25                 tail-drop-64pkts {
26                         packet-units;
27                         limit = <64>;
28                 };
29                 tail-drop-100pkts {
30                         packet-units;
31                         limit = <100>;
32                 };
33                 tail-drop-32kb {
34                         byte-units;
35                         limit = <32768>;
36                 };
37                 tail-drop-64kb {
38                         byte-units;
39                         limit = <65536>;
40                 };
41                 red-32kb-128kb {
42                         byte-units;
43                         limit = <196608>;
44                         random-early-drop = <32768 131072 2 2000>;
45                 };
46                 red-32kb-64kb {
47                         byte-units;
48                         limit = <131072>;
49                         random-early-drop = <32768 65536 2 2000>;
50                 };
51                 all-drop {
52                         byte-units;
53                         limit = <0>;
54                 };
55         };
57         qostree: qos-tree {
58                 strict-priority;                /* or weighted-round-robin */
59                 byte-units;                     /* packet-units or byte-units */
60                 output-rate = <31250000 25000>;
61                 overhead-bytes = <24>;          /* valid only if units are bytes */
62                 output-queue = <645>;           /* allowed only on root node */
64                 high-priority {
65                         byte-units;             /* packet-units or byte-units */
66                         priority = <0>;
67                         signaling {
68                                 input-queues = <8046 8071>;
69                                 stats-class  = "fastpath-hp";
70                                 drop-policy = "no-drop";
71                         };
72                         linux-signaling {
73                                 input-queues = <8077>;
74                                 stats-class  = "linux-hp";
75                                 drop-policy = "no-drop";
76                         };
77                 };
79                 wrr-aggregator {
80                         weighted-round-robin;
81                         priority = <1>;
82                         byte-units;                     /* packet-units or byte-units */
83                         overhead-bytes = <24>;          /* valid only if units are bytes */
84                         wrr-cos0 {
85                                 weighted-round-robin;           /* or weighted-round-robin */
86                                 byte-units;                     /* packet-units or byte-units */
87                                 weight = <20>;
88                                 overhead-bytes = <24>;          /* valid only if units are bytes */
89                                 4g-cos0 {
90                                         drop-policy = "tail-drop-32kb";
91                                         weight = <5>;
92                                         input-queues = <8010 8065>;
93                                         stats-class  = "cos0";
94                                 };
95                                 3g-cos0 {
96                                         drop-policy = "tail-drop-32kb";
97                                         weight = <5>;
98                                         input-queues = <8012>;
99                                         stats-class  = "cos0";
100                                 };
101                                 wifi-cos0 {
102                                         drop-policy = "tail-drop-32kb";
103                                         weight = <5>;
104                                         input-queues = <8014>;
105                                         stats-class  = "cos0";
106                                 };
107                                 linux-cos0 {
108                                         drop-policy = "tail-drop-32kb";
109                                         weight = <5>;
110                                         input-queues = <8073>;
111                                         stats-class  = "linux-cos0";
112                                 };
113                         };
114                         wrr-cos1 {
115                                 weighted-round-robin;           /* or weighted-round-robin */
116                                 byte-units;                     /* packet-units or byte-units */
117                                 weight = <40>;
118                                 overhead-bytes = <24>;          /* valid only if units are bytes */
119                                 4g-cos1 {
120                                         drop-policy = "red-32kb-128kb";
121                                         weight = <10>;
122                                         input-queues = <8018 8066>;
123                                         stats-class  = "cos1";
124                                 };
125                                 3g-cos1 {
126                                         drop-policy = "red-32kb-128kb";
127                                         weight = <10>;
128                                         input-queues = <8020>;
129                                         stats-class  = "cos1";
130                                 };
131                                 wifi-cos1 {
132                                         drop-policy = "red-32kb-128kb";
133                                         weight = <10>;
134                                         input-queues = <8022>;
135                                         stats-class  = "cos1";
136                                 };
137                                 linux-cos1 {
138                                         drop-policy = "red-32kb-128kb";
139                                         weight = <10>;
140                                         input-queues = <8074>;
141                                         stats-class  = "linux-cos1";
142                                 };
143                         };
144                         wrr-cos2 {
145                                 weighted-round-robin;           /* or weighted-round-robin */
146                                 byte-units;                     /* packet-units or byte-units */
147                                 weight = <60>;
148                                 overhead-bytes = <24>;          /* valid only if units are bytes */
149                                 4g-cos2 {
150                                         drop-policy = "red-32kb-64kb";
151                                         weight = <15>;
152                                         input-queues = <8026 8067>;
153                                         stats-class  = "cos2";
154                                 };
155                                 3g-cos2 {
156                                         drop-policy = "red-32kb-64kb";
157                                         weight = <15>;
158                                         input-queues = <8028>;
159                                         stats-class  = "cos2";
160                                 };
161                                 wifi-cos2 {
162                                         drop-policy = "red-32kb-64kb";
163                                         weight = <15>;
164                                         input-queues = <8030>;
165                                         stats-class  = "cos2";
166                                 };
167                                 linux-cos2 {
168                                         drop-policy = "red-32kb-64kb";
169                                         weight = <15>;
170                                         input-queues = <8075>;
171                                         stats-class  = "linux-cos2";
172                                 };
173                         };
174                         wrr-cos3 {
175                                 weighted-round-robin;           /* or weighted-round-robin */
176                                 byte-units;                     /* packet-units or byte-units */
177                                 weight = <80>;
178                                 overhead-bytes = <24>;          /* valid only if units are bytes */
179                                 4g-cos3 {
180                                         drop-policy = "tail-drop-64kb";
181                                         weight = <20>;
182                                         input-queues = <8034 8068>;
183                                         stats-class  = "cos3";
184                                 };
185                                 3g-cos3 {
186                                         drop-policy = "tail-drop-64kb";
187                                         weight = <20>;
188                                         input-queues = <8036>;
189                                         stats-class  = "cos3";
190                                 };
191                                 wifi-cos3 {
192                                         drop-policy = "tail-drop-64kb";
193                                         weight = <20>;
194                                         input-queues = <8038>;
195                                         stats-class  = "cos3";
196                                 };
197                                 linux-cos3 {
198                                         drop-policy = "tail-drop-64kb";
199                                         weight = <20>;
200                                         input-queues = <8076>;
201                                         stats-class  = "linux-cos3";
202                                 };
203                         };
204                 };
206                 best-effort {
207                         byte-units;             /* packet-units or byte-units */
208                         priority = <2>;
209                         drop-policy = "tail-drop-64kb";
210                         fastpath-best-effort {
211                                 // queues between 8000 to 8063 not assigned
212                                 // in the above nodes are assigned below as
213                                 // unclassified DSCP values
214                                 // queues between 8064 to 8071 not assigned
215                                 // in the above nodes are assigned below as
216                                 // unclassified VLAN p-bit values
217                                 input-queues = <8000 8001 8002 8003 8004 
218                                                 8005 8006 8007 8008 8009 8011 
219                                                 8013 8015 8016 8017 8019 8021
220                                                 8023 8024 8025 8027 8029 8031 
221                                                 8032 8033 8035 8037 8039 8040 
222                                                 8041 8042 8043 8044 8045 8047 
223                                                 8048 8049 8050 8051 8052 8053 
224                                                 8054 8055 8056 8057 8058 8059
225                                                 8060 8061 8062 8063 
226                                                 8064 8069 8070>; 
227                                 stats-class  = "fastpath-be";
228                         };
229                         linux-best-effort {
230                                 input-queues = <8072>;
231                                 stats-class  = "linux-be";
232                         };
233                 };
234         };
235         soc6614@2000000 {
236                 #address-cells = <1>;
237                 #size-cells = <1>;
238                 compatible = "simple-bus", "ti,tci6614-bus";
239                 ranges;
241                 hwqueue0: hwqueue@2a00000 {
242                         compatible = "ti,keystone-hwqueue";
243                         #address-cells = <1>;
244                         #size-cells = <1>;
245                         ranges;
246                         reg             = <0x2a00000 0xc0000>;
247                         range           = <0 0x2000>;
248                         linkram0        = <0x80000 0x4000>;
249                         linkram1        = <0x0 0x10000>;
251                         qmgrs {
252                                 #address-cells = <1>;
253                                 #size-cells = <1>;
254                                 ranges;
255                                 qmgr0 {
256                                         managed-queues = <0 0x2000>;    /* managed queues */
257                                         reg = <0x2a00000 0x20000        /* 0 - peek     */
258                                                0x2a62000 0x6000         /* 1 - status   */
259                                                0x2a68000 0x2000         /* 2 - config   */
260                                                0x2a6a000 0x4000         /* 3 - region   */
261                                                0x2a20000 0x20000        /* 4 - push     */
262                                                0x2a20000 0x20000>;      /* 5 - pop      */
263                                 };
264                         };
266                         queues {
267                                 qpend-arm {
268                                         values = <650 8>;
269                                         irq-base= <41>;
270                                         reserved;
271                                 };
272                                 general {
273                                         values = <4000 64>;
274                                 };
275                                 pa {
276                                         values = <640 9>;
277                                         reserved;
278                                 };
279                                 infradma {
280                                         values = <800 12>;
281                                         reserved;
282                                 };
283                                 accumulator-low-0 {
284                                         values = <0 32>;
285                                         // pdsp-id, channel, entries, pacing mode, latency
286                                         accumulator = <0 32 8 2 0>;
287                                         irq-base = <363>;
288                                         multi-queue;
289                                         reserved;
290                                 };
291                                 accumulator-low-1 {
292                                         values = <32 32>;
293                                         // pdsp-id, channel, entries, pacing mode, latency
294                                         accumulator = <0 33 8 2 0>;
295                                         irq-base = <364>;
296                                         multi-queue;
297                                 };
298                                 accumulator-low-2 {
299                                         values = <64 32>;
300                                         // pdsp-id, channel, entries, pacing mode, latency
301                                         accumulator = <0 34 8 2 0>;
302                                         irq-base = <365>;
303                                         multi-queue;
304                                 };
305                                 accumulator-low-3 {
306                                         values = <96 32>;
307                                         // pdsp-id, channel, entries, pacing mode, latency
308                                         accumulator = <0 35 8 2 0>;
309                                         irq-base = <366>;
310                                         multi-queue;
311                                 };
312                                 accumulator-high {
313                                         values = <728 8>;
314                                         // pdsp-id, channel, entries, pacing mode, latency
315                                         accumulator = <0 20 8 2 0>;
316                                         irq-base = <150>;
317                                         reserved;
318                                 };
319                                 qos-inputs {
320                                         values                  = <8000 192>;
321                                         pdsp-id                 = <1>;
322                                         ticks-per-sec           = <10000>;
323                                         qos-cfg                 = <4 50 1 1 0xf00 0 0>;
324                                         sched-port-configs      = <0 20 0x1c8>;
325                                         drop-out-profiles       = <0 36 0xc>;
326                                         drop-cfg-profiles       = <0 8 0x14>;
327                                         drop-queue-configs      = <0 80 0x4>;
328                                         statistics-profiles     = <0 48>;
329                                         drop-policies           = <&droppolicies>;
330                                         qos-tree                = <&qostree>;
331                                         reserved;
332                                 };
333                                 riotx {
334                                         values = <672 1>;
335                                         reserved;
336                                 };
337                         };
338                         regions {
339                                 #address-cells = <1>;
340                                 #size-cells = <1>;
341                                 ranges;
342                                 region-12 {
343                                         id = <12>;
344                                         values  = <4096 128>;   /* num_desc desc_size */
345                                         link-index = <0x4000>;
346                                 };
347                         };
348                         descriptors {
349                                 pool-net {
350                                         values = <2048 128>;    /* num_desc desc_size */
351                                         region-id = <12>;
352                                 };
353                                 pool-udma {
354                                         values = <1152 128>;    /* num_desc desc_size */
355                                         region-id = <12>;
356                                 };
357                                 pool-rio {
358                                         values = <128 128>;
359                                         region-id = <12>;
360                                 };
361                         };
362                         pdsps {
363                                 #address-cells = <1>;
364                                 #size-cells = <1>;
365                                 ranges;
366                                 pdsp0@0x2a60000 {
367                                         firmware = "keystone/qmss_pdsp_acc48_le_1_0_3_12.fw";
368                                         reg = <0x2a60000 0x1000    /*iram */
369                                                0x2a6e000 0x1000    /*reg*/
370                                                0x2aa0000 0x3c8     /*intd */
371                                                0x2ab8000 0x4000>;  /*cmd*/
372                                         id = <0>;
373                                 };
374                                 pdsp1@0x2a61000 {
375                                         firmware = "keystone/qmss_qos.fw";
376                                         reg = <0x2a61000 0x1000    /*iram */
377                                                0x2a6f000 0x1000    /*reg*/
378                                                0x2aa0000 0x3c8     /*intd */
379                                                0x2abc000 0x4000>;  /*cmd*/
380                                         id = <1>;
381                                 };
382                         };
383                 };
385                 infradma: pktdma@2a6c000 {
386                         compatible = "ti,keystone-pktdma";
387                         reg = <0x2a6c000 0x100          /* 0 - global  */
388                                0x2a6c400 0x400          /* 1 - txchan  */
389                                0x2a6c800 0x400          /* 2 - rxchan  */
390                                0x2a6cc00 0x400          /* 3 - txsched */
391                                0x2a6d000 0x400>;        /* 4 - rxflow  */
392                         loop-back;
393                         /* big-endian; */
394                         enable-all;
395                         /* debug; */
396                         /* rx-priority = <0>; */
397                         /* tx-priority = <0>; */
398                         logical-queue-managers  = <2>;
399                         queues-per-queue-manager = <4096>;
400                         qm-base-address = <0x34020000 0x34030000>;
402                         channels {
403                                 udmatx0 {
404                                         transmit;
405                                         label           = "udmatx0";
406                                         pool            = "pool-udma";
407                                         submit-queue    = <800>;
408                                         complete-queue  = <0>;
409                                         /* debug; */
410                                         channel         = <0>;
411                                         priority        = <1>;
412                                         flowtag         = <0>;
413                                 };
414                                 udmatx1 {
415                                         transmit;
416                                         label           = "udmatx1";
417                                         pool            = "pool-udma";
418                                         submit-queue    = <801>;
419                                         complete-queue  = <1>;
420                                         /* debug; */
421                                         channel         = <1>;
422                                         priority        = <1>;
423                                         flowtag         = <1>;
424                                 };
425                                 udmatx2 {
426                                         transmit;
427                                         label           = "udmatx2";
428                                         pool            = "pool-udma";
429                                         submit-queue    = <802>;
430                                         complete-queue  = <2>;
431                                         /* debug; */
432                                         channel         = <2>;
433                                         priority        = <1>;
434                                         flowtag         = <2>;
435                                 };
436                                 udmatx3 {
437                                         transmit;
438                                         label           = "udmatx3";
439                                         pool            = "pool-udma";
440                                         submit-queue    = <803>;
441                                         complete-queue  = <3>;
442                                         /* debug; */
443                                         channel         = <3>;
444                                         priority        = <1>;
445                                         flowtag         = <3>;
446                                 };
447                                 udmatx4 {
448                                         transmit;
449                                         label           = "udmatx4";
450                                         pool            = "pool-udma";
451                                         submit-queue    = <804>;
452                                         complete-queue  = <4>;
453                                         /* debug; */
454                                         channel         = <4>;
455                                         priority        = <1>;
456                                         flowtag         = <4>;
457                                 };
458                                 udmatx5 {
459                                         transmit;
460                                         label           = "udmatx5";
461                                         pool            = "pool-udma";
462                                         submit-queue    = <805>;
463                                         complete-queue  = <5>;
464                                         /* debug; */
465                                         channel         = <5>;
466                                         priority        = <1>;
467                                         flowtag         = <5>;
468                                 };
469                                 udmatx6 {
470                                         transmit;
471                                         label           = "udmatx6";
472                                         pool            = "pool-udma";
473                                         submit-queue    = <806>;
474                                         complete-queue  = <6>;
475                                         /* debug; */
476                                         channel         = <6>;
477                                         priority        = <1>;
478                                         flowtag         = <6>;
479                                 };
480                                 udmatx7 {
481                                         transmit;
482                                         label           = "udmatx7";
483                                         pool            = "pool-udma";
484                                         submit-queue    = <807>;
485                                         complete-queue  = <7>;
486                                         /* debug; */
487                                         channel         = <7>;
488                                         priority        = <1>;
489                                         flowtag         = <7>;
490                                 };
491                                 udmatx8 {
492                                         transmit;
493                                         label           = "udmatx8";
494                                         pool            = "pool-udma";
495                                         submit-queue    = <808>;
496                                         complete-queue  = <8>;
497                                         /* debug; */
498                                         channel         = <8>;
499                                         priority        = <1>;
500                                         flowtag         = <8>;
501                                 };
502                                 udmatx9 {
503                                         transmit;
504                                         label           = "udmatx9";
505                                         pool            = "pool-udma";
506                                         submit-queue    = <809>;
507                                         complete-queue  = <9>;
508                                         /* debug; */
509                                         channel         = <9>;
510                                         priority        = <1>;
511                                         flowtag         = <9>;
512                                 };
513                                 udmatx10 {
514                                         transmit;
515                                         label           = "udmatx10";
516                                         pool            = "pool-udma";
517                                         submit-queue    = <810>;
518                                         complete-queue  = <10>;
519                                         /* debug; */
520                                         channel         = <10>;
521                                         priority        = <1>;
522                                         flowtag         = <10>;
523                                 };
524                                 udmatx11 {
525                                         transmit;
526                                         label           = "udmatx11";
527                                         pool            = "pool-udma";
528                                         submit-queue    = <811>;
529                                         complete-queue  = <11>;
530                                         /* debug; */
531                                         channel         = <11>;
532                                         priority        = <1>;
533                                         flowtag         = <11>;
534                                 };
535                                 udmarx0 {
536                                         receive;
537                                         label           = "udmarx0";
538                                         pool            = "pool-udma";
539                                         /* submit-queue = <xx>; */
540                                         complete-queue  = <16>;
541                                         /* debug; */
542                                         channel         = <0>;
543                                         flow            = <0>;
544                                 };
545                                 udmarx1 {
546                                         receive;
547                                         label           = "udmarx1";
548                                         pool            = "pool-udma";
549                                         /* submit-queue = <xx>; */
550                                         complete-queue  = <17>;
551                                         /* debug; */
552                                         channel         = <1>;
553                                         flow            = <1>;
554                                 };
555                                 udmarx2 {
556                                         receive;
557                                         label           = "udmarx2";
558                                         pool            = "pool-udma";
559                                         /* submit-queue = <xx>; */
560                                         complete-queue  = <18>;
561                                         /* debug; */
562                                         channel         = <2>;
563                                         flow            = <2>;
564                                 };
565                                 udmarx3 {
566                                         receive;
567                                         label           = "udmarx3";
568                                         pool            = "pool-udma";
569                                         /* submit-queue = <xx>; */
570                                         complete-queue  = <19>;
571                                         /* debug; */
572                                         channel         = <3>;
573                                         flow            = <3>;
574                                 };
575                                 udmarx4 {
576                                         receive;
577                                         label           = "udmarx4";
578                                         pool            = "pool-udma";
579                                         /* submit-queue = <xx>; */
580                                         complete-queue  = <20>;
581                                         /* debug; */
582                                         channel         = <4>;
583                                         flow            = <4>;
584                                 };
585                                 udmarx5 {
586                                         receive;
587                                         label           = "udmarx5";
588                                         pool            = "pool-udma";
589                                         /* submit-queue = <xx>; */
590                                         complete-queue  = <21>;
591                                         /* debug; */
592                                         channel         = <5>;
593                                         flow            = <5>;
594                                 };
595                                 udmarx6 {
596                                         receive;
597                                         label           = "udmarx6";
598                                         pool            = "pool-udma";
599                                         /* submit-queue = <xx>; */
600                                         complete-queue  = <22>;
601                                         /* debug; */
602                                         channel         = <6>;
603                                         flow            = <6>;
604                                 };
605                                 udmarx7 {
606                                         receive;
607                                         label           = "udmarx7";
608                                         pool            = "pool-udma";
609                                         /* submit-queue = <xx>; */
610                                         complete-queue  = <23>;
611                                         /* debug; */
612                                         channel         = <7>;
613                                         flow            = <7>;
614                                 };
615                                 udmarx8 {
616                                         receive;
617                                         label           = "udmarx8";
618                                         pool            = "pool-udma";
619                                         /* submit-queue = <xx>; */
620                                         complete-queue  = <24>;
621                                         /* debug; */
622                                         channel         = <8>;
623                                         flow            = <8>;
624                                 };
625                                 udmarx9 {
626                                         receive;
627                                         label           = "udmarx9";
628                                         pool            = "pool-udma";
629                                         /* submit-queue = <xx>; */
630                                         complete-queue  = <25>;
631                                         /* debug; */
632                                         channel         = <9>;
633                                         flow            = <9>;
634                                 };
635                                 udmarx10 {
636                                         receive;
637                                         label           = "udmarx10";
638                                         pool            = "pool-udma";
639                                         /* submit-queue = <xx>; */
640                                         complete-queue  = <26>;
641                                         /* debug; */
642                                         channel         = <10>;
643                                         flow            = <10>;
644                                 };
645                                 udmarx11 {
646                                         receive;
647                                         label           = "udmarx11";
648                                         pool            = "pool-udma";
649                                         /* submit-queue = <xx>; */
650                                         complete-queue  = <27>;
651                                         /* debug; */
652                                         channel         = <11>;
653                                         flow            = <11>;
654                                 };
655                         };
656                 };
658                 padma: pktdma@2004000 {
659                         compatible = "ti,keystone-pktdma";
660                         reg = <0x2004000 0x100          /* 0 - global  */
661                                0x2004400 0x120          /* 1 - txchan  */
662                                0x2004800 0x300          /* 2 - rxchan  */
663                                0x2004c00 0x120          /* 3 - txsched */
664                                0x2005000 0x400>;        /* 4 - rxflow  */
665                         /* loop-back;  */
666                         /* bigendian; */
667                         enable-all;
668                         /* debug; */
669                         /* rx-priority = <0>; */
670                         /* tx-priority = <0>; */
671                         logical-queue-managers  = <2>;
672                         queues-per-queue-manager = <4096>;
673                         qm-base-address = <0x34020000 0x34030000>;
675                         channels {
676                                 nettx {
677                                         transmit;
678                                         label           = "nettx";
679                                         pool            = "pool-net";
680                                         submit-queue    = <648>;
681                                         /* complete-queue = <xx>; */
682                                         /* debug; */
683                                         /* channel = <0>; */
684                                         /* priority = <1>; */
685                                 };
686                                 netrx {
687                                         receive;
688                                         label           = "netrx";
689                                         pool            = "pool-net";
690                                         /* submit-queue   = <xx>; */
691                                         complete-queue = <650>;
692                                         /* debug; */
693                                         /* channel = <0>; */
694                                         flow            = <23>;
695                                 };
696                                 satx {
697                                         transmit;
698                                         label           = "satx";
699                                         pool            = "pool-net";
700                                         submit-queue    = <646>;
701                                 };
702                                 patx-cmd {
703                                         transmit;
704                                         label           = "patx-cmd";
705                                         pool            = "pool-net";
706                                         submit-queue    = <640>;
707                                         /* complete-queue = <xx>; */
708                                         /* debug; */
709                                         /* channel = <xx>; */
710                                         /* priority = <1>; */
711                                 };
712                                 patx-dat {
713                                         transmit;
714                                         label           = "patx-dat";
715                                         pool            = "pool-net";
716                                         submit-queue    = <645>;
717                                         /* complete-queue = <xx>; */
718                                         /* debug; */
719                                         /* channel = <xx>; */
720                                         /* priority = <1>; */
721                                 };
722                                 parx {
723                                         receive;
724                                         label           = "parx";
725                                         pool            = "pool-net";
726                                         /* submit-queue   = <xx>; */
727                                         /* complete-queue = <xx>; */
728                                         /* debug; */
729                                         /* channel = <0>; */
730                                         flow            = <31>;
731                                 };
732                                 qos0 {
733                                         transmit;
734                                         label           = "qos0";
735                                         pool            = "pool-net";
736                                         submit-queue    = <8072>;
737                                         /* complete-queue = <xx>; */
738                                         /* debug; */
739                                         /* channel = <xx>; */
740                                         /* priority = <1>; */
741                                 };
742                                 qos1 {
743                                         transmit;
744                                         label           = "qos1";
745                                         pool            = "pool-net";
746                                         submit-queue    = <8073>;
747                                         /* complete-queue = <xx>; */
748                                         /* debug; */
749                                         /* channel = <xx>; */
750                                         /* priority = <1>; */
751                                 };
752                                 qos2 {
753                                         transmit;
754                                         label           = "qos2";
755                                         pool            = "pool-net";
756                                         submit-queue    = <8074>;
757                                         /* complete-queue = <xx>; */
758                                         /* debug; */
759                                         /* channel = <xx>; */
760                                         /* priority = <1>; */
761                                 };
762                                 qos3 {
763                                         transmit;
764                                         label           = "qos3";
765                                         pool            = "pool-net";
766                                         submit-queue    = <8075>;
767                                         /* complete-queue = <xx>; */
768                                         /* debug; */
769                                         /* channel = <xx>; */
770                                         /* priority = <1>; */
771                                 };
772                                 qos4 {
773                                         transmit;
774                                         label           = "qos4";
775                                         pool            = "pool-net";
776                                         submit-queue    = <8076>;
777                                         /* complete-queue = <xx>; */
778                                         /* debug; */
779                                         /* channel = <xx>; */
780                                         /* priority = <1>; */
781                                 };
782                                 qos5 {
783                                         transmit;
784                                         label           = "qos5";
785                                         pool            = "pool-net";
786                                         submit-queue    = <8077>;
787                                         /* complete-queue = <xx>; */
788                                         /* debug; */
789                                         /* channel = <xx>; */
790                                         /* priority = <1>; */
791                                 };
792                         };
793                 };
795                 riodma: pktdma@2901000 {
796                         compatible = "ti,keystone-pktdma";
797                         reg = <0x2901000 0x100          /* 0 - global  */
798                                0x2901400 0x200          /* 1 - txchan  */
799                                0x2901800 0x200          /* 2 - rxchan  */
800                                0x2901c00 0x200          /* 3 - txsched */
801                                0x2902000 0x300>;        /* 4 - rxflow  */
802                         enable-all;
804                         logical-queue-managers  = <2>;
805                         queues-per-queue-manager = <4096>;
806                         qm-base-address = <0x34020000 0x34030000>;
808                         channels {
809                                 riotx {
810                                         transmit;
811                                         label           = "riotx";
812                                         pool            = "pool-rio";
813                                         submit-queue    = <672>;
814                                         /*complete-queue        = <657>;*/
815                                         /*debug;*/
816                                 };
817                                 riorx {
818                                         receive;
819                                         label           = "riorx";
820                                         pool            = "pool-rio";
821                                         complete-queue  = <653>;
822                                         flow            = <21>;
823                                 };
824                         };
825                 };
827                 mdio: mdio@2090300 {
828                         compatible      = "ti,davinci_mdio";
829                         reg             = <0x2090300 0x100>;
830                         bus-freq        = <50000000>;
831                 };
833                 udma0 {
834                         compatible = "ti,keystone-udma";
835                 };
837                 netcp: netcp@2090000 {
838                         reg = <0x2090000 0xf00
839                                 0x2620110 0x8>;
840                         compatible = "ti,keystone-netcp";
842                         rx-channel = "netrx";
843                         rx-queue-depth = <128 128 0 0>;
844                         rx-buffer-size = <1500 4096 0 0>;
846                         efuse-mac = <1>;
847                         local-mac-address = [00 18 31 7e 3e 6e];
849                         cpsw: cpsw@2090000 {
850                                 label = "keystone-cpsw";
852                                 tx-channel = "nettx";
853                                 tx_queue_depth = <32>;
854                                 intf_tx_queues = <6>;
856                                 sgmii_module_ofs  = <0x100>;
857                                 switch_module_ofs = <0x800>;
858                                 host_port_reg_ofs = <0x834>;
859                                 slave_reg_ofs     = <0x860>;
860                                 sliver_reg_ofs    = <0x900>;
861                                 hw_stats_reg_ofs  = <0xb00>;
862                                 ale_reg_ofs       = <0xe00>;
864                                 num_slaves  = <2>;
865                                 ale_ageout  = <10>;
866                                 ale_entries = <1024>;
867                                 ale_ports   = <3>;
869                                 slaves {
870                                         slave0 {
871                                                 label           = "slave0";
872                                                 link-interface  = <2>;
873                                         };
874                                         slave1 {
875                                                 label           = "slave1";
876                                                 link-interface  = <1>;
877                                         };
878                                 };
879                         };
880                         pa: pa@2000000 {
881                                 label = "keystone-pa";
882                                 checksum-offload        = <2>;
883                                 txhook-order            = <10>;
884                                 txhook-softcsum         = <40>;
885                                 rxhook-order            = <10>;
887                                 tx_cmd_queue_depth      = <32>;
888                                 tx_data_queue_depth     = <32>;
889                                 rx_pool_depth           = <32>;
890                                 rx_buffer_size          = <128>;
891                         };
892                         qos: qos@0 {
893                                 label = "keystone-qos";
894                                 input-channels {
895                                         chan-0 {
896                                                 tx-channel = "qos0";
897                                                 tx_queue_depth = <128>;
898                                         };
899                                         chan-1 {
900                                                 tx-channel = "qos1";
901                                                 tx_queue_depth = <128>;
902                                         };
903                                         chan-2 {
904                                                 tx-channel = "qos2";
905                                                 tx_queue_depth = <128>;
906                                         };
907                                         chan-3 {
908                                                 tx-channel = "qos3";
909                                                 tx_queue_depth = <128>;
910                                         };
911                                         chan-4 {
912                                                 tx-channel = "qos4";
913                                                 tx_queue_depth = <128>;
914                                         };
915                                         chan-5 {
916                                                 tx-channel = "qos5";
917                                                 tx_queue_depth = <128>;
918                                         };
919                                 };
920                         };
921                         sa: pa@20c0000 {
922                                 label = "keystone-sa";
924                                 tx_queue_depth = <32>;
925                         };
926                 };
928                 crypto: crypto@20c0000 {
929                         compatible = "ti,keystone-crypto";
930                         reg = <0x20c0000 0x40000>;
931                 };
933                 ipcirq: ipcirq@26202bc {        /* ipc irq chip */
934                         compatible = "ti,keystone-ipc-irq";
935                         reg  = <0x026202bc 4    /* host ack register */
936                                 0x0262027c 4>;  /* ipc host interrupt generation register */
937                         irq  = <129>;           /* it should match the value in irqs.h */
938                         base = <512>;           /* base irq number
939                                                    following is the source id to irq mapping
940                                                    SRCS0 <-> base ... SRCS27 <-> (base + 27)
941                                                    note that SRCS0 is bit 4 in ipc register */
942                 };
944                 rproc0: rproc@2620040 {
945                         compatible = "ti,keystone-rproc";
946                         reg = <0x02620040 4                             /* boot address register */
947                                0x02350a5c 4                             /* module control register */
948                                0x02350120 4                             /* power domain transition command register */
949                                0x02620240 4>;                           /* ipc interrupt generation register */
950                         addr-map = <0x10800000 0x00800000 0x100000      /* l2-ram  global, local, size */
951                                     0x10800000 0x10800000 0x100000      /* l2-ram  global, global, size */
952                                     0x0c000000 0x0c000000 0x200000      /* msmc-sram  global, local, size */
953                                     0xa0000000 0xa0000000 0x20000000>;  /* ddr3-sram  global, local, size */
954                         exception-irq   = <512>;                        /* ipc irq for DSP exception */
955                         firmware        = "dsp-core0.out";
956                         core            = "dsp-core0";
957                 };
959                 rproc1: rproc@2620044 {
960                         compatible = "ti,keystone-rproc";
961                         reg = <0x02620044 4
962                                0x02350a60 4
963                                0x02350120 4
964                                0x02620244 4>;
965                         addr-map = <0x11800000 0x00800000 0x100000
966                                     0x11800000 0x11800000 0x100000
967                                     0x0c000000 0x0c000000 0x200000
968                                     0xa0000000 0xa0000000 0x20000000>;
969                         exception-irq   = <513>;
970                         firmware        = "dsp-core1.out";
971                         core            = "dsp-core1";
972                 };
974                 rproc2: rproc@2620048 {
975                         compatible = "ti,keystone-rproc";
976                         reg = <0x02620048 4
977                                0x02350a68 4
978                                0x02350120 4
979                                0x02620248 4>;
980                         addr-map = <0x12800000 0x00800000 0x100000
981                                     0x12800000 0x12800000 0x100000
982                                     0x0c000000 0x0c000000 0x200000
983                                     0xa0000000 0xa0000000 0x20000000>;
984                         exception-irq   = <514>;
985                         firmware        = "dsp-core2.out";
986                         core            = "dsp-core2";
987                 };
989                 rproc3: rproc@262004C {
990                         compatible = "ti,keystone-rproc";
991                         reg = <0x0262004c 4
992                                0x02350a70 4
993                                0x02350120 4
994                                0x0262024c 4>;
995                         addr-map = <0x13800000 0x00800000 0x100000
996                                     0x13800000 0x13800000 0x100000
997                                     0x0c000000 0x0c000000 0x200000
998                                     0xa0000000 0xa0000000 0x20000000>;
999                         exception-irq   = <515>;
1000                         firmware        = "dsp-core3.out";
1001                         core            = "dsp-core3";
1002                 };
1004                 rapidio: rapidio@2900000 {
1005                         #address-cells = <1>;
1006                         #size-cells = <1>;
1007                         reg = <0x2900000 0x21000               /* rio regs */
1008                                0x2620000 0x3b0>;               /* boot config regs */
1009                         compatible = "ti,keystone-rapidio";
1011                         tx_channel = "riotx";
1012                         tx_queue_depth = <32>;
1014                         rx_channel = "riorx";
1015                         rx_queue_depth  = <64 0 0 0>;
1016                         rx_buffer_size  = <1552 0 0 0>;
1018                         ports = <0x1>;      /* bitfield of port(s) to probe on this controller */
1019                         dev-id-size = <0>;  /* RapidIO common transport system size.
1020                                              * 0 - Small size. 8-bit deviceID fields. 256 devices.
1021                                              * 1 - Large size, 16-bit deviceID fields. 65536 devices. */
1022                 };
1023         };
1024 };