1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree Source for K2G Netcp driver
5 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
9 compatible = "ti,66ak2g-navss-qm";
13 power-domains = <&k2g_pds 0x0018>;
14 clocks = <&k2g_clks 0x0018 0>;
15 clock-names = "nss_vclk";
17 queue-range = <0 0x80>;
18 linkram0 = <0x4020000 0x7ff>;
26 managed-queues = <0 0x80>;
27 reg = <0x4100000 0x800>,
31 reg-names = "peek", "config",
40 interrupts =<0 308 0xf04 0 309 0xf04 0 310 0xf04
41 0 311 0xf04 0 312 0xf04 0 313 0xf04
42 0 314 0xf04 0 315 0xf04>;
63 region-spec = <1023 128>; /* num_desc desc_size */
69 knav_dmas: knav_dmas@0 {
70 compatible = "ti,keystone-navigator-dma";
74 power-domains = <&k2g_pds 0x0018>;
75 clocks = <&k2g_clks 0x0018 0>;
76 clock-names = "nss_vclk";
78 ti,navigator-cloud-address = <0x40c0000 0x40c0000 0x40c0000 0x40c0000>;
81 reg = <0x4010000 0x100>,
82 <0x4011000 0x2a0>, /* 21 Tx channels */
83 <0x4012000 0x400>, /* 32 Rx channels */
85 <0x4013000 0x400>; /* 32 Rx flows */
86 reg-names = "global", "txchan", "rxchan",
92 netcp: netcp@4000000 {
93 reg = <0x2620110 0x8>;
95 compatible = "ti,netcp-1.0";
99 power-domains = <&k2g_pds 0x0018>;
100 clocks = <&k2g_clks 0x0018 3>, <&k2g_clks 0x0018 8>;
101 clock-names = "ethss_clk", "cpts";
103 /* NetCP address range */
104 ranges = <0 0x4000000 0x1000000>;
108 ti,navigator-dmas = <&dma_gbe 0>, <&dma_gbe 5>;
109 ti,navigator-dma-names = "netrx0", "nettx";
112 #address-cells = <1>;
117 compatible = "ti,netcp-gbe-2";
118 reg = <0x200000 0x20>, <0x220000 0x20000>;
121 tx-channel = "nettx";
122 cpts-rftclk-sel = <0>;
123 cpts-ext-ts-inputs = <8>;
128 link-interface = <5>;
136 rx-channel = "netrx0";
139 rx-queue-depth = <128 128 0 0>;
140 rx-buffer-size = <1518 4096 0 0>;
142 tx-completion-queue = <78>;