1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for Keystone 2 Edison 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 0x2000>;
16 linkram0 = <0x100000 0x4000>;
17 linkram1 = <0 0x10000>;
24 managed-queues = <0 0x2000>;
25 reg = <0x2a40000 0x20000>,
31 reg-names = "peek", "status", "config",
32 "region", "push", "pop";
39 interrupts =<0 40 0xf04 0 41 0xf04 0 42 0xf04
40 0 43 0xf04 0 44 0xf04 0 45 0xf04
41 0 46 0xf04 0 47 0xf04>;
45 interrupts = <0 48 0xf04 0 49 0xf04 0 50 0xf04
46 0 51 0xf04 0 52 0xf04 0 53 0xf04
47 0 54 0xf04 0 55 0xf04 0 56 0xf04
48 0 57 0xf04 0 58 0xf04 0 59 0xf04
49 0 60 0xf04 0 61 0xf04 0 62 0xf04
55 interrupts = <0 64 0xf04 0 65 0xf04 0 66 0xf04
56 0 59 0xf04 0 68 0xf04 0 69 0xf04
57 0 70 0xf04 0 71 0xf04 0 72 0xf04
58 0 73 0xf04 0 74 0xf04 0 75 0xf04
59 0 76 0xf04 0 77 0xf04 0 78 0xf04
75 accumulator = <0 47 16 2 50>;
76 interrupts = <0 226 0xf01>;
89 region-spec = <8192 128>; /* num_desc desc_size */
90 link-index = <0x4000>;
99 reg = <0x2a10000 0x1000 /*iram */
100 0x2a0f000 0x100 /*reg*/
101 0x2a0c000 0x3c8 /*intd */
102 0x2a20000 0x4000>; /*cmd*/
108 knav_dmas: knav_dmas@0 {
109 compatible = "ti,keystone-navigator-dma";
110 clocks = <&papllclk>;
111 #address-cells = <1>;
114 ti,navigator-cloud-address = <0x23a80000 0x23a90000
115 0x23a80000 0x23a90000>;
118 reg = <0x24186000 0x100>,
123 reg-names = "global", "txchan", "rxchan",
128 netcp: netcp@24000000 {
129 reg = <0x2620110 0x8>;
131 compatible = "ti,netcp-1.0";
132 #address-cells = <1>;
135 /* NetCP address range */
136 ranges = <0 0x24000000 0x1000000>;
138 clocks = <&clkpa>, <&clkcpgmac>;
139 clock-names = "pa_clk", "ethss_clk";
142 ti,navigator-dmas = <&dma_gbe 0>,
145 ti,navigator-dma-names = "netrx0", "netrx1", "nettx";
148 #address-cells = <1>;
151 gbe@200000 { /* ETHSS */
153 compatible = "ti,netcp-gbe-9";
154 reg = <0x200000 0x900>, <0x220000 0x20000>;
157 tx-channel = "nettx";
160 clocks = <&cpts_refclk_mux>;
161 clock-names = "cpts";
163 cpts_refclk_mux: cpts-refclk-mux {
165 clocks = <&chipclk12>, <&chipclk13>,
167 <&tsipclka>, <&tsrefclk>,
169 ti,mux-tbl = <0x0>, <0x1>, <0x2>,
170 <0x3>, <0x4>, <0x8>, <0xC>;
171 assigned-clocks = <&cpts_refclk_mux>;
172 assigned-clock-parents = <&chipclk12>;
179 link-interface = <1>;
180 phy-handle = <ðphy0>;
184 link-interface = <1>;
185 phy-handle = <ðphy1>;
189 secondary-slave-ports {
192 link-interface = <2>;
196 link-interface = <2>;
200 link-interface = <2>;
204 link-interface = <2>;
208 link-interface = <2>;
212 link-interface = <2>;
220 rx-channel = "netrx0";
223 rx-queue-depth = <128 128 0 0>;
224 rx-buffer-size = <1518 4096 0 0>;
226 tx-completion-queue = <530>;
232 rx-channel = "netrx1";
235 rx-queue-depth = <128 128 0 0>;
236 rx-buffer-size = <1518 4096 0 0>;
238 tx-completion-queue = <531>;
240 local-mac-address = [02 18 31 7e 3e 00];
246 sa_subsys: subsys@24080000 {
247 #address-cells = <1>;
249 compatible = "simple-bus";
250 ranges = <0 0x24080000 0x40000>;
252 sa_config: subsys@0 {
253 compatible = "syscon";
258 compatible = "ti,keystone-rng";
259 reg = <0x24000 0x1000>;
260 ti,syscon-sa-cfg = <&sa_config>;