1b2441318SGreg Kroah-Hartman// SPDX-License-Identifier: GPL-2.0
2552b8b36SZubair Lutfullah Kakakhel/dts-v1/;
3552b8b36SZubair Lutfullah Kakakhel
4552b8b36SZubair Lutfullah Kakakhel#include "microAptiv.dtsi"
5552b8b36SZubair Lutfullah Kakakhel
6552b8b36SZubair Lutfullah Kakakhel/ {
7552b8b36SZubair Lutfullah Kakakhel	compatible = "digilent,nexys4ddr";
8552b8b36SZubair Lutfullah Kakakhel
9b35565bbSZubair Lutfullah Kakakhel	aliases {
10b35565bbSZubair Lutfullah Kakakhel		serial0 = &axi_uart16550;
11b35565bbSZubair Lutfullah Kakakhel	};
12b35565bbSZubair Lutfullah Kakakhel	chosen {
13b35565bbSZubair Lutfullah Kakakhel		bootargs = "console=ttyS0,115200";
14b35565bbSZubair Lutfullah Kakakhel		stdout-path = "serial0:115200n8";
15b35565bbSZubair Lutfullah Kakakhel	};
16b35565bbSZubair Lutfullah Kakakhel
17552b8b36SZubair Lutfullah Kakakhel	memory {
18552b8b36SZubair Lutfullah Kakakhel		device_type = "memory";
19552b8b36SZubair Lutfullah Kakakhel		reg = <0x0 0x08000000>;
20552b8b36SZubair Lutfullah Kakakhel	};
21552b8b36SZubair Lutfullah Kakakhel
225214cae7SAntony Pavlov	cpuintc: interrupt-controller {
23552b8b36SZubair Lutfullah Kakakhel		#address-cells = <0>;
24552b8b36SZubair Lutfullah Kakakhel		#interrupt-cells = <1>;
25552b8b36SZubair Lutfullah Kakakhel		interrupt-controller;
26552b8b36SZubair Lutfullah Kakakhel		compatible = "mti,cpu-interrupt-controller";
27552b8b36SZubair Lutfullah Kakakhel	};
28552b8b36SZubair Lutfullah Kakakhel
2979a93295SZubair Lutfullah Kakakhel	axi_intc: interrupt-controller@10200000 {
3079a93295SZubair Lutfullah Kakakhel		#interrupt-cells = <1>;
3179a93295SZubair Lutfullah Kakakhel		compatible = "xlnx,xps-intc-1.00.a";
3279a93295SZubair Lutfullah Kakakhel		interrupt-controller;
3379a93295SZubair Lutfullah Kakakhel		reg = <0x10200000 0x10000>;
3479a93295SZubair Lutfullah Kakakhel		xlnx,kind-of-intr = <0x0>;
3579a93295SZubair Lutfullah Kakakhel		xlnx,num-intr-inputs = <0x6>;
3679a93295SZubair Lutfullah Kakakhel
3779a93295SZubair Lutfullah Kakakhel		interrupt-parent = <&cpuintc>;
3879a93295SZubair Lutfullah Kakakhel		interrupts = <6>;
3979a93295SZubair Lutfullah Kakakhel	};
4079a93295SZubair Lutfullah Kakakhel
41552b8b36SZubair Lutfullah Kakakhel	axi_gpio: gpio@10600000 {
42552b8b36SZubair Lutfullah Kakakhel		#gpio-cells = <1>;
43552b8b36SZubair Lutfullah Kakakhel		compatible = "xlnx,xps-gpio-1.00.a";
44552b8b36SZubair Lutfullah Kakakhel		gpio-controller;
45552b8b36SZubair Lutfullah Kakakhel		reg = <0x10600000 0x10000>;
46552b8b36SZubair Lutfullah Kakakhel		xlnx,all-inputs = <0x0>;
47552b8b36SZubair Lutfullah Kakakhel		xlnx,dout-default = <0x0>;
48552b8b36SZubair Lutfullah Kakakhel		xlnx,gpio-width = <0x16>;
49552b8b36SZubair Lutfullah Kakakhel		xlnx,interrupt-present = <0x0>;
50552b8b36SZubair Lutfullah Kakakhel		xlnx,is-dual = <0x0>;
51552b8b36SZubair Lutfullah Kakakhel		xlnx,tri-default = <0xffffffff>;
52552b8b36SZubair Lutfullah Kakakhel	} ;
53552b8b36SZubair Lutfullah Kakakhel
54beb6e9b3SZubair Lutfullah Kakakhel	axi_ethernetlite: ethernet@10e00000 {
55beb6e9b3SZubair Lutfullah Kakakhel		compatible = "xlnx,xps-ethernetlite-3.00.a";
56beb6e9b3SZubair Lutfullah Kakakhel		device_type = "network";
57beb6e9b3SZubair Lutfullah Kakakhel		interrupt-parent = <&axi_intc>;
58beb6e9b3SZubair Lutfullah Kakakhel		interrupts = <1>;
59beb6e9b3SZubair Lutfullah Kakakhel		phy-handle = <&phy0>;
60beb6e9b3SZubair Lutfullah Kakakhel		reg = <0x10e00000 0x10000>;
61beb6e9b3SZubair Lutfullah Kakakhel		xlnx,duplex = <0x1>;
62beb6e9b3SZubair Lutfullah Kakakhel		xlnx,include-global-buffers = <0x1>;
63beb6e9b3SZubair Lutfullah Kakakhel		xlnx,include-internal-loopback = <0x0>;
64beb6e9b3SZubair Lutfullah Kakakhel		xlnx,include-mdio = <0x1>;
65beb6e9b3SZubair Lutfullah Kakakhel		xlnx,instance = "axi_ethernetlite_inst";
66beb6e9b3SZubair Lutfullah Kakakhel		xlnx,rx-ping-pong = <0x1>;
67beb6e9b3SZubair Lutfullah Kakakhel		xlnx,s-axi-id-width = <0x1>;
68beb6e9b3SZubair Lutfullah Kakakhel		xlnx,tx-ping-pong = <0x1>;
69beb6e9b3SZubair Lutfullah Kakakhel		xlnx,use-internal = <0x0>;
70beb6e9b3SZubair Lutfullah Kakakhel		mdio {
71beb6e9b3SZubair Lutfullah Kakakhel			#address-cells = <1>;
72beb6e9b3SZubair Lutfullah Kakakhel			#size-cells = <0>;
73beb6e9b3SZubair Lutfullah Kakakhel			phy0: phy@1 {
74beb6e9b3SZubair Lutfullah Kakakhel				device_type = "ethernet-phy";
75beb6e9b3SZubair Lutfullah Kakakhel				reg = <1>;
76beb6e9b3SZubair Lutfullah Kakakhel			};
77beb6e9b3SZubair Lutfullah Kakakhel		};
78beb6e9b3SZubair Lutfullah Kakakhel	};
79beb6e9b3SZubair Lutfullah Kakakhel
80552b8b36SZubair Lutfullah Kakakhel	axi_uart16550: serial@10400000 {
81552b8b36SZubair Lutfullah Kakakhel		compatible = "ns16550a";
82552b8b36SZubair Lutfullah Kakakhel		reg = <0x10400000 0x10000>;
83552b8b36SZubair Lutfullah Kakakhel
84552b8b36SZubair Lutfullah Kakakhel		reg-shift = <2>;
85552b8b36SZubair Lutfullah Kakakhel		reg-offset = <0x1000>;
86552b8b36SZubair Lutfullah Kakakhel
87552b8b36SZubair Lutfullah Kakakhel		clocks	= <&ext>;
881e73f967SZubair Lutfullah Kakakhel
891e73f967SZubair Lutfullah Kakakhel		interrupt-parent = <&axi_intc>;
901e73f967SZubair Lutfullah Kakakhel		interrupts = <0>;
91552b8b36SZubair Lutfullah Kakakhel	};
92da621d50SZubair Lutfullah Kakakhel
93047f2d94SPaul Burton	axi_i2c: i2c@10a00000 {
94da621d50SZubair Lutfullah Kakakhel	    compatible = "xlnx,xps-iic-2.00.a";
95da621d50SZubair Lutfullah Kakakhel	    interrupt-parent = <&axi_intc>;
96da621d50SZubair Lutfullah Kakakhel	    interrupts = <4>;
97047f2d94SPaul Burton	    reg = < 0x10a00000 0x10000 >;
98da621d50SZubair Lutfullah Kakakhel	    clocks = <&ext>;
99da621d50SZubair Lutfullah Kakakhel	    xlnx,clk-freq = <0x5f5e100>;
100da621d50SZubair Lutfullah Kakakhel	    xlnx,family = "Artix7";
101da621d50SZubair Lutfullah Kakakhel	    xlnx,gpo-width = <0x1>;
102da621d50SZubair Lutfullah Kakakhel	    xlnx,iic-freq = <0x186a0>;
103da621d50SZubair Lutfullah Kakakhel	    xlnx,scl-inertial-delay = <0x0>;
104da621d50SZubair Lutfullah Kakakhel	    xlnx,sda-inertial-delay = <0x0>;
105da621d50SZubair Lutfullah Kakakhel	    xlnx,ten-bit-adr = <0x0>;
106da621d50SZubair Lutfullah Kakakhel	    #address-cells = <1>;
107da621d50SZubair Lutfullah Kakakhel	    #size-cells = <0>;
108da621d50SZubair Lutfullah Kakakhel
109047f2d94SPaul Burton	    ad7420@4b {
110da621d50SZubair Lutfullah Kakakhel		compatible = "adi,adt7420";
111047f2d94SPaul Burton		reg = <0x4b>;
112da621d50SZubair Lutfullah Kakakhel	    };
113da621d50SZubair Lutfullah Kakakhel	} ;
114552b8b36SZubair Lutfullah Kakakhel};
115552b8b36SZubair Lutfullah Kakakhel
116552b8b36SZubair Lutfullah Kakakhel&ext {
117552b8b36SZubair Lutfullah Kakakhel	clock-frequency = <50000000>;
118552b8b36SZubair Lutfullah Kakakhel};
119