aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/x400/dts/x410-10gbe-port0-x4.dtsi
blob: 1a3b8a4871f71a6e6595a8ebe06e424f3dac46ae (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*
 * Copyright 2021 Ettus Research, a National Instruments Brand
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

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

	nixge0: ethernet@1200000000 {
		compatible = "ni,xge-enet-3.00";
		reg = <0x12 0x00000000 0x0 0x4000
				 0x12 0x00008000 0x0 0x2000>;
		reg-names = "dma", "ctrl";

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

		nvmem-cells = <&eth1_addr>;
		nvmem-cell-names = "address";

		status = "okay";

		phy-mode = "xgmii";

		fixed-link {
			speed = <10000>;
			full-duplex;
			link-gpios = <&gpio 94 0>;
		};
	};

	nixge0_1: ethernet@1200010000 {
		compatible = "ni,xge-enet-3.00";
		reg = <0x12 0x00010000 0x0 0x4000
				 0x12 0x00018000 0x0 0x2000>;
		reg-names = "dma", "ctrl";

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

		nvmem-cells = <&eth2_addr>;
		nvmem-cell-names = "address";

		status = "okay";

		phy-mode = "xgmii";

		fixed-link {
			speed = <10000>;
			full-duplex;
			link-gpios = <&gpio 95 0>;
		};
	};

	nixge0_2: ethernet@1200020000 {
		compatible = "ni,xge-enet-3.00";
		reg = <0x12 0x00020000 0x0 0x4000
				 0x12 0x00028000 0x0 0x2000>;
		reg-names = "dma", "ctrl";

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

		nvmem-cells = <&eth3_addr>;
		nvmem-cell-names = "address";

		status = "okay";

		phy-mode = "xgmii";

		fixed-link {
			speed = <10000>;
			full-duplex;
			link-gpios = <&gpio 96 0>;
		};
	};

	nixge0_3: ethernet@1200030000 {
		compatible = "ni,xge-enet-3.00";
		reg = <0x12 0x00030000 0x0 0x4000
				 0x12 0x00038000 0x0 0x2000>;
		reg-names = "dma", "ctrl";

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

		nvmem-cells = <&eth4_addr>;
		nvmem-cell-names = "address";

		status = "okay";

		phy-mode = "xgmii";

		fixed-link {
			speed = <10000>;
			full-duplex;
			link-gpios = <&gpio 97 0>;
		};
	};

	misc_enet_regs_0: uio@120000A000 {
		status = "okay";
		compatible = "usrp-uio";
		reg = <0x12 0x0000A000 0x0 0x2000>;
		reg-names = "misc-enet-regs0";
	};

	misc_enet_regs_0_1: uio@120001A000 {
		status = "okay";
		compatible = "usrp-uio";
		reg = <0x12 0x0001A000 0x0 0x2000>;
		reg-names = "misc-enet-regs0-1";
	};

	misc_enet_regs_0_2: uio@120002A000 {
		status = "okay";
		compatible = "usrp-uio";
		reg = <0x12 0x0002A000 0x0 0x2000>;
		reg-names = "misc-enet-regs0-2";
	};

	misc_enet_regs_0_3: uio@120003A000 {
		status = "okay";
		compatible = "usrp-uio";
		reg = <0x12 0x0003A000 0x0 0x2000>;
		reg-names = "misc-enet-regs0-3";
	};
};