~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/ti/keystone/keystone-k2hk-netcp.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /scripts/dtc/include-prefixes/arm/ti/keystone/keystone-k2hk-netcp.dtsi (Architecture i386) and /scripts/dtc/include-prefixes/arm/ti/keystone/keystone-k2hk-netcp.dtsi (Architecture sparc64)


  1 // SPDX-License-Identifier: GPL-2.0                 1 // SPDX-License-Identifier: GPL-2.0
  2 /*                                                  2 /*
  3  * Device Tree Source for Keystone 2 Hawking N      3  * Device Tree Source for Keystone 2 Hawking Netcp driver
  4  *                                                  4  *
  5  * Copyright (C) 2015-2017 Texas Instruments I      5  * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com/
  6  */                                                 6  */
  7                                                     7 
  8 qmss: qmss@2a40000 {                                8 qmss: qmss@2a40000 {
  9         compatible = "ti,keystone-navigator-qm      9         compatible = "ti,keystone-navigator-qmss";
 10         dma-coherent;                              10         dma-coherent;
 11         #address-cells = <1>;                      11         #address-cells = <1>;
 12         #size-cells = <1>;                         12         #size-cells = <1>;
 13         clocks = <&chipclk13>;                     13         clocks = <&chipclk13>;
 14         ranges;                                    14         ranges;
 15         queue-range = <0 0x4000>;                  15         queue-range = <0 0x4000>;
 16         linkram0 = <0x100000 0x8000>;              16         linkram0 = <0x100000 0x8000>;
 17         linkram1 = <0x0 0x10000>;                  17         linkram1 = <0x0 0x10000>;
 18                                                    18 
 19         qmgrs {                                    19         qmgrs {
 20                 #address-cells = <1>;              20                 #address-cells = <1>;
 21                 #size-cells = <1>;                 21                 #size-cells = <1>;
 22                 ranges;                            22                 ranges;
 23                 qmgr0 {                            23                 qmgr0 {
 24                         managed-queues = <0 0x     24                         managed-queues = <0 0x2000>;
 25                         reg = <0x2a40000 0x200     25                         reg = <0x2a40000 0x20000>,
 26                               <0x2a06000 0x400     26                               <0x2a06000 0x400>,
 27                               <0x2a02000 0x100     27                               <0x2a02000 0x1000>,
 28                               <0x2a03000 0x100     28                               <0x2a03000 0x1000>,
 29                               <0x23a80000 0x20     29                               <0x23a80000 0x20000>,
 30                               <0x2a80000 0x200     30                               <0x2a80000 0x20000>;
 31                         reg-names = "peek", "s     31                         reg-names = "peek", "status", "config",
 32                                     "region",      32                                     "region", "push", "pop";
 33                 };                                 33                 };
 34                                                    34 
 35                 qmgr1 {                            35                 qmgr1 {
 36                         managed-queues = <0x20     36                         managed-queues = <0x2000 0x2000>;
 37                         reg = <0x2a60000 0x200     37                         reg = <0x2a60000 0x20000>,
 38                               <0x2a06400 0x400     38                               <0x2a06400 0x400>,
 39                               <0x2a04000 0x100     39                               <0x2a04000 0x1000>,
 40                               <0x2a05000 0x100     40                               <0x2a05000 0x1000>,
 41                               <0x23aa0000 0x20     41                               <0x23aa0000 0x20000>,
 42                               <0x2aa0000 0x200     42                               <0x2aa0000 0x20000>;
 43                         reg-names = "peek", "s     43                         reg-names = "peek", "status", "config",
 44                                     "region",      44                                     "region", "push", "pop";
 45                 };                                 45                 };
 46         };                                         46         };
 47                                                    47 
 48         queue-pools {                              48         queue-pools {
 49                 qpend {                            49                 qpend {
 50                         qpend-0 {                  50                         qpend-0 {
 51                                 qrange = <658      51                                 qrange = <658 8>;
 52                                 interrupts = <     52                                 interrupts = <0 40 0xf04 0 41 0xf04 0 42 0xf04
 53                                                    53                                               0 43 0xf04 0 44 0xf04 0 45 0xf04
 54                                                    54                                               0 46 0xf04 0 47 0xf04>;
 55                         };                         55                         };
 56                         qpend-1 {                  56                         qpend-1 {
 57                                 qrange = <8704     57                                 qrange = <8704 16>;
 58                                 interrupts = <     58                                 interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
 59                                                    59                                               0 51 0xf04 0 52 0xf04 0 53 0xf04
 60                                                    60                                               0 54 0xf04 0 55 0xf04 0 56 0xf04
 61                                                    61                                               0 57 0xf04 0 58 0xf04 0 59 0xf04
 62                                                    62                                               0 60 0xf04 0 61 0xf04 0 62 0xf04
 63                                                    63                                               0 63 0xf04>;
 64                                 qalloc-by-id;      64                                 qalloc-by-id;
 65                         };                         65                         };
 66                         qpend-2 {                  66                         qpend-2 {
 67                                 qrange = <8720     67                                 qrange = <8720 16>;
 68                                 interrupts = <     68                                 interrupts = <0 64 0xf04 0 65 0xf04 0 66 0xf04
 69                                                    69                                               0 59 0xf04 0 68 0xf04 0 69 0xf04
 70                                                    70                                               0 70 0xf04 0 71 0xf04 0 72 0xf04
 71                                                    71                                               0 73 0xf04 0 74 0xf04 0 75 0xf04
 72                                                    72                                               0 76 0xf04 0 77 0xf04 0 78 0xf04
 73                                                    73                                               0 79 0xf04>;
 74                         };                         74                         };
 75                 };                                 75                 };
 76                 general-purpose {                  76                 general-purpose {
 77                         gp-0 {                     77                         gp-0 {
 78                                 qrange = <4000     78                                 qrange = <4000 64>;
 79                         };                         79                         };
 80                         netcp-tx {                 80                         netcp-tx {
 81                                 qrange = <640      81                                 qrange = <640 9>;
 82                                 qalloc-by-id;      82                                 qalloc-by-id;
 83                         };                         83                         };
 84                         netcpx-tx {                84                         netcpx-tx {
 85                                 qrange = <8752     85                                 qrange = <8752 8>;
 86                                 qalloc-by-id;      86                                 qalloc-by-id;
 87                         };                         87                         };
 88                 };                                 88                 };
 89                 accumulator {                      89                 accumulator {
 90                         acc-low-0 {                90                         acc-low-0 {
 91                                 qrange = <480      91                                 qrange = <480 32>;
 92                                 accumulator =      92                                 accumulator = <0 47 16 2 50>;
 93                                 interrupts = <     93                                 interrupts = <0 226 0xf01>;
 94                                 multi-queue;       94                                 multi-queue;
 95                                 qalloc-by-id;      95                                 qalloc-by-id;
 96                         };                         96                         };
 97                 };                                 97                 };
 98         };                                         98         };
 99                                                    99 
100         descriptor-regions {                      100         descriptor-regions {
101                 #address-cells = <1>;             101                 #address-cells = <1>;
102                 #size-cells = <1>;                102                 #size-cells = <1>;
103                 ranges;                           103                 ranges;
104                 region-12 {                       104                 region-12 {
105                         id = <12>;                105                         id = <12>;
106                         region-spec = <8192 12    106                         region-spec = <8192 128>;       /* num_desc desc_size */
107                         link-index = <0x4000>;    107                         link-index = <0x4000>;
108                 };                                108                 };
109         };                                        109         };
110                                                   110 
111         pdsps {                                   111         pdsps {
112                 #address-cells = <1>;             112                 #address-cells = <1>;
113                 #size-cells = <1>;                113                 #size-cells = <1>;
114                 ranges;                           114                 ranges;
115                 pdsp0@2a10000 {                   115                 pdsp0@2a10000 {
116                         reg = <0x2a10000 0x100    116                         reg = <0x2a10000 0x1000    /*iram */
117                                0x2a0f000 0x100    117                                0x2a0f000 0x100     /*reg*/
118                                0x2a0c000 0x3c8    118                                0x2a0c000 0x3c8     /*intd */
119                                0x2a20000 0x400    119                                0x2a20000 0x4000>;  /*cmd*/
120                         id = <0>;                 120                         id = <0>;
121                 };                                121                 };
122         };                                        122         };
123 }; /* qmss */                                     123 }; /* qmss */
124                                                   124 
125 knav_dmas: knav_dmas@0 {                          125 knav_dmas: knav_dmas@0 {
126         compatible = "ti,keystone-navigator-dm    126         compatible = "ti,keystone-navigator-dma";
127         clocks = <&papllclk>;                     127         clocks = <&papllclk>;
128         #address-cells = <1>;                     128         #address-cells = <1>;
129         #size-cells = <1>;                        129         #size-cells = <1>;
130         ranges;                                   130         ranges;
131         ti,navigator-cloud-address = <0x23a800    131         ti,navigator-cloud-address = <0x23a80000 0x23a90000
132                                    0x23aa0000     132                                    0x23aa0000 0x23ab0000>;
133                                                   133 
134         dma_gbe: dma_gbe@0 {                      134         dma_gbe: dma_gbe@0 {
135                 reg = <0x2004000 0x100>,          135                 reg = <0x2004000 0x100>,
136                           <0x2004400 0x120>,      136                           <0x2004400 0x120>,
137                           <0x2004800 0x300>,      137                           <0x2004800 0x300>,
138                           <0x2004c00 0x120>,      138                           <0x2004c00 0x120>,
139                           <0x2005000 0x400>;      139                           <0x2005000 0x400>;
140                 reg-names = "global", "txchan"    140                 reg-names = "global", "txchan", "rxchan",
141                                 "txsched", "rx    141                                 "txsched", "rxflow";
142         };                                        142         };
143 };                                                143 };
144                                                   144 
145 netcp: netcp@2000000 {                            145 netcp: netcp@2000000 {
146         reg = <0x2620110 0x8>;                    146         reg = <0x2620110 0x8>;
147         reg-names = "efuse";                      147         reg-names = "efuse";
148         compatible = "ti,netcp-1.0";              148         compatible = "ti,netcp-1.0";
149         #address-cells = <1>;                     149         #address-cells = <1>;
150         #size-cells = <1>;                        150         #size-cells = <1>;
151                                                   151 
152         /* NetCP address range */                 152         /* NetCP address range */
153         ranges = <0 0x2000000 0x100000>;          153         ranges = <0 0x2000000 0x100000>;
154                                                   154 
155         clocks = <&clkpa>, <&clkcpgmac>;          155         clocks = <&clkpa>, <&clkcpgmac>;
156         clock-names = "pa_clk", "ethss_clk";      156         clock-names = "pa_clk", "ethss_clk";
157         dma-coherent;                             157         dma-coherent;
158                                                   158 
159         ti,navigator-dmas = <&dma_gbe 22>,        159         ti,navigator-dmas = <&dma_gbe 22>,
160                         <&dma_gbe 23>,            160                         <&dma_gbe 23>,
161                         <&dma_gbe 8>;             161                         <&dma_gbe 8>;
162         ti,navigator-dma-names = "netrx0", "ne    162         ti,navigator-dma-names = "netrx0", "netrx1", "nettx";
163                                                   163 
164         netcp-devices {                           164         netcp-devices {
165                 ranges;                           165                 ranges;
166                 #address-cells = <1>;             166                 #address-cells = <1>;
167                 #size-cells = <1>;                167                 #size-cells = <1>;
168                 gbe@90000 { /* ETHSS */           168                 gbe@90000 { /* ETHSS */
169                         #address-cells = <1>;     169                         #address-cells = <1>;
170                         #size-cells = <1>;        170                         #size-cells = <1>;
171                         label = "netcp-gbe";      171                         label = "netcp-gbe";
172                         compatible = "ti,netcp    172                         compatible = "ti,netcp-gbe";
173                         reg = <0x90000 0x300>,    173                         reg = <0x90000 0x300>, <0x90400 0x400>, <0x90800 0x700>;
174                         /* enable-ale; */         174                         /* enable-ale; */
175                         tx-queue = <648>;         175                         tx-queue = <648>;
176                         tx-channel = "nettx";     176                         tx-channel = "nettx";
177                                                   177 
178                         cpts {                    178                         cpts {
179                                 clocks = <&cpt    179                                 clocks = <&cpts_refclk_mux>;
180                                 clock-names =     180                                 clock-names = "cpts";
181                                                   181 
182                                 cpts_refclk_mu    182                                 cpts_refclk_mux: cpts-refclk-mux {
183                                         #clock    183                                         #clock-cells = <0>;
184                                         clocks    184                                         clocks = <&chipclk12>, <&chipclk13>,
185                                                   185                                                  <&timi0>, <&timi1>,
186                                                   186                                                  <&tsrefclk>;
187                                         ti,mux    187                                         ti,mux-tbl = <0x0>, <0x1>, <0x2>,
188                                                   188                                                 <0x3>, <0x8>;
189                                         assign    189                                         assigned-clocks = <&cpts_refclk_mux>;
190                                         assign    190                                         assigned-clock-parents = <&chipclk12>;
191                                 };                191                                 };
192                         };                        192                         };
193                                                   193 
194                         interfaces {              194                         interfaces {
195                                 gbe0: interfac    195                                 gbe0: interface-0 {
196                                         slave-    196                                         slave-port = <0>;
197                                         link-i    197                                         link-interface = <1>;
198                                         phy-ha    198                                         phy-handle = <&ethphy0>;
199                                 };                199                                 };
200                                 gbe1: interfac    200                                 gbe1: interface-1 {
201                                         slave-    201                                         slave-port = <1>;
202                                         link-i    202                                         link-interface = <1>;
203                                         phy-ha    203                                         phy-handle = <&ethphy1>;
204                                 };                204                                 };
205                         };                        205                         };
206                                                   206 
207                         secondary-slave-ports     207                         secondary-slave-ports {
208                                 port-2 {          208                                 port-2 {
209                                         slave-    209                                         slave-port = <2>;
210                                         link-i    210                                         link-interface = <2>;
211                                 };                211                                 };
212                                 port-3 {          212                                 port-3 {
213                                         slave-    213                                         slave-port = <3>;
214                                         link-i    214                                         link-interface = <2>;
215                                 };                215                                 };
216                         };                        216                         };
217                 };                                217                 };
218         };                                        218         };
219                                                   219 
220         netcp-interfaces {                        220         netcp-interfaces {
221                 interface-0 {                     221                 interface-0 {
222                         rx-channel = "netrx0";    222                         rx-channel = "netrx0";
223                         rx-pool = <1024 12>;      223                         rx-pool = <1024 12>;
224                         tx-pool = <1024 12>;      224                         tx-pool = <1024 12>;
225                         rx-queue-depth = <128     225                         rx-queue-depth = <128 128 0 0>;
226                         rx-buffer-size = <1518    226                         rx-buffer-size = <1518 4096 0 0>;
227                         rx-queue = <8704>;        227                         rx-queue = <8704>;
228                         tx-completion-queue =     228                         tx-completion-queue = <8706>;
229                         efuse-mac = <1>;          229                         efuse-mac = <1>;
230                         netcp-gbe = <&gbe0>;      230                         netcp-gbe = <&gbe0>;
231                                                   231 
232                 };                                232                 };
233                 interface-1 {                     233                 interface-1 {
234                         rx-channel = "netrx1";    234                         rx-channel = "netrx1";
235                         rx-pool = <1024 12>;      235                         rx-pool = <1024 12>;
236                         tx-pool = <1024 12>;      236                         tx-pool = <1024 12>;
237                         rx-queue-depth = <128     237                         rx-queue-depth = <128 128 0 0>;
238                         rx-buffer-size = <1518    238                         rx-buffer-size = <1518 4096 0 0>;
239                         rx-queue = <8705>;        239                         rx-queue = <8705>;
240                         tx-completion-queue =     240                         tx-completion-queue = <8707>;
241                         efuse-mac = <0>;          241                         efuse-mac = <0>;
242                         local-mac-address = [0    242                         local-mac-address = [02 18 31 7e 3e 6f];
243                         netcp-gbe = <&gbe1>;      243                         netcp-gbe = <&gbe1>;
244                 };                                244                 };
245         };                                        245         };
246 };                                                246 };
247                                                   247 
248 sa_subsys: subsys@20c0000 {                       248 sa_subsys: subsys@20c0000 {
249         compatible = "simple-bus";                249         compatible = "simple-bus";
250         #address-cells = <1>;                     250         #address-cells = <1>;
251         #size-cells = <1>;                        251         #size-cells = <1>;
252         ranges = <0 0x20c0000 0x40000>;           252         ranges = <0 0x20c0000 0x40000>;
253                                                   253 
254         sa_config: subsys@0 {                     254         sa_config: subsys@0 {
255                 compatible = "syscon";            255                 compatible = "syscon";
256                 reg = <0x0 0x100>;                256                 reg = <0x0 0x100>;
257         };                                        257         };
258                                                   258 
259         rng@24000 {                               259         rng@24000 {
260                 compatible = "ti,keystone-rng"    260                 compatible = "ti,keystone-rng";
261                 reg = <0x24000 0x1000>;           261                 reg = <0x24000 0x1000>;
262                 ti,syscon-sa-cfg = <&sa_config    262                 ti,syscon-sa-cfg = <&sa_config>;
263                 clocks = <&clksa>;                263                 clocks = <&clksa>;
264                 clock-names = "fck";              264                 clock-names = "fck";
265         };                                        265         };
266 };                                                266 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php