1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*c66ec88fSEmmanuel Vadot/dts-v1/;
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel Vadot/ {
5*c66ec88fSEmmanuel Vadot	compatible = "cdns,xtensa-xtfpga";
6*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
7*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
8*c66ec88fSEmmanuel Vadot	interrupt-parent = <&pic>;
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot	chosen {
11*c66ec88fSEmmanuel Vadot		bootargs = "earlycon=cdns,0xfd000000,115200 console=tty0 console=ttyPS0,115200 root=/dev/ram0 rw earlyprintk xilinx_uartps.rx_trigger_level=32 loglevel=8 nohz=off ignore_loglevel";
12*c66ec88fSEmmanuel Vadot	};
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot	memory@0 {
15*c66ec88fSEmmanuel Vadot		device_type = "memory";
16*c66ec88fSEmmanuel Vadot		reg = <0x00000000 0x40000000>;
17*c66ec88fSEmmanuel Vadot	};
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot	cpus {
20*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
21*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
22*c66ec88fSEmmanuel Vadot		cpu@0 {
23*c66ec88fSEmmanuel Vadot			compatible = "cdns,xtensa-cpu";
24*c66ec88fSEmmanuel Vadot			reg = <0>;
25*c66ec88fSEmmanuel Vadot		};
26*c66ec88fSEmmanuel Vadot	};
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	pic: pic {
29*c66ec88fSEmmanuel Vadot		compatible = "cdns,xtensa-pic";
30*c66ec88fSEmmanuel Vadot		#interrupt-cells = <2>;
31*c66ec88fSEmmanuel Vadot		interrupt-controller;
32*c66ec88fSEmmanuel Vadot	};
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel Vadot	clocks {
35*c66ec88fSEmmanuel Vadot		osc: main-oscillator {
36*c66ec88fSEmmanuel Vadot			#clock-cells = <0>;
37*c66ec88fSEmmanuel Vadot			compatible = "fixed-clock";
38*c66ec88fSEmmanuel Vadot		};
39*c66ec88fSEmmanuel Vadot	};
40*c66ec88fSEmmanuel Vadot
41*c66ec88fSEmmanuel Vadot	soc {
42*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
43*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
44*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
45*c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf0000000 0x10000000>;
46*c66ec88fSEmmanuel Vadot
47*c66ec88fSEmmanuel Vadot		uart0: serial@0d000000 {
48*c66ec88fSEmmanuel Vadot			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
49*c66ec88fSEmmanuel Vadot			clocks = <&osc>, <&osc>;
50*c66ec88fSEmmanuel Vadot			clock-names = "uart_clk", "pclk";
51*c66ec88fSEmmanuel Vadot			reg = <0x0d000000 0x1000>;
52*c66ec88fSEmmanuel Vadot			interrupts = <0 1>;
53*c66ec88fSEmmanuel Vadot		};
54*c66ec88fSEmmanuel Vadot	};
55*c66ec88fSEmmanuel Vadot};
56