-
Notifications
You must be signed in to change notification settings - Fork 944
Expand file tree
/
Copy pathzynq-adrv9361-z7035-userspace.dts
More file actions
159 lines (140 loc) · 3.11 KB
/
zynq-adrv9361-z7035-userspace.dts
File metadata and controls
159 lines (140 loc) · 3.11 KB
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
// SPDX-License-Identifier: GPL-2.0
/*
* AD9361-Z7035 System on Module (SOM) SDR - Userspace Portable Radio Reference Design
* Link: https://www.analog.com/ADRV9361-Z7035
* Link: https://wiki.analog.com/resources/eval/user-guides/adrv936x_rfsom
* Link: https://wiki.analog.com/resources/eval/user-guides/pzsdr/carriers/portable-radio-reference-design/features
*
* hdl_project: <adrv9361z7035/ccfmc_lvds>
* board_revision: <>
*
* Copyright 2015-2019 Analog Devices Inc.
*/
/dts-v1/;
#include "zynq.dtsi"
#include <dt-bindings/gpio/gpio.h>
/ {
model = "Analog Devices ADRV9361-Z7035";
memory {
device_type = "memory";
reg = <0x00000000 0x40000000>;
};
chosen {
stdout-path = "/amba@0/uart@E0001000";
};
clocks {
usb_ulpi_fixed_clk: clock@1 {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24000000>;
clock-output-names = "24MHz";
};
usb_ulpi_clk: clock@2 {
compatible = "gpio-gate-clock";
clocks = <&usb_ulpi_fixed_clk>;
#clock-cells = <0>;
enable-gpios = <&gpio0 9 1>; /* Active Low */
};
};
};
&gem0 {
phy-handle = <&phy0>;
phy-mode = "rgmii-id";
phy0: phy@0 {
device_type = "ethernet-phy";
reg = <0x0>;
marvell,reg-init = <3 16 0xff00 0x1e 3 17 0xfff0 0x00>;
};
};
&usb0 {
xlnx,phy-reset-gpio = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
&qspi {
status = "okay";
is-dual = <0>;
num-cs = <1>;
primary_flash: ps7-qspi@0 {
#address-cells = <1>;
#size-cells = <1>;
spi-tx-bus-width = <1>;
spi-rx-bus-width = <4>;
compatible = "n25q128a11", "jedec,spi-nor"; /* same as S25FL128 */
reg = <0x0>;
spi-max-frequency = <50000000>;
partition@0 {
label = "boot";
reg = <0x00000000 0x00500000>;
};
partition@500000 {
label = "bootenv";
reg = <0x00500000 0x00020000>;
};
partition@520000 {
label = "config";
reg = <0x00520000 0x00020000>;
};
partition@540000 {
label = "image";
reg = <0x00540000 0x00a80000>;
};
partition@fc0000 {
label = "spare";
reg = <0x00fc0000 0x00000000>;
};
};
};
&sdhci0 {
status = "okay";
disable-wp;
};
/ {
fpga_axi: fpga-axi@0 {
compatible = "simple-bus";
#address-cells = <0x1>;
#size-cells = <0x1>;
ranges;
i2c@41600000 {
compatible = "xlnx,axi-iic-1.02.a", "xlnx,xps-iic-2.00.a";
reg = <0x41600000 0x10000>;
interrupt-parent = <&intc>;
interrupts = <0 58 4>;
clocks = <&clkc 15>;
clock-names = "pclk";
#address-cells = <1>;
#size-cells = <0>;
adm1166: adm1166@68 {
compatible = "adi,adm1166";
reg = <0x68>;
};
};
ad9361_rx@79020000 {
compatible = "dmem-uio";
reg = <0x79020000 0x6000>;
};
ad9361_tx@79024000 {
compatible = "dmem-uio";
reg = <0x79024000 0x2000>;
};
rx_dma@7c400000 {
compatible = "dmem-uio";
reg = <0x7c400000 0x10000>;
uio,number-of-dynamic-regions = <1>;
uio,dynamic-regions-sizes = <262144>;
};
tx_dma@7c420000 {
compatible = "dmem-uio";
reg = <0x7c420000 0x10000>;
uio,number-of-dynamic-regions = <1>;
uio,dynamic-regions-sizes = <262144>;
};
};
};
&spi0 {
status = "okay";
spi@0 {
compatible = "adi,swspi";
spi-cpha;
reg = <0x0>;
spi-max-frequency = <1000000>;
};
};