aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/top/n3xx/dts/usrp_n320_fpga_XQ.dts
blob: 03744793210613ab7dc73aee970bc89223e0ac30 (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
// SPDX-License-Identifier: GPL-2.0 OR X11
/*
 * Copyright (c) 2018 National Instruments Corp
 */

/dts-v1/;
/plugin/;

#include "n320-fpga.dtsi"

&fpga_full {
	nixge0: ethernet@40000000 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "ni,xge-enet-3.00";
		reg = <0x40000000 0x4000
		       0x40020000 0x2000>;
		reg-names = "dma", "ctrl";

		clocks = <&clkc 15>;
		clock-names = "bus_clk";

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

		interrupts = <0 29 4>, <0 30 4>;
		interrupt-names = "rx", "tx";
		interrupt-parent = <&intc>;
		status = "okay";

		phy-mode = "xgmii";
		phy-handle = <&ethernet_phy1>;

		mdio {
			ethernet_phy1: ethernet-phy@4 {
				compatible = "ethernet-phy-ieee802.3-c45";
				reg = <4>;
			};
		};
	};

	uio@40022000 {
		compatible = "usrp-uio";
		reg = <0x40022000 0x2000>;
		reg-names = "misc-enet-regs0";
		status = "okay";
	};

	nixge1: ethernet@40008000 {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "ni,xge-enet-3.00";
		reg = <0x40008000 0x4000
		       0x40024000 0x2000>;
		reg-names = "dma", "ctrl";

		clocks = <&clkc 15>;
		clock-names = "bus_clk";

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

		interrupts = <0 31 4>, <0 32 4>;
		interrupt-names = "rx", "tx";
		interrupt-parent = <&intc>;
		status = "okay";

		phy-mode = "xgmii";
		phy-handle = <&ethernet_phy2>;

		mdio {
			ethernet_phy2: ethernet-phy@4 {
				compatible = "ethernet-phy-ieee802.3-c45";
				reg = <4>;
			};
		};
	};

	uio@40026000 {
		compatible = "usrp-uio";
		reg = <0x40026000 0x2000>;
		reg-names = "misc-enet-regs1";
		status = "okay";
	};

	uio@40006000 {
		compatible = "usrp-uio";
		reg = <0x40006000 0x2000>;
		reg-names = "misc-enet-regs2";
		status = "okay";
	};

	uio@43d40000 {
		compatible = "usrp-uio";
		reg = <0x43d40000 0x40000>;
		reg-names = "wr-regs";
		status = "okay";
	};

	uart2@42c00000 {
		compatible = "xlnx,xps-uartlite-1.00.a";
		reg = <0x42c00000 0x1000>;
		interrupt-parent = <&intc>;
		interrupts = <0 54 4>;
	};

	qsfp_i2c: qsfp-i2c@43D80000 {
		compatible = "xlnx,xps-iic-2.00.a";
		clocks = <&clkc 15>;
		interrupt-parent = <&intc>;
		interrupts = <0 55 4>;
		reg = <0x43D80000 0x10000>;
	};
};

#include "n320-common.dtsi"
#include "dma-common.dtsi"