aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/x400/dts/x410-dma.dtsi
blob: d90fee699f17b7f74513adc96f85a0c87851f63a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
 * Copyright 2021 Ettus Research, a National Instruments Brand
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

&fpga_full {
	#address-cells = <2>;
	#size-cells = <2>;

	misc_clk_3: misc_clk_3 {
		#clock-cells = <0>;
		clock-frequency = <200000000>;
		compatible = "fixed-clock";
	};

	// AXI DMA engine + control
	nixge_internal: ethernet@10000A4000 {
		compatible = "ni,xge-enet-3.00";
		reg = <0x10 0x000A4000 0x0 0x4000
		       0x10 0x000A8000 0x0 0x2000>;
		reg-names = "dma", "ctrl";

		clocks = <&misc_clk_3>;
		clock-names = "bus_clk";

		interrupts = <0 104 4 0 105 4>;
		interrupt-names = "tx", "rx";
		interrupt-parent = <&gic>;

		status = "okay";

		phy-mode = "internal";
		local-mac-address = <0x00 0x01 0x02 0x03 0x04 0x05>;

		fixed-link {
			speed = <1000>;
			full-duplex;
		};
	};

	// Misc internal Ethernet registers
	uio@10000AA000 {
		compatible = "usrp-uio";
		reg = <0x10 0x000AA000 0x0 0x2000>;
		reg-names = "misc-enet-int-regs";
		status = "okay";
	};

};