1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for Keystone 2 Hawking Netcp driver
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
9 compatible = "ti,keystone-navigator-qmss";
13 clocks = <&chipclk13>;
15 queue-range = <0 0x4000>;
16 linkram0 = <0x100000 0x8000>;
17 linkram1 = <0x0 0x10000>;
24 managed-queues = <0 0x2000>;
25 reg = <0x2a40000 0x20000>,
31 reg-names = "peek", "status", "config",
32 "region", "push", "pop";
36 managed-queues = <0x2000 0x2000>;
37 reg = <0x2a60000 0x20000>,
43 reg-names = "peek", "status", "config",
44 "region", "push", "pop";
52 interrupts =<0 40 0xf04 0 41 0xf04 0 42 0xf04
53 0 43 0xf04 0 44 0xf04 0 45 0xf04
54 0 46 0xf04 0 47 0xf04>;
58 interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
59 0 51 0xf04 0 52 0xf04 0 53 0xf04
60 0 54 0xf04 0 55 0xf04 0 56 0xf04
61 0 57 0xf04 0 58 0xf04 0 59 0xf04
62 0 60 0xf04 0 61 0xf04 0 62 0xf04
68 interrupts = <0 64 0xf04 0 65 0xf04 0 66 0xf04
69 0 59 0xf04 0 68 0xf04 0 69 0xf04
70 0 70 0xf04 0 71 0xf04 0 72 0xf04
71 0 73 0xf04 0 74 0xf04 0 75 0xf04
72 0 76 0xf04 0 77 0xf04 0 78 0xf04
92 accumulator = <0 47 16 2 50>;
93 interrupts = <0 226 0xf01>;
101 #address-cells = <1>;
106 region-spec = <8192 128>; /* num_desc desc_size */
107 link-index = <0x4000>;
112 #address-cells = <1>;
116 reg = <0x2a10000 0x1000 /*iram */
117 0x2a0f000 0x100 /*reg*/
118 0x2a0c000 0x3c8 /*intd */
119 0x2a20000 0x4000>; /*cmd*/
125 knav_dmas: knav_dmas@0 {
126 compatible = "ti,keystone-navigator-dma";
127 clocks = <&papllclk>;
128 #address-cells = <1>;
131 ti,navigator-cloud-address = <0x23a80000 0x23a90000
132 0x23aa0000 0x23ab0000>;
135 reg = <0x2004000 0x100>,
140 reg-names = "global", "txchan", "rxchan",
145 netcp: netcp@2000000 {
146 reg = <0x2620110 0x8>;
148 compatible = "ti,netcp-1.0";
149 #address-cells = <1>;
152 /* NetCP address range */
153 ranges = <0 0x2000000 0x100000>;
155 clocks = <&clkpa>, <&clkcpgmac>;
156 clock-names = "pa_clk", "ethss_clk";
159 ti,navigator-dmas = <&dma_gbe 22>,
162 ti,navigator-dma-names = "netrx0", "netrx1", "nettx";
166 #address-cells = <1>;
168 gbe@90000 { /* ETHSS */
169 #address-cells = <1>;
172 compatible = "ti,netcp-gbe";
173 reg = <0x90000 0x300>, <0x90400 0x400>, <0x90800 0x700>;
176 tx-channel = "nettx";
179 clocks = <&cpts_refclk_mux>;
180 clock-names = "cpts";
182 cpts_refclk_mux: cpts-refclk-mux {
184 clocks = <&chipclk12>, <&chipclk13>,
187 ti,mux-tbl = <0x0>, <0x1>, <0x2>,
189 assigned-clocks = <&cpts_refclk_mux>;
190 assigned-clock-parents = <&chipclk12>;
197 link-interface = <1>;
198 phy-handle = <ðphy0>;
202 link-interface = <1>;
203 phy-handle = <ðphy1>;
207 secondary-slave-ports {
210 link-interface = <2>;
214 link-interface = <2>;
222 rx-channel = "netrx0";
225 rx-queue-depth = <128 128 0 0>;
226 rx-buffer-size = <1518 4096 0 0>;
228 tx-completion-queue = <8706>;
234 rx-channel = "netrx1";
237 rx-queue-depth = <128 128 0 0>;
238 rx-buffer-size = <1518 4096 0 0>;
240 tx-completion-queue = <8707>;
242 local-mac-address = [02 18 31 7e 3e 6f];
248 sa_subsys: subsys@20c0000 {
249 compatible = "simple-bus";
250 #address-cells = <1>;
252 ranges = <0 0x20c0000 0x40000>;
254 sa_config: subsys@0 {
255 compatible = "syscon";
260 compatible = "ti,keystone-rng";
261 reg = <0x24000 0x1000>;
262 ti,syscon-sa-cfg = <&sa_config>;