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