xref: /openwifi/kernel_boot/boards/sdrpi/devicetree.dts (revision 9594dc72b7f4c0b5c8aad98797038e7f08992d0b)
1a066622eSWei.Li/dts-v1/;
2a066622eSWei.Li
3a066622eSWei.Li/ {
4a066622eSWei.Li	#address-cells = <0x1>;
5a066622eSWei.Li	#size-cells = <0x1>;
6a066622eSWei.Li	compatible = "xlnx,zynq-7000";
7a066622eSWei.Li	interrupt-parent = <0x1>;
8a066622eSWei.Li	model = "HexSDR sdrpi (7z020+ad9361 SDR smart platform with GPSTCXO and RF AP)";
9a066622eSWei.Li
10a066622eSWei.Li	cpus {
11a066622eSWei.Li		#address-cells = <0x1>;
12a066622eSWei.Li		#size-cells = <0x0>;
13a066622eSWei.Li
14a066622eSWei.Li		cpu@0 {
15a066622eSWei.Li			compatible = "arm,cortex-a9";
16a066622eSWei.Li			device_type = "cpu";
17a066622eSWei.Li			reg = <0x0>;
18a066622eSWei.Li			clocks = <0x2 0x3>;
19a066622eSWei.Li			clock-latency = <0x3e8>;
20a066622eSWei.Li			cpu0-supply = <0x3>;
21a066622eSWei.Li			operating-points = <0xa2c2b 0xf4240 0x51616 0xf4240>;
22a066622eSWei.Li		};
23a066622eSWei.Li
24a066622eSWei.Li		cpu@1 {
25a066622eSWei.Li			compatible = "arm,cortex-a9";
26a066622eSWei.Li			device_type = "cpu";
27a066622eSWei.Li			reg = <0x1>;
28a066622eSWei.Li			clocks = <0x2 0x3>;
29a066622eSWei.Li		};
30a066622eSWei.Li	};
31a066622eSWei.Li
32a066622eSWei.Li	fpga-full {
33a066622eSWei.Li		compatible = "fpga-region";
34a066622eSWei.Li		fpga-mgr = <0x4>;
35a066622eSWei.Li		#address-cells = <0x1>;
36a066622eSWei.Li		#size-cells = <0x1>;
37a066622eSWei.Li		ranges;
38a066622eSWei.Li	};
39a066622eSWei.Li
40a066622eSWei.Li	pmu@f8891000 {
41a066622eSWei.Li		compatible = "arm,cortex-a9-pmu";
42a066622eSWei.Li		interrupts = <0x0 0x5 0x4 0x0 0x6 0x4>;
43a066622eSWei.Li		interrupt-parent = <0x1>;
44a066622eSWei.Li		reg = <0xf8891000 0x1000 0xf8893000 0x1000>;
45a066622eSWei.Li	};
46a066622eSWei.Li
47a066622eSWei.Li	fixedregulator {
48a066622eSWei.Li		compatible = "regulator-fixed";
49a066622eSWei.Li		regulator-name = "VCCPINT";
50a066622eSWei.Li		regulator-min-microvolt = <0xf4240>;
51a066622eSWei.Li		regulator-max-microvolt = <0xf4240>;
52a066622eSWei.Li		regulator-boot-on;
53a066622eSWei.Li		regulator-always-on;
54a066622eSWei.Li		linux,phandle = <0x3>;
55a066622eSWei.Li		phandle = <0x3>;
56a066622eSWei.Li	};
57a066622eSWei.Li
58a066622eSWei.Li	amba {
59a066622eSWei.Li		u-boot,dm-pre-reloc;
60a066622eSWei.Li		compatible = "simple-bus";
61a066622eSWei.Li		#address-cells = <0x1>;
62a066622eSWei.Li		#size-cells = <0x1>;
63a066622eSWei.Li		interrupt-parent = <0x1>;
64a066622eSWei.Li		ranges;
65a066622eSWei.Li
66a066622eSWei.Li		adc@f8007100 {
67a066622eSWei.Li			compatible = "xlnx,zynq-xadc-1.00.a";
68a066622eSWei.Li			reg = <0xf8007100 0x20>;
69a066622eSWei.Li			interrupts = <0x0 0x7 0x4>;
70a066622eSWei.Li			interrupt-parent = <0x1>;
71a066622eSWei.Li			clocks = <0x2 0xc>;
72a066622eSWei.Li		};
73a066622eSWei.Li
74a066622eSWei.Li		can@e0008000 {
75a066622eSWei.Li			compatible = "xlnx,zynq-can-1.0";
76a066622eSWei.Li			status = "disabled";
77a066622eSWei.Li			clocks = <0x2 0x13 0x2 0x24>;
78a066622eSWei.Li			clock-names = "can_clk", "pclk";
79a066622eSWei.Li			reg = <0xe0008000 0x1000>;
80a066622eSWei.Li			interrupts = <0x0 0x1c 0x4>;
81a066622eSWei.Li			interrupt-parent = <0x1>;
82a066622eSWei.Li			tx-fifo-depth = <0x40>;
83a066622eSWei.Li			rx-fifo-depth = <0x40>;
84a066622eSWei.Li		};
85a066622eSWei.Li
86a066622eSWei.Li		can@e0009000 {
87a066622eSWei.Li			compatible = "xlnx,zynq-can-1.0";
88a066622eSWei.Li			status = "disabled";
89a066622eSWei.Li			clocks = <0x2 0x14 0x2 0x25>;
90a066622eSWei.Li			clock-names = "can_clk", "pclk";
91a066622eSWei.Li			reg = <0xe0009000 0x1000>;
92a066622eSWei.Li			interrupts = <0x0 0x33 0x4>;
93a066622eSWei.Li			interrupt-parent = <0x1>;
94a066622eSWei.Li			tx-fifo-depth = <0x40>;
95a066622eSWei.Li			rx-fifo-depth = <0x40>;
96a066622eSWei.Li		};
97a066622eSWei.Li
98a066622eSWei.Li		gpio@e000a000 {
99a066622eSWei.Li			compatible = "xlnx,zynq-gpio-1.0";
100a066622eSWei.Li			#gpio-cells = <0x2>;
101a066622eSWei.Li			clocks = <0x2 0x2a>;
102a066622eSWei.Li			gpio-controller;
103a066622eSWei.Li			interrupt-controller;
104a066622eSWei.Li			#interrupt-cells = <0x2>;
105a066622eSWei.Li			interrupt-parent = <0x1>;
106a066622eSWei.Li			interrupts = <0x0 0x14 0x4>;
107a066622eSWei.Li			reg = <0xe000a000 0x1000>;
108a066622eSWei.Li			linux,phandle = <0x6>;
109a066622eSWei.Li			phandle = <0x6>;
110a066622eSWei.Li		};
111a066622eSWei.Li
112a066622eSWei.Li		i2c@e0004000 {
113a066622eSWei.Li			compatible = "cdns,i2c-r1p10";
114a066622eSWei.Li			status = "disabled";
115a066622eSWei.Li			clocks = <0x2 0x26>;
116a066622eSWei.Li			interrupt-parent = <0x1>;
117a066622eSWei.Li			interrupts = <0x0 0x19 0x4>;
118a066622eSWei.Li			reg = <0xe0004000 0x1000>;
119a066622eSWei.Li			#address-cells = <0x1>;
120a066622eSWei.Li			#size-cells = <0x0>;
121a066622eSWei.Li		};
122a066622eSWei.Li
123a066622eSWei.Li		i2c@e0005000 {
124a066622eSWei.Li			compatible = "cdns,i2c-r1p10";
125a066622eSWei.Li			status = "disabled";
126a066622eSWei.Li			clocks = <0x2 0x27>;
127a066622eSWei.Li			interrupt-parent = <0x1>;
128a066622eSWei.Li			interrupts = <0x0 0x30 0x4>;
129a066622eSWei.Li			reg = <0xe0005000 0x1000>;
130a066622eSWei.Li			#address-cells = <0x1>;
131a066622eSWei.Li			#size-cells = <0x0>;
132a066622eSWei.Li		};
133a066622eSWei.Li
134a066622eSWei.Li		interrupt-controller@f8f01000 {
135a066622eSWei.Li			compatible = "arm,cortex-a9-gic";
136a066622eSWei.Li			#interrupt-cells = <0x3>;
137a066622eSWei.Li			interrupt-controller;
138a066622eSWei.Li			reg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
139a066622eSWei.Li			linux,phandle = <0x1>;
140a066622eSWei.Li			phandle = <0x1>;
141a066622eSWei.Li		};
142a066622eSWei.Li
143a066622eSWei.Li		cache-controller@f8f02000 {
144a066622eSWei.Li			compatible = "arm,pl310-cache";
145a066622eSWei.Li			reg = <0xf8f02000 0x1000>;
146a066622eSWei.Li			interrupts = <0x0 0x2 0x4>;
147a066622eSWei.Li			arm,data-latency = <0x3 0x2 0x2>;
148a066622eSWei.Li			arm,tag-latency = <0x2 0x2 0x2>;
149a066622eSWei.Li			cache-unified;
150a066622eSWei.Li			cache-level = <0x2>;
151a066622eSWei.Li		};
152a066622eSWei.Li
153a066622eSWei.Li		memory-controller@f8006000 {
154a066622eSWei.Li			compatible = "xlnx,zynq-ddrc-a05";
155a066622eSWei.Li			reg = <0xf8006000 0x1000>;
156a066622eSWei.Li		};
157a066622eSWei.Li
158a066622eSWei.Li		ocmc@f800c000 {
159a066622eSWei.Li			compatible = "xlnx,zynq-ocmc-1.0";
160a066622eSWei.Li			interrupt-parent = <0x1>;
161a066622eSWei.Li			interrupts = <0x0 0x3 0x4>;
162a066622eSWei.Li			reg = <0xf800c000 0x1000>;
163a066622eSWei.Li		};
164a066622eSWei.Li
165a066622eSWei.Li		serial@e0000000 {
166a066622eSWei.Li			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
167a066622eSWei.Li			status = "disabled";
168a066622eSWei.Li			clocks = <0x2 0x17 0x2 0x28>;
169a066622eSWei.Li			clock-names = "uart_clk", "pclk";
170a066622eSWei.Li			reg = <0xe0000000 0x1000>;
171a066622eSWei.Li			interrupts = <0x0 0x1b 0x4>;
172a066622eSWei.Li		};
173a066622eSWei.Li
174a066622eSWei.Li		serial@e0001000 {
175a066622eSWei.Li			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
176a066622eSWei.Li			status = "okay";
177a066622eSWei.Li			clocks = <0x2 0x18 0x2 0x29>;
178a066622eSWei.Li			clock-names = "uart_clk", "pclk";
179a066622eSWei.Li			reg = <0xe0001000 0x1000>;
180a066622eSWei.Li			interrupts = <0x0 0x32 0x4>;
181a066622eSWei.Li		};
182a066622eSWei.Li
183a066622eSWei.Li		spi@e0006000 {
184a066622eSWei.Li			compatible = "xlnx,zynq-spi-r1p6";
185a066622eSWei.Li			reg = <0xe0006000 0x1000>;
186a066622eSWei.Li			status = "okay";
187a066622eSWei.Li			interrupt-parent = <0x1>;
188a066622eSWei.Li			interrupts = <0x0 0x1a 0x4>;
189a066622eSWei.Li			clocks = <0x2 0x19 0x2 0x22>;
190a066622eSWei.Li			clock-names = "ref_clk", "pclk";
191a066622eSWei.Li			#address-cells = <0x1>;
192a066622eSWei.Li			#size-cells = <0x0>;
193a066622eSWei.Li
194a066622eSWei.Li			ad9361-phy@0 {
195a066622eSWei.Li				#address-cells = <0x1>;
196a066622eSWei.Li				#size-cells = <0x0>;
197a066622eSWei.Li				#clock-cells = <0x1>;
198a066622eSWei.Li				compatible = "adi,ad9361";
199a066622eSWei.Li				reg = <0x0>;
200a066622eSWei.Li				spi-cpha;
201a066622eSWei.Li				spi-max-frequency = <0x989680>;
202a066622eSWei.Li				clocks = <0x5 0x0>;
203a066622eSWei.Li				clock-names = "ad9364_ext_refclk";
204a066622eSWei.Li				clock-output-names = "rx_sampl_clk", "tx_sampl_clk";
205a066622eSWei.Li				adi,digital-interface-tune-skip-mode = <0x0>;
206a066622eSWei.Li				adi,pp-tx-swap-enable;
207a066622eSWei.Li				adi,pp-rx-swap-enable;
208a066622eSWei.Li				adi,rx-frame-pulse-mode-enable;
209a066622eSWei.Li				adi,lvds-mode-enable;
210a066622eSWei.Li				adi,lvds-bias-mV = <0x96>;
211a066622eSWei.Li				adi,lvds-rx-onchip-termination-enable;
212a066622eSWei.Li				adi,rx-data-delay = <0x4>;
213a066622eSWei.Li				adi,tx-fb-clock-delay = <0x7>;
214a066622eSWei.Li				adi,xo-disable-use-ext-refclk-enable;
215a066622eSWei.Li				adi,2rx-2tx-mode-enable;
216a066622eSWei.Li				adi,frequency-division-duplex-mode-enable;
217a066622eSWei.Li				adi,rx-rf-port-input-select = <0x0>;
218a066622eSWei.Li				adi,tx-rf-port-input-select = <0x0>;
219a066622eSWei.Li				adi,tx-attenuation-mdB = <0x2710>;
220a066622eSWei.Li				adi,tx-lo-powerdown-managed-enable;
221a066622eSWei.Li				adi,rf-rx-bandwidth-hz = <0x112a880>;
222a066622eSWei.Li				adi,rf-tx-bandwidth-hz = <0x112a880>;
223a066622eSWei.Li				adi,rx-synthesizer-frequency-hz = <0x0 0x8f0d1800>;
224a066622eSWei.Li				adi,tx-synthesizer-frequency-hz = <0x0 0x92080880>;
225a066622eSWei.Li				adi,rx-path-clock-frequencies = <0x3a980000 0xea60000 0x7530000 0x3a98000 0x1d4c000 0x1d4c000>;
226a066622eSWei.Li				adi,tx-path-clock-frequencies = <0x3a980000 0x7530000 0x7530000 0x3a98000 0x1d4c000 0x1d4c000>;
227a066622eSWei.Li				adi,gc-rx1-mode = <0x2>;
228a066622eSWei.Li				adi,gc-rx2-mode = <0x2>;
229a066622eSWei.Li				adi,gc-adc-ovr-sample-size = <0x4>;
230a066622eSWei.Li				adi,gc-adc-small-overload-thresh = <0x2f>;
231a066622eSWei.Li				adi,gc-adc-large-overload-thresh = <0x3a>;
232a066622eSWei.Li				adi,gc-lmt-overload-high-thresh = <0x320>;
233a066622eSWei.Li				adi,gc-lmt-overload-low-thresh = <0x2c0>;
234a066622eSWei.Li				adi,gc-dec-pow-measurement-duration = <0x2000>;
235a066622eSWei.Li				adi,gc-low-power-thresh = <0x18>;
236a066622eSWei.Li				adi,mgc-inc-gain-step = <0x2>;
237a066622eSWei.Li				adi,mgc-dec-gain-step = <0x2>;
238a066622eSWei.Li				adi,mgc-split-table-ctrl-inp-gain-mode = <0x0>;
239a066622eSWei.Li				adi,agc-attack-delay-extra-margin-us = <0x1>;
240a066622eSWei.Li				adi,agc-outer-thresh-high = <0x5>;
241a066622eSWei.Li				adi,agc-outer-thresh-high-dec-steps = <0x2>;
242a066622eSWei.Li				adi,agc-inner-thresh-high = <0xa>;
243a066622eSWei.Li				adi,agc-inner-thresh-high-dec-steps = <0x1>;
244a066622eSWei.Li				adi,agc-inner-thresh-low = <0xc>;
245a066622eSWei.Li				adi,agc-inner-thresh-low-inc-steps = <0x1>;
246a066622eSWei.Li				adi,agc-outer-thresh-low = <0x12>;
247a066622eSWei.Li				adi,agc-outer-thresh-low-inc-steps = <0x2>;
248a066622eSWei.Li				adi,agc-adc-small-overload-exceed-counter = <0xa>;
249a066622eSWei.Li				adi,agc-adc-large-overload-exceed-counter = <0xa>;
250a066622eSWei.Li				adi,agc-adc-large-overload-inc-steps = <0x2>;
251a066622eSWei.Li				adi,agc-lmt-overload-large-exceed-counter = <0xa>;
252a066622eSWei.Li				adi,agc-lmt-overload-small-exceed-counter = <0xa>;
253a066622eSWei.Li				adi,agc-lmt-overload-large-inc-steps = <0x2>;
254a066622eSWei.Li				adi,agc-gain-update-interval-us = <0x3e8>;
255a066622eSWei.Li				adi,fagc-dec-pow-measurement-duration = <0x40>;
256a066622eSWei.Li				adi,fagc-lp-thresh-increment-steps = <0x1>;
257a066622eSWei.Li				adi,fagc-lp-thresh-increment-time = <0x5>;
258a066622eSWei.Li				adi,fagc-energy-lost-stronger-sig-gain-lock-exit-cnt = <0x8>;
259a066622eSWei.Li				adi,fagc-final-overrange-count = <0x3>;
260a066622eSWei.Li				adi,fagc-gain-index-type-after-exit-rx-mode = <0x0>;
261a066622eSWei.Li				adi,fagc-lmt-final-settling-steps = <0x1>;
262a066622eSWei.Li				adi,fagc-lock-level = <0xa>;
263a066622eSWei.Li				adi,fagc-lock-level-gain-increase-upper-limit = <0x5>;
264a066622eSWei.Li				adi,fagc-lock-level-lmt-gain-increase-enable;
265a066622eSWei.Li				adi,fagc-lpf-final-settling-steps = <0x1>;
266a066622eSWei.Li				adi,fagc-optimized-gain-offset = <0x5>;
267a066622eSWei.Li				adi,fagc-power-measurement-duration-in-state5 = <0x40>;
268a066622eSWei.Li				adi,fagc-rst-gla-engergy-lost-goto-optim-gain-enable;
269a066622eSWei.Li				adi,fagc-rst-gla-engergy-lost-sig-thresh-below-ll = <0xa>;
270a066622eSWei.Li				adi,fagc-rst-gla-engergy-lost-sig-thresh-exceeded-enable;
271a066622eSWei.Li				adi,fagc-rst-gla-if-en-agc-pulled-high-mode = <0x0>;
272a066622eSWei.Li				adi,fagc-rst-gla-large-adc-overload-enable;
273a066622eSWei.Li				adi,fagc-rst-gla-large-lmt-overload-enable;
274a066622eSWei.Li				adi,fagc-rst-gla-stronger-sig-thresh-above-ll = <0xa>;
275a066622eSWei.Li				adi,fagc-rst-gla-stronger-sig-thresh-exceeded-enable;
276a066622eSWei.Li				adi,fagc-state-wait-time-ns = <0x104>;
277a066622eSWei.Li				adi,fagc-use-last-lock-level-for-set-gain-enable;
278a066622eSWei.Li				adi,rssi-restart-mode = <0x3>;
279a066622eSWei.Li				adi,rssi-delay = <0x1>;
280a066622eSWei.Li				adi,rssi-wait = <0x1>;
281a066622eSWei.Li				adi,rssi-duration = <0x3e8>;
282a066622eSWei.Li				adi,ctrl-outs-index = <0x0>;
283a066622eSWei.Li				adi,ctrl-outs-enable-mask = <0xff>;
284a066622eSWei.Li				adi,temp-sense-measurement-interval-ms = <0x3e8>;
285a066622eSWei.Li				adi,temp-sense-offset-signed = <0xce>;
286a066622eSWei.Li				adi,temp-sense-periodic-measurement-enable;
287a066622eSWei.Li				adi,aux-dac-manual-mode-enable;
288a066622eSWei.Li				adi,aux-dac1-default-value-mV = <0x0>;
289a066622eSWei.Li				adi,aux-dac1-rx-delay-us = <0x0>;
290a066622eSWei.Li				adi,aux-dac1-tx-delay-us = <0x0>;
291a066622eSWei.Li				adi,aux-dac2-default-value-mV = <0x0>;
292a066622eSWei.Li				adi,aux-dac2-rx-delay-us = <0x0>;
293a066622eSWei.Li				adi,aux-dac2-tx-delay-us = <0x0>;
294a066622eSWei.Li				en_agc-gpios = <0x6 0x62 0x0>;
295a066622eSWei.Li				sync-gpios = <0x6 0x63 0x0>;
296a066622eSWei.Li				reset-gpios = <0x6 0x64 0x0>;
297a066622eSWei.Li				enable-gpios = <0x6 0x65 0x0>;
298a066622eSWei.Li				txnrx-gpios = <0x6 0x66 0x0>;
299a066622eSWei.Li				linux,phandle = <0xb>;
300a066622eSWei.Li				phandle = <0xb>;
301a066622eSWei.Li			};
302a066622eSWei.Li		};
303a066622eSWei.Li
304a066622eSWei.Li		spi@e0007000 {
305a066622eSWei.Li			compatible = "xlnx,zynq-spi-r1p6";
306a066622eSWei.Li			reg = <0xe0007000 0x1000>;
307a066622eSWei.Li			status = "disabled";
308a066622eSWei.Li			interrupt-parent = <0x1>;
309a066622eSWei.Li			interrupts = <0x0 0x31 0x4>;
310a066622eSWei.Li			clocks = <0x2 0x1a 0x2 0x23>;
311a066622eSWei.Li			clock-names = "ref_clk", "pclk";
312a066622eSWei.Li			#address-cells = <0x1>;
313a066622eSWei.Li			#size-cells = <0x0>;
314a066622eSWei.Li		};
315a066622eSWei.Li
316a066622eSWei.Li		spi@e000d000 {
317a066622eSWei.Li			clock-names = "ref_clk", "pclk";
318a066622eSWei.Li			clocks = <0x2 0xa 0x2 0x2b>;
319a066622eSWei.Li			compatible = "xlnx,zynq-qspi-1.0";
320a066622eSWei.Li			status = "okay";
321a066622eSWei.Li			interrupt-parent = <0x1>;
322a066622eSWei.Li			interrupts = <0x0 0x13 0x4>;
323a066622eSWei.Li			reg = <0xe000d000 0x1000>;
324a066622eSWei.Li			#address-cells = <0x1>;
325a066622eSWei.Li			#size-cells = <0x0>;
326a066622eSWei.Li			is-dual = <0x0>;
327a066622eSWei.Li			num-cs = <0x1>;
328a066622eSWei.Li
329a066622eSWei.Li			ps7-qspi@0 {
330a066622eSWei.Li				#address-cells = <0x1>;
331a066622eSWei.Li				#size-cells = <0x1>;
332a066622eSWei.Li				spi-tx-bus-width = <0x1>;
333a066622eSWei.Li				spi-rx-bus-width = <0x4>;
334a066622eSWei.Li				compatible = "n25q256a", "jedec,spi-nor";
335a066622eSWei.Li				reg = <0x0>;
336a066622eSWei.Li				spi-max-frequency = <0x2faf080>;
337a066622eSWei.Li
338a066622eSWei.Li				partition@qspi-fsbl-uboot {
339a066622eSWei.Li					label = "qspi-fsbl-uboot";
340a066622eSWei.Li					reg = <0x0 0xe0000>;
341a066622eSWei.Li				};
342a066622eSWei.Li
343a066622eSWei.Li				partition@qspi-uboot-env {
344a066622eSWei.Li					label = "qspi-uboot-env";
345a066622eSWei.Li					reg = <0xe0000 0x20000>;
346a066622eSWei.Li				};
347a066622eSWei.Li
348a066622eSWei.Li				partition@qspi-linux {
349a066622eSWei.Li					label = "qspi-linux";
350a066622eSWei.Li					reg = <0x100000 0x500000>;
351a066622eSWei.Li				};
352a066622eSWei.Li
353a066622eSWei.Li				partition@qspi-device-tree {
354a066622eSWei.Li					label = "qspi-device-tree";
355a066622eSWei.Li					reg = <0x600000 0x20000>;
356a066622eSWei.Li				};
357a066622eSWei.Li
358a066622eSWei.Li				partition@qspi-rootfs {
359a066622eSWei.Li					label = "qspi-rootfs";
360a066622eSWei.Li					reg = <0x620000 0xce0000>;
361a066622eSWei.Li				};
362a066622eSWei.Li
363a066622eSWei.Li				partition@qspi-bitstream {
364a066622eSWei.Li					label = "qspi-bitstream";
365a066622eSWei.Li					reg = <0x1300000 0xd00000>;
366a066622eSWei.Li				};
367a066622eSWei.Li			};
368a066622eSWei.Li		};
369a066622eSWei.Li
370a066622eSWei.Li		memory-controller@e000e000 {
371a066622eSWei.Li			#address-cells = <0x1>;
372a066622eSWei.Li			#size-cells = <0x1>;
373a066622eSWei.Li			status = "disabled";
374a066622eSWei.Li			clock-names = "memclk", "aclk";
375a066622eSWei.Li			clocks = <0x2 0xb 0x2 0x2c>;
376a066622eSWei.Li			compatible = "arm,pl353-smc-r2p1";
377a066622eSWei.Li			interrupt-parent = <0x1>;
378a066622eSWei.Li			interrupts = <0x0 0x12 0x4>;
379a066622eSWei.Li			ranges;
380a066622eSWei.Li			reg = <0xe000e000 0x1000>;
381a066622eSWei.Li
382a066622eSWei.Li			flash@e1000000 {
383a066622eSWei.Li				status = "disabled";
384a066622eSWei.Li				compatible = "arm,pl353-nand-r2p1";
385a066622eSWei.Li				reg = <0xe1000000 0x1000000>;
386a066622eSWei.Li				#address-cells = <0x1>;
387a066622eSWei.Li				#size-cells = <0x1>;
388a066622eSWei.Li			};
389a066622eSWei.Li
390a066622eSWei.Li			flash@e2000000 {
391a066622eSWei.Li				status = "disabled";
392a066622eSWei.Li				compatible = "cfi-flash";
393a066622eSWei.Li				reg = <0xe2000000 0x2000000>;
394a066622eSWei.Li				#address-cells = <0x1>;
395a066622eSWei.Li				#size-cells = <0x1>;
396a066622eSWei.Li			};
397a066622eSWei.Li		};
398a066622eSWei.Li
399a066622eSWei.Li		ethernet@e000b000 {
400a066622eSWei.Li			compatible = "cdns,zynq-gem", "cdns,gem";
401a066622eSWei.Li			reg = <0xe000b000 0x1000>;
402a066622eSWei.Li			status = "okay";
403a066622eSWei.Li			interrupts = <0x0 0x16 0x4>;
404a066622eSWei.Li			clocks = <0x2 0x1e 0x2 0x1e 0x2 0xd>;
405a066622eSWei.Li			clock-names = "pclk", "hclk", "tx_clk";
406a066622eSWei.Li			#address-cells = <0x1>;
407a066622eSWei.Li			#size-cells = <0x0>;
408a066622eSWei.Li			phy-handle = <0x7>;
409a066622eSWei.Li			phy-mode = "rgmii-id";
410a066622eSWei.Li
411a066622eSWei.Li			phy@0 {
412a066622eSWei.Li				device_type = "ethernet-phy";
413a066622eSWei.Li				reg = <0x0>;
414a066622eSWei.Li				marvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0x0>;
415a066622eSWei.Li				linux,phandle = <0x7>;
416a066622eSWei.Li				phandle = <0x7>;
417a066622eSWei.Li			};
418a066622eSWei.Li		};
419a066622eSWei.Li
420*9594dc72Shexsdr
421a066622eSWei.Li		ethernet@e000c000 {
422a066622eSWei.Li			compatible = "cdns,zynq-gem", "cdns,gem";
423a066622eSWei.Li			reg = <0xe000c000 0x1000>;
424*9594dc72Shexsdr			status = "okay";
425a066622eSWei.Li			interrupts = <0x0 0x2d 0x4>;
426a066622eSWei.Li			clocks = <0x2 0x1f 0x2 0x1f 0x2 0xe>;
427a066622eSWei.Li			clock-names = "pclk", "hclk", "tx_clk";
428a066622eSWei.Li			#address-cells = <0x1>;
429a066622eSWei.Li			#size-cells = <0x0>;
430*9594dc72Shexsdr			phy-mode = "gmii";
431*9594dc72Shexsdr			phy-handle = <&phy1>;
432*9594dc72Shexsdr
433*9594dc72Shexsdr			phy1: phy@0{
434*9594dc72Shexsdr				reg = <0>;
435a066622eSWei.Li			};
436*9594dc72Shexsdr		};
437*9594dc72Shexsdr
438a066622eSWei.Li
439a066622eSWei.Li		mmc@e0100000 {
440a066622eSWei.Li			compatible = "arasan,sdhci-8.9a";
441a066622eSWei.Li			status = "okay";
442a066622eSWei.Li			clock-names = "clk_xin", "clk_ahb";
443a066622eSWei.Li			clocks = <0x2 0x15 0x2 0x20>;
444a066622eSWei.Li			interrupt-parent = <0x1>;
445a066622eSWei.Li			interrupts = <0x0 0x18 0x4>;
446a066622eSWei.Li			reg = <0xe0100000 0x1000>;
447a066622eSWei.Li			disable-wp;
448a066622eSWei.Li		};
449a066622eSWei.Li
450a066622eSWei.Li		mmc@e0101000 {
451a066622eSWei.Li			compatible = "arasan,sdhci-8.9a";
452a066622eSWei.Li			status = "disabled";
453a066622eSWei.Li			clock-names = "clk_xin", "clk_ahb";
454a066622eSWei.Li			clocks = <0x2 0x16 0x2 0x21>;
455a066622eSWei.Li			interrupt-parent = <0x1>;
456a066622eSWei.Li			interrupts = <0x0 0x2f 0x4>;
457a066622eSWei.Li			reg = <0xe0101000 0x1000>;
458a066622eSWei.Li		};
459a066622eSWei.Li
460a066622eSWei.Li		slcr@f8000000 {
461a066622eSWei.Li			u-boot,dm-pre-reloc;
462a066622eSWei.Li			#address-cells = <0x1>;
463a066622eSWei.Li			#size-cells = <0x1>;
464a066622eSWei.Li			compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
465a066622eSWei.Li			reg = <0xf8000000 0x1000>;
466a066622eSWei.Li			ranges;
467a066622eSWei.Li			linux,phandle = <0x8>;
468a066622eSWei.Li			phandle = <0x8>;
469a066622eSWei.Li
470a066622eSWei.Li			clkc@100 {
471a066622eSWei.Li				u-boot,dm-pre-reloc;
472a066622eSWei.Li				#clock-cells = <0x1>;
473a066622eSWei.Li				compatible = "xlnx,ps7-clkc";
474a066622eSWei.Li				fclk-enable = <0xf>;
475a066622eSWei.Li				clock-output-names = "armpll", "ddrpll", "iopll", "cpu_6or4x", "cpu_3or2x", "cpu_2x", "cpu_1x", "ddr2x", "ddr3x", "dci", "lqspi", "smc", "pcap", "gem0", "gem1", "fclk0", "fclk1", "fclk2", "fclk3", "can0", "can1", "sdio0", "sdio1", "uart0", "uart1", "spi0", "spi1", "dma", "usb0_aper", "usb1_aper", "gem0_aper", "gem1_aper", "sdio0_aper", "sdio1_aper", "spi0_aper", "spi1_aper", "can0_aper", "can1_aper", "i2c0_aper", "i2c1_aper", "uart0_aper", "uart1_aper", "gpio_aper", "lqspi_aper", "smc_aper", "swdt", "dbg_trc", "dbg_apb";
476a066622eSWei.Li				reg = <0x100 0x100>;
477a066622eSWei.Li				ps-clk-frequency = <0x1fca055>;
478a066622eSWei.Li				linux,phandle = <0x2>;
479a066622eSWei.Li				phandle = <0x2>;
480a066622eSWei.Li			};
481a066622eSWei.Li
482a066622eSWei.Li			rstc@200 {
483a066622eSWei.Li				compatible = "xlnx,zynq-reset";
484a066622eSWei.Li				reg = <0x200 0x48>;
485a066622eSWei.Li				#reset-cells = <0x1>;
486a066622eSWei.Li				syscon = <0x8>;
487a066622eSWei.Li			};
488a066622eSWei.Li
489a066622eSWei.Li			pinctrl@700 {
490a066622eSWei.Li				compatible = "xlnx,pinctrl-zynq";
491a066622eSWei.Li				reg = <0x700 0x200>;
492a066622eSWei.Li				syscon = <0x8>;
493a066622eSWei.Li			};
494a066622eSWei.Li		};
495a066622eSWei.Li
496a066622eSWei.Li		dmac@f8003000 {
497a066622eSWei.Li			compatible = "arm,pl330", "arm,primecell";
498a066622eSWei.Li			reg = <0xf8003000 0x1000>;
499a066622eSWei.Li			interrupt-parent = <0x1>;
500a066622eSWei.Li			interrupt-names = "abort", "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7";
501a066622eSWei.Li			interrupts = <0x0 0xd 0x4 0x0 0xe 0x4 0x0 0xf 0x4 0x0 0x10 0x4 0x0 0x11 0x4 0x0 0x28 0x4 0x0 0x29 0x4 0x0 0x2a 0x4 0x0 0x2b 0x4>;
502a066622eSWei.Li			#dma-cells = <0x1>;
503a066622eSWei.Li			#dma-channels = <0x8>;
504a066622eSWei.Li			#dma-requests = <0x4>;
505a066622eSWei.Li			clocks = <0x2 0x1b>;
506a066622eSWei.Li			clock-names = "apb_pclk";
507a066622eSWei.Li		};
508a066622eSWei.Li
509a066622eSWei.Li		devcfg@f8007000 {
510a066622eSWei.Li			compatible = "xlnx,zynq-devcfg-1.0";
511a066622eSWei.Li			interrupt-parent = <0x1>;
512a066622eSWei.Li			interrupts = <0x0 0x8 0x4>;
513a066622eSWei.Li			reg = <0xf8007000 0x100>;
514a066622eSWei.Li			clocks = <0x2 0xc 0x2 0xf 0x2 0x10 0x2 0x11 0x2 0x12>;
515a066622eSWei.Li			clock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
516a066622eSWei.Li			syscon = <0x8>;
517a066622eSWei.Li			linux,phandle = <0x4>;
518a066622eSWei.Li			phandle = <0x4>;
519a066622eSWei.Li		};
520a066622eSWei.Li
521a066622eSWei.Li		efuse@f800d000 {
522a066622eSWei.Li			compatible = "xlnx,zynq-efuse";
523a066622eSWei.Li			reg = <0xf800d000 0x20>;
524a066622eSWei.Li		};
525a066622eSWei.Li
526a066622eSWei.Li		timer@f8f00200 {
527a066622eSWei.Li			compatible = "arm,cortex-a9-global-timer";
528a066622eSWei.Li			reg = <0xf8f00200 0x20>;
529a066622eSWei.Li			interrupts = <0x1 0xb 0x301>;
530a066622eSWei.Li			interrupt-parent = <0x1>;
531a066622eSWei.Li			clocks = <0x2 0x4>;
532a066622eSWei.Li		};
533a066622eSWei.Li
534a066622eSWei.Li		timer@f8001000 {
535a066622eSWei.Li			interrupt-parent = <0x1>;
536a066622eSWei.Li			interrupts = <0x0 0xa 0x4 0x0 0xb 0x4 0x0 0xc 0x4>;
537a066622eSWei.Li			compatible = "cdns,ttc";
538a066622eSWei.Li			clocks = <0x2 0x6>;
539a066622eSWei.Li			reg = <0xf8001000 0x1000>;
540a066622eSWei.Li		};
541a066622eSWei.Li
542a066622eSWei.Li		timer@f8002000 {
543a066622eSWei.Li			interrupt-parent = <0x1>;
544a066622eSWei.Li			interrupts = <0x0 0x25 0x4 0x0 0x26 0x4 0x0 0x27 0x4>;
545a066622eSWei.Li			compatible = "cdns,ttc";
546a066622eSWei.Li			clocks = <0x2 0x6>;
547a066622eSWei.Li			reg = <0xf8002000 0x1000>;
548a066622eSWei.Li		};
549a066622eSWei.Li
550a066622eSWei.Li		timer@f8f00600 {
551a066622eSWei.Li			interrupt-parent = <0x1>;
552a066622eSWei.Li			interrupts = <0x1 0xd 0x301>;
553a066622eSWei.Li			compatible = "arm,cortex-a9-twd-timer";
554a066622eSWei.Li			reg = <0xf8f00600 0x20>;
555a066622eSWei.Li			clocks = <0x2 0x4>;
556a066622eSWei.Li		};
557a066622eSWei.Li
558a066622eSWei.Li		usb@e0002000 {
559a066622eSWei.Li			compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
560a066622eSWei.Li			status = "okay";
561a066622eSWei.Li			clocks = <0x2 0x1c>;
562a066622eSWei.Li			interrupt-parent = <0x1>;
563a066622eSWei.Li			interrupts = <0x0 0x15 0x4>;
564a066622eSWei.Li			reg = <0xe0002000 0x1000>;
565a066622eSWei.Li			phy_type = "ulpi";
566a066622eSWei.Li			dr_mode = "host";
567a066622eSWei.Li			xlnx,phy-reset-gpio = <0x6 0x7 0x0>;
568a066622eSWei.Li		};
569a066622eSWei.Li
570a066622eSWei.Li		usb@e0003000 {
571a066622eSWei.Li			compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
572a066622eSWei.Li			status = "disabled";
573a066622eSWei.Li			clocks = <0x2 0x1d>;
574a066622eSWei.Li			interrupt-parent = <0x1>;
575a066622eSWei.Li			interrupts = <0x0 0x2c 0x4>;
576a066622eSWei.Li			reg = <0xe0003000 0x1000>;
577a066622eSWei.Li			phy_type = "ulpi";
578a066622eSWei.Li		};
579a066622eSWei.Li
580a066622eSWei.Li		watchdog@f8005000 {
581a066622eSWei.Li			clocks = <0x2 0x2d>;
582a066622eSWei.Li			compatible = "cdns,wdt-r1p2";
583a066622eSWei.Li			interrupt-parent = <0x1>;
584a066622eSWei.Li			interrupts = <0x0 0x9 0x1>;
585a066622eSWei.Li			reg = <0xf8005000 0x1000>;
586a066622eSWei.Li			timeout-sec = <0xa>;
587a066622eSWei.Li		};
588a066622eSWei.Li	};
589a066622eSWei.Li
590a066622eSWei.Li	aliases {
591a066622eSWei.Li		ethernet0 = "/amba/ethernet@e000b000";
592a066622eSWei.Li		serial0 = "/amba/serial@e0001000";
593a066622eSWei.Li	};
594a066622eSWei.Li
595a066622eSWei.Li	memory {
596a066622eSWei.Li		device_type = "memory";
597a066622eSWei.Li		reg = <0x0 0x40000000>;
598a066622eSWei.Li	};
599a066622eSWei.Li
600a066622eSWei.Li	chosen {
601a066622eSWei.Li		linux,stdout-path = "/amba@0/uart@E0001000";
602a066622eSWei.Li	};
603a066622eSWei.Li
604a066622eSWei.Li	clocks {
605a066622eSWei.Li
606a066622eSWei.Li		clock@0 {
607a066622eSWei.Li			#clock-cells = <0x0>;
608a066622eSWei.Li			compatible = "adjustable-clock";
609a066622eSWei.Li			clock-frequency = <0x2625a00>;
610a066622eSWei.Li			clock-accuracy = <0x30d40>;
611a066622eSWei.Li			clock-output-names = "ad9364_ext_refclk";
612a066622eSWei.Li			linux,phandle = <0x5>;
613a066622eSWei.Li			phandle = <0x5>;
614a066622eSWei.Li		};
615a066622eSWei.Li
616a066622eSWei.Li		clock@1 {
617a066622eSWei.Li			#clock-cells = <0x0>;
618a066622eSWei.Li			compatible = "fixed-clock";
619a066622eSWei.Li			clock-frequency = <0x16e3600>;
620a066622eSWei.Li			clock-output-names = "24MHz";
621a066622eSWei.Li			linux,phandle = <0x9>;
622a066622eSWei.Li			phandle = <0x9>;
623a066622eSWei.Li		};
624a066622eSWei.Li	};
625a066622eSWei.Li
626a066622eSWei.Li	usb-ulpi-gpio-gate@0 {
627a066622eSWei.Li		compatible = "gpio-gate-clock";
628a066622eSWei.Li		clocks = <0x9>;
629a066622eSWei.Li		#clock-cells = <0x0>;
630a066622eSWei.Li		enable-gpios = <0x6 0x9 0x1>;
631a066622eSWei.Li	};
632a066622eSWei.Li
633a066622eSWei.Li	fpga-axi@0 {
634a066622eSWei.Li		compatible = "simple-bus";
635a066622eSWei.Li		#address-cells = <0x1>;
636a066622eSWei.Li		#size-cells = <0x1>;
637a066622eSWei.Li		ranges;
638a066622eSWei.Li
639a066622eSWei.Li		i2c@41600000 {
640a066622eSWei.Li			compatible = "xlnx,axi-iic-1.02.a", "xlnx,xps-iic-2.00.a";
641a066622eSWei.Li			reg = <0x41600000 0x10000>;
642a066622eSWei.Li			interrupt-parent = <0x1>;
643a066622eSWei.Li			interrupts = <0x0 0x3a 0x4>;
644a066622eSWei.Li			clocks = <0x2 0xf>;
645a066622eSWei.Li			clock-names = "pclk";
646a066622eSWei.Li			#address-cells = <0x1>;
647a066622eSWei.Li			#size-cells = <0x0>;
648a066622eSWei.Li
649a066622eSWei.Li			ad7291@20 {
650a066622eSWei.Li				compatible = "adi,ad7291";
651a066622eSWei.Li				reg = <0x20>;
652a066622eSWei.Li			};
653a066622eSWei.Li
654a066622eSWei.Li			ad7291-bob@2C {
655a066622eSWei.Li				compatible = "adi,ad7291";
656a066622eSWei.Li				reg = <0x2c>;
657a066622eSWei.Li			};
658a066622eSWei.Li
659a066622eSWei.Li			eeprom@50 {
660a066622eSWei.Li				compatible = "at24,24c32";
661a066622eSWei.Li				reg = <0x50>;
662a066622eSWei.Li			};
663a066622eSWei.Li		};
664a066622eSWei.Li
665a066622eSWei.Li		// dma@7c400000 {
666a066622eSWei.Li		// 	compatible = "adi,axi-dmac-1.00.a";
667a066622eSWei.Li		// 	reg = <0x7c400000 0x10000>;
668a066622eSWei.Li		// 	#dma-cells = <0x1>;
669a066622eSWei.Li		// 	interrupts = <0x0 0x39 0x0>;
670a066622eSWei.Li		// 	clocks = <0x2 0x10>;
671a066622eSWei.Li		// 	linux,phandle = <0xa>;
672a066622eSWei.Li		// 	phandle = <0xa>;
673a066622eSWei.Li
674a066622eSWei.Li		// 	adi,channels {
675a066622eSWei.Li		// 		#size-cells = <0x0>;
676a066622eSWei.Li		// 		#address-cells = <0x1>;
677a066622eSWei.Li
678a066622eSWei.Li		// 		dma-channel@0 {
679a066622eSWei.Li		// 			reg = <0x0>;
680a066622eSWei.Li		// 			adi,source-bus-width = <0x40>;
681a066622eSWei.Li		// 			adi,source-bus-type = <0x2>;
682a066622eSWei.Li		// 			adi,destination-bus-width = <0x40>;
683a066622eSWei.Li		// 			adi,destination-bus-type = <0x0>;
684a066622eSWei.Li		// 		};
685a066622eSWei.Li		// 	};
686a066622eSWei.Li		// };
687a066622eSWei.Li
688a066622eSWei.Li		// dma@7c420000 {
689a066622eSWei.Li		// 	compatible = "adi,axi-dmac-1.00.a";
690a066622eSWei.Li		// 	reg = <0x7c420000 0x10000>;
691a066622eSWei.Li		// 	#dma-cells = <0x1>;
692a066622eSWei.Li		// 	interrupts = <0x0 0x38 0x0>;
693a066622eSWei.Li		// 	clocks = <0x2 0x10>;
694a066622eSWei.Li		// 	linux,phandle = <0xc>;
695a066622eSWei.Li		// 	phandle = <0xc>;
696a066622eSWei.Li
697a066622eSWei.Li		// 	adi,channels {
698a066622eSWei.Li		// 		#size-cells = <0x0>;
699a066622eSWei.Li		// 		#address-cells = <0x1>;
700a066622eSWei.Li
701a066622eSWei.Li		// 		dma-channel@0 {
702a066622eSWei.Li		// 			reg = <0x0>;
703a066622eSWei.Li		// 			adi,source-bus-width = <0x40>;
704a066622eSWei.Li		// 			adi,source-bus-type = <0x0>;
705a066622eSWei.Li		// 			adi,destination-bus-width = <0x40>;
706a066622eSWei.Li		// 			adi,destination-bus-type = <0x2>;
707a066622eSWei.Li		// 		};
708a066622eSWei.Li		// 	};
709a066622eSWei.Li		// };
710a066622eSWei.Li
711a066622eSWei.Li		sdr: sdr {
712a066622eSWei.Li			compatible ="sdr,sdr";
713a066622eSWei.Li			dmas = <&rx_dma 1
714a066622eSWei.Li					&tx_dma 0>;
715a066622eSWei.Li			dma-names = "rx_dma_s2mm", "tx_dma_mm2s";
716a066622eSWei.Li			interrupt-names = "not_valid_anymore", "rx_pkt_intr", "tx_itrpt";
717a066622eSWei.Li			interrupt-parent = <1>;
718a066622eSWei.Li			interrupts = <0 29 1 0 30 1 0 33 1 0 34 1>;
719a066622eSWei.Li		} ;
720a066622eSWei.Li
721a066622eSWei.Li		axidmatest_1: axidmatest@1 {
722a066622eSWei.Li			compatible ="xlnx,axi-dma-test-1.00.a";
723a066622eSWei.Li			dmas = <&rx_dma 0
724a066622eSWei.Li				&rx_dma 1>;
725a066622eSWei.Li			dma-names = "axidma0", "axidma1";
726a066622eSWei.Li		} ;
727a066622eSWei.Li
728a066622eSWei.Li		tx_dma: dma@80400000 {
729a066622eSWei.Li			#dma-cells = <1>;
730a066622eSWei.Li			clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
731a066622eSWei.Li			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
732a066622eSWei.Li			compatible = "xlnx,axi-dma-1.00.a";
733a066622eSWei.Li			interrupt-names = "mm2s_introut", "s2mm_introut";
734a066622eSWei.Li			interrupt-parent = <1>;
735a066622eSWei.Li			interrupts = <0 35 4 0 36 4>;
736a066622eSWei.Li			reg = <0x80400000 0x10000>;
737a066622eSWei.Li			xlnx,addrwidth = <0x20>;
738a066622eSWei.Li			xlnx,include-sg ;
739a066622eSWei.Li			xlnx,sg-length-width = <0xe>;
740a066622eSWei.Li			dma-channel@80400000 {
741a066622eSWei.Li				compatible = "xlnx,axi-dma-mm2s-channel";
742a066622eSWei.Li				dma-channels = <0x1>;
743a066622eSWei.Li				interrupts = <0 35 4>;
744a066622eSWei.Li				xlnx,datawidth = <0x40>;
745a066622eSWei.Li				xlnx,device-id = <0x0>;
746a066622eSWei.Li			};
747a066622eSWei.Li			dma-channel@80400030 {
748a066622eSWei.Li				compatible = "xlnx,axi-dma-s2mm-channel";
749a066622eSWei.Li				dma-channels = <0x1>;
750a066622eSWei.Li				interrupts = <0 36 4>;
751a066622eSWei.Li				xlnx,datawidth = <0x40>;
752a066622eSWei.Li				xlnx,device-id = <0x0>;
753a066622eSWei.Li			};
754a066622eSWei.Li		};
755a066622eSWei.Li
756a066622eSWei.Li		rx_dma: dma@80410000 {
757a066622eSWei.Li			#dma-cells = <1>;
758a066622eSWei.Li			clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
759a066622eSWei.Li			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
760a066622eSWei.Li			compatible = "xlnx,axi-dma-1.00.a";
761a066622eSWei.Li			//dma-coherent ;
762a066622eSWei.Li			interrupt-names = "mm2s_introut", "s2mm_introut";
763a066622eSWei.Li			interrupt-parent = <1>;
764a066622eSWei.Li			interrupts = <0 31 4 0 32 4>;
765a066622eSWei.Li			reg = <0x80410000 0x10000>;
766a066622eSWei.Li			xlnx,addrwidth = <0x20>;
767a066622eSWei.Li			xlnx,include-sg ;
768a066622eSWei.Li			xlnx,sg-length-width = <0xe>;
769a066622eSWei.Li			dma-channel@80410000 {
770a066622eSWei.Li				compatible = "xlnx,axi-dma-mm2s-channel";
771a066622eSWei.Li				dma-channels = <0x1>;
772a066622eSWei.Li				interrupts = <0 31 4>;
773a066622eSWei.Li				xlnx,datawidth = <0x40>;
774a066622eSWei.Li				xlnx,device-id = <0x1>;
775a066622eSWei.Li			};
776a066622eSWei.Li			dma-channel@80410030 {
777a066622eSWei.Li				compatible = "xlnx,axi-dma-s2mm-channel";
778a066622eSWei.Li				dma-channels = <0x1>;
779a066622eSWei.Li				interrupts = <0 32 4>;
780a066622eSWei.Li				xlnx,datawidth = <0x40>;
781a066622eSWei.Li				xlnx,device-id = <0x1>;
782a066622eSWei.Li			};
783a066622eSWei.Li		};
784a066622eSWei.Li
785a066622eSWei.Li		tx_intf_0: tx_intf@83c00000 {
786a066622eSWei.Li			clock-names = "s00_axi_aclk", "s00_axis_aclk";//, "s01_axis_aclk", "m00_axis_aclk";
787a066622eSWei.Li			clocks = <0x2 0x11>, <0x2 0x11>;//, <0x2 0x11>, <0x2 0x11>;
788a066622eSWei.Li			compatible = "sdr,tx_intf";
789a066622eSWei.Li			interrupt-names = "tx_itrpt";
790a066622eSWei.Li			interrupt-parent = <1>;
791a066622eSWei.Li			interrupts = <0 34 1>;
792a066622eSWei.Li			reg = <0x83c00000 0x10000>;
793a066622eSWei.Li			xlnx,s00-axi-addr-width = <0x7>;
794a066622eSWei.Li			xlnx,s00-axi-data-width = <0x20>;
795a066622eSWei.Li		};
796a066622eSWei.Li
797a066622eSWei.Li		rx_intf_0: rx_intf@83c20000 {
798a066622eSWei.Li			clock-names = "s00_axi_aclk", "m00_axis_aclk";//, "s00_axis_aclk";
799a066622eSWei.Li			clocks = <0x2 0x11>, <0x2 0x11>;//, <0x2 0x11>;
800a066622eSWei.Li			compatible = "sdr,rx_intf";
801a066622eSWei.Li			interrupt-names = "not_valid_anymore", "rx_pkt_intr";
802a066622eSWei.Li			interrupt-parent = <1>;
803a066622eSWei.Li			interrupts = <0 29 1 0 30 1>;
804a066622eSWei.Li			reg = <0x83c20000 0x10000>;
805a066622eSWei.Li			xlnx,s00-axi-addr-width = <0x7>;
806a066622eSWei.Li			xlnx,s00-axi-data-width = <0x20>;
807a066622eSWei.Li		};
808a066622eSWei.Li
809a066622eSWei.Li		openofdm_tx_0: openofdm_tx@83c10000 {
810a066622eSWei.Li			clock-names = "clk";
811a066622eSWei.Li			clocks = <0x2 0x11>;
812a066622eSWei.Li			compatible = "sdr,openofdm_tx";
813a066622eSWei.Li			reg = <0x83c10000 0x10000>;
814a066622eSWei.Li		};
815a066622eSWei.Li
816a066622eSWei.Li		openofdm_rx_0: openofdm_rx@83c30000 {
817a066622eSWei.Li			clock-names = "clk";
818a066622eSWei.Li			clocks = <0x2 0x11>;
819a066622eSWei.Li			compatible = "sdr,openofdm_rx";
820a066622eSWei.Li			reg = <0x83c30000 0x10000>;
821a066622eSWei.Li		};
822a066622eSWei.Li
823a066622eSWei.Li		xpu_0: xpu@83c40000 {
824a066622eSWei.Li			clock-names = "s00_axi_aclk";
825a066622eSWei.Li			clocks = <0x2 0x11>;
826a066622eSWei.Li			compatible = "sdr,xpu";
827a066622eSWei.Li			reg = <0x83c40000 0x10000>;
828a066622eSWei.Li		};
829a066622eSWei.Li
830a066622eSWei.Li		side_ch_0: side_ch@83c50000 {
831a066622eSWei.Li			clock-names = "s00_axi_aclk";
832a066622eSWei.Li			clocks = <0x2 0x11>;
833a066622eSWei.Li			compatible = "sdr,side_ch";
834a066622eSWei.Li			reg = <0x83c50000 0x10000>;
835a066622eSWei.Li			dmas = <&rx_dma 0
836a066622eSWei.Li					&tx_dma 1>;
837a066622eSWei.Li			dma-names = "rx_dma_mm2s", "tx_dma_s2mm";
838a066622eSWei.Li		};
839a066622eSWei.Li
840a066622eSWei.Li		cf-ad9361-lpc@79020000 {
841a066622eSWei.Li			compatible = "adi,axi-ad9361-6.00.a";
842a066622eSWei.Li			reg = <0x79020000 0x6000>;
843a066622eSWei.Li			// dmas = <0xa 0x0>;
844a066622eSWei.Li			// dma-names = "rx";
845a066622eSWei.Li			spibus-connected = <0xb>;
846a066622eSWei.Li		};
847a066622eSWei.Li
848a066622eSWei.Li		cf-ad9361-dds-core-lpc@79024000 {
849a066622eSWei.Li			compatible = "adi,axi-ad9361-dds-6.00.a";
850a066622eSWei.Li			reg = <0x79024000 0x1000>;
851a066622eSWei.Li			clocks = <0xb 0xd>;
852a066622eSWei.Li			clock-names = "sampl_clk";
853a066622eSWei.Li			// dmas = <0xc 0x0>;
854a066622eSWei.Li			// dma-names = "tx";
855a066622eSWei.Li		};
856a066622eSWei.Li
857a066622eSWei.Li		mwipcore@43c00000 {
858a066622eSWei.Li			compatible = "mathworks,mwipcore-axi4lite-v1.00";
859a066622eSWei.Li			reg = <0x43c00000 0xffff>;
860a066622eSWei.Li		};
861a066622eSWei.Li
862a066622eSWei.Li		/*axi-sysid-0@45000000 {
863a066622eSWei.Li			compatible = "adi,axi-sysid-1.00.a";
864a066622eSWei.Li			reg = <0x45000000 0x10000>;
865a066622eSWei.Li		};*/
866a066622eSWei.Li	};
867a066622eSWei.Li
868a066622eSWei.Li	leds {
869a066622eSWei.Li		compatible = "gpio-leds";
870a066622eSWei.Li
871a066622eSWei.Li		led0 {
872a066622eSWei.Li			label = "led0:green";
873a066622eSWei.Li			gpios = <0x6 0xF 0>;
874a066622eSWei.Li			linux,default-trigger = "heartbeat";
875a066622eSWei.Li		};
876a066622eSWei.Li	};
877a066622eSWei.Li
878a066622eSWei.Li//	gpio_keys {
879a066622eSWei.Li//		compatible = "gpio-keys";
880a066622eSWei.Li//		#address-cells = <0x1>;
881a066622eSWei.Li//		#size-cells = <0x0>;
882a066622eSWei.Li//		autorepeat;
883a066622eSWei.Li//
884a066622eSWei.Li//		sw1 {
885a066622eSWei.Li//			label = "SW1";
886a066622eSWei.Li//			linux,input-type = <0x5>;
887a066622eSWei.Li//			linux,code = <0x3>;
888a066622eSWei.Li//			gpios = <0x6 0xE 0x0>;
889a066622eSWei.Li//		};
890a066622eSWei.Li//	};
891a066622eSWei.Li};
892