2 * Device Tree Source for Keystone 2 Edison Netcp driver
4 * Copyright 2015 Texas Instruments, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
12 compatible = "ti,keystone-navigator-qmss";
16 clocks = <&chipclk13>;
18 queue-range = <0 0x2000>;
19 linkram0 = <0x100000 0x4000>;
20 linkram1 = <0 0x10000>;
27 managed-queues = <0 0x2000>;
28 reg = <0x2a40000 0x20000>,
34 reg-names = "peek", "status", "config",
35 "region", "push", "pop";
42 interrupts =<0 40 0xf04 0 41 0xf04 0 42 0xf04
43 0 43 0xf04 0 44 0xf04 0 45 0xf04
44 0 46 0xf04 0 47 0xf04>;
48 interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
49 0 51 0xf04 0 52 0xf04 0 53 0xf04
50 0 54 0xf04 0 55 0xf04 0 56 0xf04
51 0 57 0xf04 0 58 0xf04 0 59 0xf04
52 0 60 0xf04 0 61 0xf04 0 62 0xf04
58 interrupts = <0 64 0xf04 0 65 0xf04 0 66 0xf04
59 0 59 0xf04 0 68 0xf04 0 69 0xf04
60 0 70 0xf04 0 71 0xf04 0 72 0xf04
61 0 73 0xf04 0 74 0xf04 0 75 0xf04
62 0 76 0xf04 0 77 0xf04 0 78 0xf04
78 accumulator = <0 47 16 2 50>;
79 interrupts = <0 226 0xf01>;
92 region-spec = <8192 128>; /* num_desc desc_size */
93 link-index = <0x4000>;
102 reg = <0x2a10000 0x1000 /*iram */
103 0x2a0f000 0x100 /*reg*/
104 0x2a0c000 0x3c8 /*intd */
105 0x2a20000 0x4000>; /*cmd*/
111 knav_dmas: knav_dmas@0 {
112 compatible = "ti,keystone-navigator-dma";
113 clocks = <&papllclk>;
114 #address-cells = <1>;
117 ti,navigator-cloud-address = <0x23a80000 0x23a90000
118 0x23a80000 0x23a90000>;
121 reg = <0x24186000 0x100>,
126 reg-names = "global", "txchan", "rxchan",
131 netcp: netcp@24000000 {
132 reg = <0x2620110 0x8>;
134 compatible = "ti,netcp-1.0";
135 #address-cells = <1>;
138 /* NetCP address range */
139 ranges = <0 0x24000000 0x1000000>;
141 clocks = <&clkpa>, <&clkcpgmac>, <&chipclk12>;
142 clock-names = "pa_clk", "ethss_clk", "cpts";
145 ti,navigator-dmas = <&dma_gbe 0>,
148 ti,navigator-dma-names = "netrx0", "netrx1", "nettx";
151 #address-cells = <1>;
154 gbe@200000 { /* ETHSS */
156 compatible = "ti,netcp-gbe-9";
157 reg = <0x200000 0x900>, <0x220000 0x20000>;
160 tx-channel = "nettx";
165 link-interface = <1>;
166 phy-handle = <ðphy0>;
170 link-interface = <1>;
171 phy-handle = <ðphy1>;
175 secondary-slave-ports {
178 link-interface = <2>;
182 link-interface = <2>;
186 link-interface = <2>;
190 link-interface = <2>;
194 link-interface = <2>;
198 link-interface = <2>;
206 rx-channel = "netrx0";
209 rx-queue-depth = <128 128 0 0>;
210 rx-buffer-size = <1518 4096 0 0>;
212 tx-completion-queue = <530>;
218 rx-channel = "netrx1";
221 rx-queue-depth = <128 128 0 0>;
222 rx-buffer-size = <1518 4096 0 0>;
224 tx-completion-queue = <531>;
226 local-mac-address = [02 18 31 7e 3e 00];