xref: /openwifi/kernel_boot/boards/adrv9361z7035_fmc/devicetree.dts (revision 0a92505df29ec29f8c8d2c89ee3380656014b603)
1/dts-v1/;
2
3/ {
4	#address-cells = <0x1>;
5	#size-cells = <0x1>;
6	compatible = "xlnx,zynq-7000";
7	interrupt-parent = <0x1>;
8	model = "Analog Devices ADRV9361-Z7035 (Z7035/AD9361)";
9
10	cpus {
11		#address-cells = <0x1>;
12		#size-cells = <0x0>;
13
14		cpu@0 {
15			compatible = "arm,cortex-a9";
16			device_type = "cpu";
17			reg = <0x0>;
18			clocks = <0x2 0x3>;
19			clock-latency = <0x3e8>;
20			cpu0-supply = <0x3>;
21			operating-points = <0xa2c2b 0xf4240 0x51616 0xf4240>;
22		};
23
24		cpu@1 {
25			compatible = "arm,cortex-a9";
26			device_type = "cpu";
27			reg = <0x1>;
28			clocks = <0x2 0x3>;
29		};
30	};
31
32	fpga-full {
33		compatible = "fpga-region";
34		fpga-mgr = <0x4>;
35		#address-cells = <0x1>;
36		#size-cells = <0x1>;
37		ranges;
38	};
39
40	pmu@f8891000 {
41		compatible = "arm,cortex-a9-pmu";
42		interrupts = <0x0 0x5 0x4 0x0 0x6 0x4>;
43		interrupt-parent = <0x1>;
44		reg = <0xf8891000 0x1000 0xf8893000 0x1000>;
45	};
46
47	fixedregulator {
48		compatible = "regulator-fixed";
49		regulator-name = "VCCPINT";
50		regulator-min-microvolt = <0xf4240>;
51		regulator-max-microvolt = <0xf4240>;
52		regulator-boot-on;
53		regulator-always-on;
54		linux,phandle = <0x3>;
55		phandle = <0x3>;
56	};
57
58	amba {
59		u-boot,dm-pre-reloc;
60		compatible = "simple-bus";
61		#address-cells = <0x1>;
62		#size-cells = <0x1>;
63		interrupt-parent = <0x1>;
64		ranges;
65
66		adc@f8007100 {
67			compatible = "xlnx,zynq-xadc-1.00.a";
68			reg = <0xf8007100 0x20>;
69			interrupts = <0x0 0x7 0x4>;
70			interrupt-parent = <0x1>;
71			clocks = <0x2 0xc>;
72		};
73
74		can@e0008000 {
75			compatible = "xlnx,zynq-can-1.0";
76			status = "disabled";
77			clocks = <0x2 0x13 0x2 0x24>;
78			clock-names = "can_clk", "pclk";
79			reg = <0xe0008000 0x1000>;
80			interrupts = <0x0 0x1c 0x4>;
81			interrupt-parent = <0x1>;
82			tx-fifo-depth = <0x40>;
83			rx-fifo-depth = <0x40>;
84		};
85
86		can@e0009000 {
87			compatible = "xlnx,zynq-can-1.0";
88			status = "disabled";
89			clocks = <0x2 0x14 0x2 0x25>;
90			clock-names = "can_clk", "pclk";
91			reg = <0xe0009000 0x1000>;
92			interrupts = <0x0 0x33 0x4>;
93			interrupt-parent = <0x1>;
94			tx-fifo-depth = <0x40>;
95			rx-fifo-depth = <0x40>;
96		};
97
98		gpio@e000a000 {
99			compatible = "xlnx,zynq-gpio-1.0";
100			#gpio-cells = <0x2>;
101			clocks = <0x2 0x2a>;
102			gpio-controller;
103			interrupt-controller;
104			#interrupt-cells = <0x2>;
105			interrupt-parent = <0x1>;
106			interrupts = <0x0 0x14 0x4>;
107			reg = <0xe000a000 0x1000>;
108			linux,phandle = <0x6>;
109			phandle = <0x6>;
110		};
111
112		i2c@e0004000 {
113			compatible = "cdns,i2c-r1p10";
114			status = "disabled";
115			clocks = <0x2 0x26>;
116			interrupt-parent = <0x1>;
117			interrupts = <0x0 0x19 0x4>;
118			reg = <0xe0004000 0x1000>;
119			#address-cells = <0x1>;
120			#size-cells = <0x0>;
121		};
122
123		i2c@e0005000 {
124			compatible = "cdns,i2c-r1p10";
125			status = "disabled";
126			clocks = <0x2 0x27>;
127			interrupt-parent = <0x1>;
128			interrupts = <0x0 0x30 0x4>;
129			reg = <0xe0005000 0x1000>;
130			#address-cells = <0x1>;
131			#size-cells = <0x0>;
132		};
133
134		interrupt-controller@f8f01000 {
135			compatible = "arm,cortex-a9-gic";
136			#interrupt-cells = <0x3>;
137			interrupt-controller;
138			reg = <0xf8f01000 0x1000 0xf8f00100 0x100>;
139			linux,phandle = <0x1>;
140			phandle = <0x1>;
141		};
142
143		cache-controller@f8f02000 {
144			compatible = "arm,pl310-cache";
145			reg = <0xf8f02000 0x1000>;
146			interrupts = <0x0 0x2 0x4>;
147			arm,data-latency = <0x3 0x2 0x2>;
148			arm,tag-latency = <0x2 0x2 0x2>;
149			cache-unified;
150			cache-level = <0x2>;
151		};
152
153		memory-controller@f8006000 {
154			compatible = "xlnx,zynq-ddrc-a05";
155			reg = <0xf8006000 0x1000>;
156		};
157
158		ocmc@f800c000 {
159			compatible = "xlnx,zynq-ocmc-1.0";
160			interrupt-parent = <0x1>;
161			interrupts = <0x0 0x3 0x4>;
162			reg = <0xf800c000 0x1000>;
163		};
164
165		serial@e0000000 {
166			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
167			status = "disabled";
168			clocks = <0x2 0x17 0x2 0x28>;
169			clock-names = "uart_clk", "pclk";
170			reg = <0xe0000000 0x1000>;
171			interrupts = <0x0 0x1b 0x4>;
172		};
173
174		serial@e0001000 {
175			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
176			status = "okay";
177			clocks = <0x2 0x18 0x2 0x29>;
178			clock-names = "uart_clk", "pclk";
179			reg = <0xe0001000 0x1000>;
180			interrupts = <0x0 0x32 0x4>;
181		};
182
183		spi@e0006000 {
184			compatible = "xlnx,zynq-spi-r1p6";
185			reg = <0xe0006000 0x1000>;
186			status = "okay";
187			interrupt-parent = <0x1>;
188			interrupts = <0x0 0x1a 0x4>;
189			clocks = <0x2 0x19 0x2 0x22>;
190			clock-names = "ref_clk", "pclk";
191			#address-cells = <0x1>;
192			#size-cells = <0x0>;
193
194			ad9361-phy@0 {
195				#address-cells = <0x1>;
196				#size-cells = <0x0>;
197				#clock-cells = <0x1>;
198				compatible = "adi,ad9361";
199				reg = <0x0>;
200				spi-cpha;
201				spi-max-frequency = <0x989680>;
202				clocks = <0x5 0x0>;
203				clock-names = "ad9361_ext_refclk";
204				clock-output-names = "rx_sampl_clk", "tx_sampl_clk";
205				adi,digital-interface-tune-skip-mode = <0x0>;
206				adi,pp-tx-swap-enable;
207				adi,pp-rx-swap-enable;
208				adi,rx-frame-pulse-mode-enable;
209				adi,lvds-mode-enable;
210				adi,lvds-bias-mV = <0x96>;
211				adi,lvds-rx-onchip-termination-enable;
212				adi,rx-data-delay = <0x4>;
213				adi,tx-fb-clock-delay = <0x7>;
214				adi,xo-disable-use-ext-refclk-enable;
215				adi,2rx-2tx-mode-enable;
216				adi,frequency-division-duplex-mode-enable;
217				adi,rx-rf-port-input-select = <0x0>;
218				adi,tx-rf-port-input-select = <0x0>;
219				adi,tx-attenuation-mdB = <0x2710>;
220				adi,tx-lo-powerdown-managed-enable;
221				adi,rf-rx-bandwidth-hz = <0x112a880>;
222				adi,rf-tx-bandwidth-hz = <0x112a880>;
223				adi,rx-synthesizer-frequency-hz = <0x0 0x8f0d1800>;
224				adi,tx-synthesizer-frequency-hz = <0x0 0x92080880>;
225				adi,rx-path-clock-frequencies = <0x3a980000 0xea60000 0x7530000 0x3a98000 0x1d4c000 0x1d4c000>;
226				adi,tx-path-clock-frequencies = <0x3a980000 0x7530000 0x7530000 0x3a98000 0x1d4c000 0x1d4c000>;
227				adi,gc-rx1-mode = <0x2>;
228				adi,gc-rx2-mode = <0x2>;
229				adi,gc-adc-ovr-sample-size = <0x4>;
230				adi,gc-adc-small-overload-thresh = <0x2f>;
231				adi,gc-adc-large-overload-thresh = <0x3a>;
232				adi,gc-lmt-overload-high-thresh = <0x320>;
233				adi,gc-lmt-overload-low-thresh = <0x2c0>;
234				adi,gc-dec-pow-measurement-duration = <0x2000>;
235				adi,gc-low-power-thresh = <0x18>;
236				adi,mgc-inc-gain-step = <0x2>;
237				adi,mgc-dec-gain-step = <0x2>;
238				adi,mgc-split-table-ctrl-inp-gain-mode = <0x0>;
239				adi,agc-attack-delay-extra-margin-us = <0x1>;
240				adi,agc-outer-thresh-high = <0x5>;
241				adi,agc-outer-thresh-high-dec-steps = <0x2>;
242				adi,agc-inner-thresh-high = <0xa>;
243				adi,agc-inner-thresh-high-dec-steps = <0x1>;
244				adi,agc-inner-thresh-low = <0xc>;
245				adi,agc-inner-thresh-low-inc-steps = <0x1>;
246				adi,agc-outer-thresh-low = <0x12>;
247				adi,agc-outer-thresh-low-inc-steps = <0x2>;
248				adi,agc-adc-small-overload-exceed-counter = <0xa>;
249				adi,agc-adc-large-overload-exceed-counter = <0xa>;
250				adi,agc-adc-large-overload-inc-steps = <0x2>;
251				adi,agc-lmt-overload-large-exceed-counter = <0xa>;
252				adi,agc-lmt-overload-small-exceed-counter = <0xa>;
253				adi,agc-lmt-overload-large-inc-steps = <0x2>;
254				adi,agc-gain-update-interval-us = <0x3e8>;
255				adi,fagc-dec-pow-measurement-duration = <0x40>;
256				adi,fagc-lp-thresh-increment-steps = <0x1>;
257				adi,fagc-lp-thresh-increment-time = <0x5>;
258				adi,fagc-energy-lost-stronger-sig-gain-lock-exit-cnt = <0x8>;
259				adi,fagc-final-overrange-count = <0x3>;
260				adi,fagc-gain-index-type-after-exit-rx-mode = <0x0>;
261				adi,fagc-lmt-final-settling-steps = <0x1>;
262				adi,fagc-lock-level = <0xa>;
263				adi,fagc-lock-level-gain-increase-upper-limit = <0x5>;
264				adi,fagc-lock-level-lmt-gain-increase-enable;
265				adi,fagc-lpf-final-settling-steps = <0x1>;
266				adi,fagc-optimized-gain-offset = <0x5>;
267				adi,fagc-power-measurement-duration-in-state5 = <0x40>;
268				adi,fagc-rst-gla-engergy-lost-goto-optim-gain-enable;
269				adi,fagc-rst-gla-engergy-lost-sig-thresh-below-ll = <0xa>;
270				adi,fagc-rst-gla-engergy-lost-sig-thresh-exceeded-enable;
271				adi,fagc-rst-gla-if-en-agc-pulled-high-mode = <0x0>;
272				adi,fagc-rst-gla-large-adc-overload-enable;
273				adi,fagc-rst-gla-large-lmt-overload-enable;
274				adi,fagc-rst-gla-stronger-sig-thresh-above-ll = <0xa>;
275				adi,fagc-rst-gla-stronger-sig-thresh-exceeded-enable;
276				adi,fagc-state-wait-time-ns = <0x104>;
277				adi,fagc-use-last-lock-level-for-set-gain-enable;
278				adi,rssi-restart-mode = <0x3>;
279				adi,rssi-delay = <0x1>;
280				adi,rssi-wait = <0x1>;
281				adi,rssi-duration = <0x3e8>;
282				adi,ctrl-outs-index = <0x0>;
283				adi,ctrl-outs-enable-mask = <0xff>;
284				adi,temp-sense-measurement-interval-ms = <0x3e8>;
285				adi,temp-sense-offset-signed = <0xce>;
286				adi,temp-sense-periodic-measurement-enable;
287				adi,aux-dac-manual-mode-enable;
288				adi,aux-dac1-default-value-mV = <0x0>;
289				adi,aux-dac1-rx-delay-us = <0x0>;
290				adi,aux-dac1-tx-delay-us = <0x0>;
291				adi,aux-dac2-default-value-mV = <0x0>;
292				adi,aux-dac2-rx-delay-us = <0x0>;
293				adi,aux-dac2-tx-delay-us = <0x0>;
294				en_agc-gpios = <0x6 0x62 0x0>;
295				sync-gpios = <0x6 0x63 0x0>;
296				reset-gpios = <0x6 0x64 0x0>;
297				enable-gpios = <0x6 0x65 0x0>;
298				txnrx-gpios = <0x6 0x66 0x0>;
299				linux,phandle = <0x10>;
300				phandle = <0x10>;
301			};
302
303			ad9517@1 {
304				#address-cells = <0x1>;
305				#size-cells = <0x0>;
306				#clock-cells = <0x1>;
307				compatible = "adi,ad9517-3";
308				reg = <0x1>;
309				spi-max-frequency = <0x989680>;
310				clocks = <0x7 0x7>;
311				clock-names = "refclk", "clkin";
312				clock-output-names = "out0", "out1", "out2", "out3", "out4", "out5", "out6", "out7";
313				firmware = "pzsdr-fmc-ad9517.stp";
314			};
315		};
316
317		spi@e0007000 {
318			compatible = "xlnx,zynq-spi-r1p6";
319			reg = <0xe0007000 0x1000>;
320			status = "disabled";
321			interrupt-parent = <0x1>;
322			interrupts = <0x0 0x31 0x4>;
323			clocks = <0x2 0x1a 0x2 0x23>;
324			clock-names = "ref_clk", "pclk";
325			#address-cells = <0x1>;
326			#size-cells = <0x0>;
327		};
328
329		spi@e000d000 {
330			clock-names = "ref_clk", "pclk";
331			clocks = <0x2 0xa 0x2 0x2b>;
332			compatible = "xlnx,zynq-qspi-1.0";
333			status = "okay";
334			interrupt-parent = <0x1>;
335			interrupts = <0x0 0x13 0x4>;
336			reg = <0xe000d000 0x1000>;
337			#address-cells = <0x1>;
338			#size-cells = <0x0>;
339			is-dual = <0x0>;
340			num-cs = <0x1>;
341
342			ps7-qspi@0 {
343				#address-cells = <0x1>;
344				#size-cells = <0x1>;
345				spi-tx-bus-width = <0x1>;
346				spi-rx-bus-width = <0x4>;
347				compatible = "n25q256a", "jedec,spi-nor";
348				reg = <0x0>;
349				spi-max-frequency = <0x2faf080>;
350
351				partition@qspi-fsbl-uboot {
352					label = "qspi-fsbl-uboot";
353					reg = <0x0 0xe0000>;
354				};
355
356				partition@qspi-uboot-env {
357					label = "qspi-uboot-env";
358					reg = <0xe0000 0x20000>;
359				};
360
361				partition@qspi-linux {
362					label = "qspi-linux";
363					reg = <0x100000 0x500000>;
364				};
365
366				partition@qspi-device-tree {
367					label = "qspi-device-tree";
368					reg = <0x600000 0x20000>;
369				};
370
371				partition@qspi-rootfs {
372					label = "qspi-rootfs";
373					reg = <0x620000 0xce0000>;
374				};
375
376				partition@qspi-bitstream {
377					label = "qspi-bitstream";
378					reg = <0x1300000 0xd00000>;
379				};
380			};
381		};
382
383		memory-controller@e000e000 {
384			#address-cells = <0x1>;
385			#size-cells = <0x1>;
386			status = "disabled";
387			clock-names = "memclk", "aclk";
388			clocks = <0x2 0xb 0x2 0x2c>;
389			compatible = "arm,pl353-smc-r2p1";
390			interrupt-parent = <0x1>;
391			interrupts = <0x0 0x12 0x4>;
392			ranges;
393			reg = <0xe000e000 0x1000>;
394
395			flash@e1000000 {
396				status = "disabled";
397				compatible = "arm,pl353-nand-r2p1";
398				reg = <0xe1000000 0x1000000>;
399				#address-cells = <0x1>;
400				#size-cells = <0x1>;
401			};
402
403			flash@e2000000 {
404				status = "disabled";
405				compatible = "cfi-flash";
406				reg = <0xe2000000 0x2000000>;
407				#address-cells = <0x1>;
408				#size-cells = <0x1>;
409			};
410		};
411
412		ethernet@e000b000 {
413			compatible = "cdns,zynq-gem", "cdns,gem";
414			reg = <0xe000b000 0x1000>;
415			status = "okay";
416			interrupts = <0x0 0x16 0x4>;
417			clocks = <0x2 0x1e 0x2 0x1e 0x2 0xd>;
418			clock-names = "pclk", "hclk", "tx_clk";
419			#address-cells = <0x1>;
420			#size-cells = <0x0>;
421			phy-handle = <0x8>;
422			phy-mode = "rgmii-id";
423
424			phy@0 {
425				device_type = "ethernet-phy";
426				reg = <0x0>;
427				marvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0x0>;
428				linux,phandle = <0x8>;
429				phandle = <0x8>;
430			};
431		};
432
433		ethernet@e000c000 {
434			compatible = "cdns,zynq-gem", "cdns,gem";
435			reg = <0xe000c000 0x1000>;
436			status = "okay";
437			interrupts = <0x0 0x2d 0x4>;
438			clocks = <0x2 0x1f 0x2 0x1f 0x2 0xe>;
439			clock-names = "pclk", "hclk", "tx_clk";
440			#address-cells = <0x1>;
441			#size-cells = <0x0>;
442			phy-handle = <0x9>;
443			phy-mode = "gmii";
444
445			phy@1 {
446				device_type = "ethernet-phy";
447				reg = <0x1>;
448				marvell,reg-init = <0x3 0x10 0xff00 0x1e 0x3 0x11 0xfff0 0x0>;
449				linux,phandle = <0x9>;
450				phandle = <0x9>;
451			};
452
453			gmiitorgmii@8 {
454				compatible = "xlnx,gmii-to-rgmii-1.0";
455				reg = <0x8>;
456				phy-handle = <0x9>;
457			};
458		};
459
460		mmc@e0100000 {
461			compatible = "arasan,sdhci-8.9a";
462			status = "okay";
463			clock-names = "clk_xin", "clk_ahb";
464			clocks = <0x2 0x15 0x2 0x20>;
465			interrupt-parent = <0x1>;
466			interrupts = <0x0 0x18 0x4>;
467			reg = <0xe0100000 0x1000>;
468			disable-wp;
469		};
470
471		mmc@e0101000 {
472			compatible = "arasan,sdhci-8.9a";
473			status = "disabled";
474			clock-names = "clk_xin", "clk_ahb";
475			clocks = <0x2 0x16 0x2 0x21>;
476			interrupt-parent = <0x1>;
477			interrupts = <0x0 0x2f 0x4>;
478			reg = <0xe0101000 0x1000>;
479		};
480
481		slcr@f8000000 {
482			u-boot,dm-pre-reloc;
483			#address-cells = <0x1>;
484			#size-cells = <0x1>;
485			compatible = "xlnx,zynq-slcr", "syscon", "simple-mfd";
486			reg = <0xf8000000 0x1000>;
487			ranges;
488			linux,phandle = <0xa>;
489			phandle = <0xa>;
490
491			clkc@100 {
492				u-boot,dm-pre-reloc;
493				#clock-cells = <0x1>;
494				compatible = "xlnx,ps7-clkc";
495				fclk-enable = <0xf>;
496				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";
497				reg = <0x100 0x100>;
498				ps-clk-frequency = <0x1fca055>;
499				linux,phandle = <0x2>;
500				phandle = <0x2>;
501			};
502
503			rstc@200 {
504				compatible = "xlnx,zynq-reset";
505				reg = <0x200 0x48>;
506				#reset-cells = <0x1>;
507				syscon = <0xa>;
508			};
509
510			pinctrl@700 {
511				compatible = "xlnx,pinctrl-zynq";
512				reg = <0x700 0x200>;
513				syscon = <0xa>;
514			};
515		};
516
517		dmac@f8003000 {
518			compatible = "arm,pl330", "arm,primecell";
519			reg = <0xf8003000 0x1000>;
520			interrupt-parent = <0x1>;
521			interrupt-names = "abort", "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7";
522			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>;
523			#dma-cells = <0x1>;
524			#dma-channels = <0x8>;
525			#dma-requests = <0x4>;
526			clocks = <0x2 0x1b>;
527			clock-names = "apb_pclk";
528			linux,phandle = <0x15>;
529			phandle = <0x15>;
530		};
531
532		devcfg@f8007000 {
533			compatible = "xlnx,zynq-devcfg-1.0";
534			interrupt-parent = <0x1>;
535			interrupts = <0x0 0x8 0x4>;
536			reg = <0xf8007000 0x100>;
537			clocks = <0x2 0xc 0x2 0xf 0x2 0x10 0x2 0x11 0x2 0x12>;
538			clock-names = "ref_clk", "fclk0", "fclk1", "fclk2", "fclk3";
539			syscon = <0xa>;
540			linux,phandle = <0x4>;
541			phandle = <0x4>;
542		};
543
544		efuse@f800d000 {
545			compatible = "xlnx,zynq-efuse";
546			reg = <0xf800d000 0x20>;
547		};
548
549		timer@f8f00200 {
550			compatible = "arm,cortex-a9-global-timer";
551			reg = <0xf8f00200 0x20>;
552			interrupts = <0x1 0xb 0x301>;
553			interrupt-parent = <0x1>;
554			clocks = <0x2 0x4>;
555		};
556
557		timer@f8001000 {
558			interrupt-parent = <0x1>;
559			interrupts = <0x0 0xa 0x4 0x0 0xb 0x4 0x0 0xc 0x4>;
560			compatible = "cdns,ttc";
561			clocks = <0x2 0x6>;
562			reg = <0xf8001000 0x1000>;
563		};
564
565		timer@f8002000 {
566			interrupt-parent = <0x1>;
567			interrupts = <0x0 0x25 0x4 0x0 0x26 0x4 0x0 0x27 0x4>;
568			compatible = "cdns,ttc";
569			clocks = <0x2 0x6>;
570			reg = <0xf8002000 0x1000>;
571		};
572
573		timer@f8f00600 {
574			interrupt-parent = <0x1>;
575			interrupts = <0x1 0xd 0x301>;
576			compatible = "arm,cortex-a9-twd-timer";
577			reg = <0xf8f00600 0x20>;
578			clocks = <0x2 0x4>;
579		};
580
581		usb@e0002000 {
582			compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
583			status = "okay";
584			clocks = <0x2 0x1c>;
585			interrupt-parent = <0x1>;
586			interrupts = <0x0 0x15 0x4>;
587			reg = <0xe0002000 0x1000>;
588			phy_type = "ulpi";
589			dr_mode = "host";
590			xlnx,phy-reset-gpio = <0x6 0x7 0x0>;
591		};
592
593		usb@e0003000 {
594			compatible = "xlnx,zynq-usb-2.20a", "chipidea,usb2";
595			status = "disabled";
596			clocks = <0x2 0x1d>;
597			interrupt-parent = <0x1>;
598			interrupts = <0x0 0x2c 0x4>;
599			reg = <0xe0003000 0x1000>;
600			phy_type = "ulpi";
601		};
602
603		watchdog@f8005000 {
604			clocks = <0x2 0x2d>;
605			compatible = "cdns,wdt-r1p2";
606			interrupt-parent = <0x1>;
607			interrupts = <0x0 0x9 0x1>;
608			reg = <0xf8005000 0x1000>;
609			timeout-sec = <0xa>;
610		};
611	};
612
613	aliases {
614		ethernet0 = "/amba/ethernet@e000b000";
615		serial0 = "/amba/serial@e0001000";
616		ethernet1 = "/amba/ethernet@e000c000";
617	};
618
619	memory {
620		device_type = "memory";
621		reg = <0x0 0x40000000>;
622	};
623
624	chosen {
625		linux,stdout-path = "/amba@0/uart@E0001000";
626	};
627
628	clocks {
629
630		clock@0 {
631			#clock-cells = <0x0>;
632			compatible = "adjustable-clock";
633			clock-frequency = <0x2625a00>;
634			clock-accuracy = <0x30d40>;
635			clock-output-names = "XO_40MHz";
636			linux,phandle = <0xb>;
637			phandle = <0xb>;
638		};
639
640		clock@2 {
641			#clock-cells = <0x0>;
642			compatible = "fixed-clock";
643			clock-frequency = <0x16e3600>;
644			clock-output-names = "24MHz";
645			linux,phandle = <0xc>;
646			phandle = <0xc>;
647		};
648
649		clock@3 {
650			#clock-cells = <0x0>;
651			compatible = "fixed-clock";
652			clock-frequency = <0x17d7840>;
653			clock-output-names = "ad9517_refclk";
654			linux,phandle = <0x7>;
655			phandle = <0x7>;
656		};
657
658		audio_clock {
659			compatible = "fixed-clock";
660			#clock-cells = <0x0>;
661			clock-frequency = <0xbb8000>;
662			linux,phandle = <0xe>;
663			phandle = <0xe>;
664		};
665	};
666
667	ad9361-refclk-gpio-gate@0 {
668		#clock-cells = <0x0>;
669		compatible = "gpio-gate-clock";
670		clocks = <0xb>;
671		enable-gpios = <0x6 0x69 0x0>;
672		clk-set-rate-parent-enable;
673		clock-output-names = "ad9361_ext_refclk";
674		linux,phandle = <0x5>;
675		phandle = <0x5>;
676	};
677
678	usb-ulpe-gpio-gate@0 {
679		#clock-cells = <0x0>;
680		compatible = "gpio-gate-clock";
681		clocks = <0xc>;
682		enable-gpios = <0x6 0x9 0x1>;
683	};
684
685	fpga-axi@0 {
686		compatible = "simple-bus";
687		#address-cells = <0x1>;
688		#size-cells = <0x1>;
689		ranges;
690
691		i2c@41600000 {
692			compatible = "xlnx,axi-iic-1.02.a", "xlnx,xps-iic-2.00.a";
693			reg = <0x41600000 0x10000>;
694			interrupt-parent = <0x1>;
695			interrupts = <0x0 0x3a 0x4>;
696			clocks = <0x2 0xf>;
697			clock-names = "pclk";
698			#address-cells = <0x1>;
699			#size-cells = <0x0>;
700
701			adm1166@68 {
702				compatible = "adi,adm1166";
703				reg = <0x68>;
704			};
705
706			i2cswitch@74 {
707				compatible = "nxp,pca9548";
708				#address-cells = <0x1>;
709				#size-cells = <0x0>;
710				reg = <0x70>;
711
712				i2c@0 {
713					#address-cells = <0x1>;
714					#size-cells = <0x0>;
715					reg = <0x0>;
716				};
717
718				i2c@1 {
719					#address-cells = <0x1>;
720					#size-cells = <0x0>;
721					reg = <0x1>;
722				};
723
724				i2c@2 {
725					#address-cells = <0x1>;
726					#size-cells = <0x0>;
727					reg = <0x2>;
728
729					adv7511@39 {
730						compatible = "adi,adv7511";
731						reg = <0x39 0x3f>;
732						reg-names = "primary", "edid";
733						adi,input-depth = <0x8>;
734						adi,input-colorspace = "yuv422";
735						adi,input-clock = "1x";
736						adi,input-style = <0x1>;
737						adi,input-justification = "left";
738						adi,clock-delay = <0x0>;
739						#sound-dai-cells = <0x0>;
740						linux,phandle = <0x17>;
741						phandle = <0x17>;
742
743						ports {
744							#address-cells = <0x1>;
745							#size-cells = <0x0>;
746
747							port@0 {
748								reg = <0x0>;
749
750								endpoint {
751									remote-endpoint = <0xd>;
752									linux,phandle = <0x14>;
753									phandle = <0x14>;
754								};
755							};
756
757							port@1 {
758								reg = <0x1>;
759							};
760						};
761					};
762				};
763
764				i2c@3 {
765					#address-cells = <0x1>;
766					#size-cells = <0x0>;
767					reg = <0x3>;
768
769					adau1761@3b {
770						compatible = "adi,adau1761";
771						reg = <0x3b>;
772						clocks = <0xe>;
773						clock-names = "mclk";
774						#sound-dai-cells = <0x0>;
775						linux,phandle = <0x19>;
776						phandle = <0x19>;
777					};
778				};
779
780				i2c@4 {
781					#address-cells = <0x1>;
782					#size-cells = <0x0>;
783					reg = <0x4>;
784				};
785
786				i2c@5 {
787					#address-cells = <0x1>;
788					#size-cells = <0x0>;
789					reg = <0x5>;
790
791					eeprom@50 {
792						compatible = "at24,24c32";
793						reg = <0x50>;
794					};
795				};
796
797				i2c@6 {
798					#address-cells = <0x1>;
799					#size-cells = <0x0>;
800					reg = <0x6>;
801
802					ad7291@2f {
803						compatible = "adi,ad7291";
804						reg = <0x2f>;
805					};
806				};
807
808				i2c@7 {
809					#address-cells = <0x1>;
810					#size-cells = <0x0>;
811					reg = <0x7>;
812				};
813			};
814		};
815
816		dma@7c400000 {
817			compatible = "adi,axi-dmac-1.00.a";
818			reg = <0x7c400000 0x10000>;
819			#dma-cells = <0x1>;
820			interrupts = <0x0 0x39 0x0>;
821			clocks = <0x2 0x10>;
822			linux,phandle = <0xf>;
823			phandle = <0xf>;
824
825			adi,channels {
826				#size-cells = <0x0>;
827				#address-cells = <0x1>;
828
829				dma-channel@0 {
830					reg = <0x0>;
831					adi,source-bus-width = <0x40>;
832					adi,source-bus-type = <0x2>;
833					adi,destination-bus-width = <0x40>;
834					adi,destination-bus-type = <0x0>;
835				};
836			};
837		};
838
839		dma@7c420000 {
840			compatible = "adi,axi-dmac-1.00.a";
841			reg = <0x7c420000 0x10000>;
842			#dma-cells = <0x1>;
843			interrupts = <0x0 0x38 0x0>;
844			clocks = <0x2 0x10>;
845			linux,phandle = <0x11>;
846			phandle = <0x11>;
847
848			adi,channels {
849				#size-cells = <0x0>;
850				#address-cells = <0x1>;
851
852				dma-channel@0 {
853					reg = <0x0>;
854					adi,source-bus-width = <0x40>;
855					adi,source-bus-type = <0x0>;
856					adi,destination-bus-width = <0x40>;
857					adi,destination-bus-type = <0x2>;
858				};
859			};
860		};
861
862		sdr: sdr {
863			compatible ="sdr,sdr";
864			dmas = <&rx_dma 0
865					&rx_dma 1
866					&tx_dma 0
867					&tx_dma 1>;
868			dma-names = "rx_dma_mm2s", "rx_dma_s2mm", "tx_dma_mm2s", "tx_dma_s2mm";
869			interrupt-names = "not_valid_anymore", "rx_pkt_intr", "tx_itrpt0", "tx_itrpt1";
870			interrupt-parent = <1>;
871			interrupts = <0 29 1 0 30 1 0 33 1 0 34 1>;
872		} ;
873
874		axidmatest_1: axidmatest@1 {
875			compatible ="xlnx,axi-dma-test-1.00.a";
876			dmas = <&rx_dma 0
877				&rx_dma 1>;
878			dma-names = "axidma0", "axidma1";
879		} ;
880
881		tx_dma: dma@80400000 {
882			#dma-cells = <1>;
883			clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
884			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
885			compatible = "xlnx,axi-dma-1.00.a";
886			interrupt-names = "mm2s_introut", "s2mm_introut";
887			interrupt-parent = <1>;
888			interrupts = <0 35 4 0 36 4>;
889			reg = <0x80400000 0x10000>;
890			xlnx,addrwidth = <0x20>;
891			xlnx,include-sg ;
892			xlnx,sg-length-width = <0xe>;
893			dma-channel@80400000 {
894				compatible = "xlnx,axi-dma-mm2s-channel";
895				dma-channels = <0x1>;
896				interrupts = <0 35 4>;
897				xlnx,datawidth = <0x40>;
898				xlnx,device-id = <0x0>;
899			};
900			dma-channel@80400030 {
901				compatible = "xlnx,axi-dma-s2mm-channel";
902				dma-channels = <0x1>;
903				interrupts = <0 36 4>;
904				xlnx,datawidth = <0x40>;
905				xlnx,device-id = <0x0>;
906			};
907		};
908
909		rx_dma: dma@80410000 {
910			#dma-cells = <1>;
911			clock-names = "s_axi_lite_aclk", "m_axi_sg_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk";
912			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
913			compatible = "xlnx,axi-dma-1.00.a";
914			//dma-coherent ;
915			interrupt-names = "mm2s_introut", "s2mm_introut";
916			interrupt-parent = <1>;
917			interrupts = <0 31 4 0 32 4>;
918			reg = <0x80410000 0x10000>;
919			xlnx,addrwidth = <0x20>;
920			xlnx,include-sg ;
921			xlnx,sg-length-width = <0xe>;
922			dma-channel@80410000 {
923				compatible = "xlnx,axi-dma-mm2s-channel";
924				dma-channels = <0x1>;
925				interrupts = <0 31 4>;
926				xlnx,datawidth = <0x40>;
927				xlnx,device-id = <0x1>;
928			};
929			dma-channel@80410030 {
930				compatible = "xlnx,axi-dma-s2mm-channel";
931				dma-channels = <0x1>;
932				interrupts = <0 32 4>;
933				xlnx,datawidth = <0x40>;
934				xlnx,device-id = <0x1>;
935			};
936		};
937
938		tx_intf_0: tx_intf@83c00000 {
939			clock-names = "s00_axi_aclk", "s00_axis_aclk", "s01_axis_aclk", "m00_axis_aclk";
940			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
941			compatible = "sdr,tx_intf";
942			interrupt-names = "tx_itrpt0", "tx_itrpt1";
943			interrupt-parent = <1>;
944			interrupts = <0 33 1 0 34 1>;
945			reg = <0x83c00000 0x10000>;
946			xlnx,s00-axi-addr-width = <0x7>;
947			xlnx,s00-axi-data-width = <0x20>;
948		};
949
950		rx_intf_0: rx_intf@83c20000 {
951			clock-names = "s00_axi_aclk", "s00_axis_aclk", "m00_axis_aclk";
952			clocks = <0x2 0x11>, <0x2 0x11>, <0x2 0x11>;
953			compatible = "sdr,rx_intf";
954			interrupt-names = "not_valid_anymore", "rx_pkt_intr";
955			interrupt-parent = <1>;
956			interrupts = <0 29 1 0 30 1>;
957			reg = <0x83c20000 0x10000>;
958			xlnx,s00-axi-addr-width = <0x7>;
959			xlnx,s00-axi-data-width = <0x20>;
960		};
961
962		openofdm_tx_0: openofdm_tx@83c10000 {
963			clock-names = "clk";
964			clocks = <0x2 0x11>;
965			compatible = "sdr,openofdm_tx";
966			reg = <0x83c10000 0x10000>;
967		};
968
969		openofdm_rx_0: openofdm_rx@83c30000 {
970			clock-names = "clk";
971			clocks = <0x2 0x11>;
972			compatible = "sdr,openofdm_rx";
973			reg = <0x83c30000 0x10000>;
974		};
975
976		xpu_0: xpu@83c40000 {
977			clock-names = "s00_axi_aclk";
978			clocks = <0x2 0x11>;
979			compatible = "sdr,xpu";
980			reg = <0x83c40000 0x10000>;
981		};
982
983		cf-ad9361-lpc@79020000 {
984			compatible = "adi,axi-ad9361-6.00.a";
985			reg = <0x79020000 0x6000>;
986			dmas = <0xf 0x0>;
987			dma-names = "rx";
988			spibus-connected = <0x10>;
989		};
990
991		cf-ad9361-dds-core-lpc@79024000 {
992			compatible = "adi,axi-ad9361-dds-6.00.a";
993			reg = <0x79024000 0x1000>;
994			clocks = <0x10 0xd>;
995			clock-names = "sampl_clk";
996			dmas = <0x11 0x0>;
997			dma-names = "tx";
998		};
999
1000		mwipcore@43c00000 {
1001			compatible = "mathworks,mwipcore-axi4lite-v1.00";
1002			reg = <0x43c00000 0xffff>;
1003		};
1004
1005		/*axi-sysid-0@45000000 {
1006			compatible = "adi,axi-sysid-1.00.a";
1007			reg = <0x45000000 0x10000>;
1008		};*/
1009
1010		dma@43000000 {
1011			compatible = "adi,axi-dmac-1.00.a";
1012			reg = <0x43000000 0x10000>;
1013			#dma-cells = <0x1>;
1014			interrupts = <0x0 0x3b 0x0>;
1015			clocks = <0x2 0x10>;
1016			linux,phandle = <0x12>;
1017			phandle = <0x12>;
1018
1019			adi,channels {
1020				#size-cells = <0x0>;
1021				#address-cells = <0x1>;
1022
1023				dma-channel@0 {
1024					reg = <0x0>;
1025					adi,source-bus-width = <0x40>;
1026					adi,source-bus-type = <0x0>;
1027					adi,destination-bus-width = <0x40>;
1028					adi,destination-bus-type = <0x1>;
1029				};
1030			};
1031		};
1032
1033		axi-clkgen@79000000 {
1034			compatible = "adi,axi-clkgen-2.00.a";
1035			reg = <0x79000000 0x10000>;
1036			#clock-cells = <0x0>;
1037			clocks = <0x2 0x10>;
1038			linux,phandle = <0x13>;
1039			phandle = <0x13>;
1040		};
1041
1042		axi_hdmi@70e00000 {
1043			compatible = "adi,axi-hdmi-tx-1.00.a";
1044			reg = <0x70e00000 0x10000>;
1045			dmas = <0x12 0x0>;
1046			dma-names = "video";
1047			clocks = <0x13>;
1048
1049			port {
1050
1051				endpoint {
1052					remote-endpoint = <0x14>;
1053					linux,phandle = <0xd>;
1054					phandle = <0xd>;
1055				};
1056			};
1057		};
1058
1059		axi-spdif-tx@75c00000 {
1060			compatible = "adi,axi-spdif-tx-1.00.a";
1061			reg = <0x75c00000 0x1000>;
1062			dmas = <0x15 0x0>;
1063			dma-names = "tx";
1064			clocks = <0x2 0xf 0xe>;
1065			clock-names = "axi", "ref";
1066			#sound-dai-cells = <0x0>;
1067			linux,phandle = <0x16>;
1068			phandle = <0x16>;
1069		};
1070
1071		axi-i2s@77600000 {
1072			compatible = "adi,axi-i2s-1.00.a";
1073			reg = <0x77600000 0x1000>;
1074			dmas = <0x15 0x1 0x15 0x2>;
1075			dma-names = "tx", "rx";
1076			clocks = <0x2 0xf 0xe>;
1077			clock-names = "axi", "ref";
1078			#sound-dai-cells = <0x0>;
1079			linux,phandle = <0x18>;
1080			phandle = <0x18>;
1081		};
1082	};
1083
1084	adv7511_hdmi_snd {
1085		compatible = "simple-audio-card";
1086		simple-audio-card,name = "HDMI monitor";
1087		simple-audio-card,widgets = "Speaker", "Speaker";
1088		simple-audio-card,routing = "Speaker", "TX";
1089
1090		simple-audio-card,dai-link@0 {
1091			format = "spdif";
1092
1093			cpu {
1094				sound-dai = <0x16>;
1095				frame-master;
1096				bitclock-master;
1097			};
1098
1099			codec {
1100				sound-dai = <0x17>;
1101			};
1102		};
1103	};
1104
1105	zed_sound {
1106		compatible = "simple-audio-card";
1107		simple-audio-card,name = "ZED ADAU1761";
1108		simple-audio-card,widgets = "Microphone", "Mic In", "Headphone", "Headphone Out", "Line", "Line In", "Line", "Line Out";
1109		simple-audio-card,routing = "Line Out", "LOUT", "Line Out", "ROUT", "Headphone Out", "LHP", "Headphone Out", "RHP", "Mic In", "MICBIAS", "LINN", "Mic In", "RINN", "Mic In", "LAUX", "Line In", "RAUX", "Line In";
1110
1111		simple-audio-card,dai-link@0 {
1112			format = "i2s";
1113
1114			cpu {
1115				sound-dai = <0x18>;
1116				frame-master;
1117				bitclock-master;
1118			};
1119
1120			codec {
1121				sound-dai = <0x19>;
1122			};
1123		};
1124	};
1125
1126	leds {
1127		compatible = "gpio-leds";
1128
1129		led0 {
1130			label = "led0:red";
1131			gpios = <0x6 0x3d 0x0>;
1132		};
1133
1134		led1 {
1135			label = "led1:red";
1136			gpios = <0x6 0x3b 0x0>;
1137		};
1138
1139		led2 {
1140			label = "led2:red";
1141			gpios = <0x6 0x3a 0x0>;
1142		};
1143
1144		led3 {
1145			label = "led3:red";
1146			gpios = <0x6 0x3c 0x0>;
1147		};
1148	};
1149
1150	gpio_keys {
1151		compatible = "gpio-keys";
1152		#address-cells = <0x1>;
1153		#size-cells = <0x0>;
1154		autorepeat;
1155
1156		bt0 {
1157			label = "BT0";
1158			linux,code = <0x69>;
1159			gpios = <0x6 0x36 0x0>;
1160		};
1161
1162		bt1 {
1163			label = "BT1";
1164			linux,code = <0x6a>;
1165			gpios = <0x6 0x37 0x0>;
1166		};
1167
1168		bt2 {
1169			label = "BT2";
1170			linux,code = <0x1c>;
1171			gpios = <0x6 0x38 0x0>;
1172		};
1173
1174		bt3 {
1175			label = "BT3";
1176			linux,code = <0x1>;
1177			gpios = <0x6 0x39 0x0>;
1178		};
1179
1180		sw0 {
1181			label = "SW0";
1182			linux,input-type = <0x5>;
1183			linux,code = <0x0>;
1184			gpios = <0x6 0x41 0x0>;
1185		};
1186
1187		sw1 {
1188			label = "SW1";
1189			linux,input-type = <0x5>;
1190			linux,code = <0x1>;
1191			gpios = <0x6 0x3e 0x0>;
1192		};
1193
1194		sw2 {
1195			label = "SW2";
1196			linux,input-type = <0x5>;
1197			linux,code = <0x2>;
1198			gpios = <0x6 0x40 0x0>;
1199		};
1200
1201		sw3 {
1202			label = "SW3";
1203			linux,input-type = <0x5>;
1204			linux,code = <0x3>;
1205			gpios = <0x6 0x3f 0x0>;
1206		};
1207	};
1208};
1209