0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003
0004 #include "microAptiv.dtsi"
0005
0006 / {
0007 compatible = "digilent,nexys4ddr";
0008
0009 aliases {
0010 serial0 = &axi_uart16550;
0011 };
0012 chosen {
0013 bootargs = "console=ttyS0,115200";
0014 stdout-path = "serial0:115200n8";
0015 };
0016
0017 memory {
0018 device_type = "memory";
0019 reg = <0x0 0x08000000>;
0020 };
0021
0022 cpuintc: interrupt-controller {
0023 #address-cells = <0>;
0024 #interrupt-cells = <1>;
0025 interrupt-controller;
0026 compatible = "mti,cpu-interrupt-controller";
0027 };
0028
0029 axi_intc: interrupt-controller@10200000 {
0030 #interrupt-cells = <1>;
0031 compatible = "xlnx,xps-intc-1.00.a";
0032 interrupt-controller;
0033 reg = <0x10200000 0x10000>;
0034 xlnx,kind-of-intr = <0x0>;
0035 xlnx,num-intr-inputs = <0x6>;
0036
0037 interrupt-parent = <&cpuintc>;
0038 interrupts = <6>;
0039 };
0040
0041 axi_gpio: gpio@10600000 {
0042 #gpio-cells = <1>;
0043 compatible = "xlnx,xps-gpio-1.00.a";
0044 gpio-controller;
0045 reg = <0x10600000 0x10000>;
0046 xlnx,all-inputs = <0x0>;
0047 xlnx,dout-default = <0x0>;
0048 xlnx,gpio-width = <0x16>;
0049 xlnx,interrupt-present = <0x0>;
0050 xlnx,is-dual = <0x0>;
0051 xlnx,tri-default = <0xffffffff>;
0052 } ;
0053
0054 axi_ethernetlite: ethernet@10e00000 {
0055 compatible = "xlnx,xps-ethernetlite-3.00.a";
0056 device_type = "network";
0057 interrupt-parent = <&axi_intc>;
0058 interrupts = <1>;
0059 phy-handle = <&phy0>;
0060 reg = <0x10e00000 0x10000>;
0061 xlnx,duplex = <0x1>;
0062 xlnx,include-global-buffers = <0x1>;
0063 xlnx,include-internal-loopback = <0x0>;
0064 xlnx,include-mdio = <0x1>;
0065 xlnx,instance = "axi_ethernetlite_inst";
0066 xlnx,rx-ping-pong = <0x1>;
0067 xlnx,s-axi-id-width = <0x1>;
0068 xlnx,tx-ping-pong = <0x1>;
0069 xlnx,use-internal = <0x0>;
0070 mdio {
0071 #address-cells = <1>;
0072 #size-cells = <0>;
0073 phy0: phy@1 {
0074 device_type = "ethernet-phy";
0075 reg = <1>;
0076 };
0077 };
0078 };
0079
0080 axi_uart16550: serial@10400000 {
0081 compatible = "ns16550a";
0082 reg = <0x10400000 0x10000>;
0083
0084 reg-shift = <2>;
0085 reg-offset = <0x1000>;
0086
0087 clocks = <&ext>;
0088
0089 interrupt-parent = <&axi_intc>;
0090 interrupts = <0>;
0091 };
0092
0093 axi_i2c: i2c@10a00000 {
0094 compatible = "xlnx,xps-iic-2.00.a";
0095 interrupt-parent = <&axi_intc>;
0096 interrupts = <4>;
0097 reg = < 0x10a00000 0x10000 >;
0098 clocks = <&ext>;
0099 xlnx,clk-freq = <0x5f5e100>;
0100 xlnx,family = "Artix7";
0101 xlnx,gpo-width = <0x1>;
0102 xlnx,iic-freq = <0x186a0>;
0103 xlnx,scl-inertial-delay = <0x0>;
0104 xlnx,sda-inertial-delay = <0x0>;
0105 xlnx,ten-bit-adr = <0x0>;
0106 #address-cells = <1>;
0107 #size-cells = <0>;
0108
0109 ad7420@4b {
0110 compatible = "adi,adt7420";
0111 reg = <0x4b>;
0112 };
0113 } ;
0114 };
0115
0116 &ext {
0117 clock-frequency = <50000000>;
0118 };