1/ {
2	compatible = "cdns,xtensa-xtfpga";
3	#address-cells = <1>;
4	#size-cells = <1>;
5	interrupt-parent = <&pic>;
6
7	chosen {
8		bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug";
9	};
10
11	memory@0 {
12		device_type = "memory";
13		reg = <0x00000000 0x06000000>;
14	};
15
16	cpus {
17		#address-cells = <1>;
18		#size-cells = <0>;
19		cpu@0 {
20			compatible = "cdns,xtensa-cpu";
21			reg = <0>;
22			/* Filled in by platform_setup from FPGA register
23			 * clock-frequency = <100000000>;
24			 */
25		};
26	};
27
28	pic: pic {
29		compatible = "cdns,xtensa-pic";
30		/* one cell: internal irq number,
31		 * two cells: second cell == 0: internal irq number
32		 *            second cell == 1: external irq number
33		 */
34		#interrupt-cells = <2>;
35		interrupt-controller;
36	};
37
38	clocks {
39		osc: main-oscillator {
40			#clock-cells = <0>;
41			compatible = "fixed-clock";
42		};
43	};
44
45	serial0: serial@fd050020 {
46		device_type = "serial";
47		compatible = "ns16550a";
48		no-loopback-test;
49		reg = <0xfd050020 0x20>;
50		reg-shift = <2>;
51		interrupts = <0 1>; /* external irq 0 */
52		clocks = <&osc>;
53	};
54
55	enet0: ethoc@fd030000 {
56		compatible = "opencores,ethoc";
57		reg = <0xfd030000 0x4000 0xfd800000 0x4000>;
58		interrupts = <1 1>; /* external irq 1 */
59		local-mac-address = [00 50 c2 13 6f 00];
60		clocks = <&osc>;
61	};
62};
63