xref: /linux/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts (revision e2fc49e19898538184191cbf2bc15f240081efad)
1*e2fc49e1SMichal Simek// SPDX-License-Identifier: GPL-2.0+
2*e2fc49e1SMichal Simek/*
3*e2fc49e1SMichal Simek * dts file for Xilinx ZynqMP zc1751-xm016-dc2
4*e2fc49e1SMichal Simek *
5*e2fc49e1SMichal Simek * (C) Copyright 2015 - 2018, Xilinx, Inc.
6*e2fc49e1SMichal Simek *
7*e2fc49e1SMichal Simek * Michal Simek <michal.simek@xilinx.com>
8*e2fc49e1SMichal Simek */
9*e2fc49e1SMichal Simek
10*e2fc49e1SMichal Simek/dts-v1/;
11*e2fc49e1SMichal Simek
12*e2fc49e1SMichal Simek#include "zynqmp.dtsi"
13*e2fc49e1SMichal Simek#include "zynqmp-clk.dtsi"
14*e2fc49e1SMichal Simek#include <dt-bindings/gpio/gpio.h>
15*e2fc49e1SMichal Simek
16*e2fc49e1SMichal Simek/ {
17*e2fc49e1SMichal Simek	model = "ZynqMP zc1751-xm016-dc2 RevA";
18*e2fc49e1SMichal Simek	compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp";
19*e2fc49e1SMichal Simek
20*e2fc49e1SMichal Simek	aliases {
21*e2fc49e1SMichal Simek		can0 = &can0;
22*e2fc49e1SMichal Simek		can1 = &can1;
23*e2fc49e1SMichal Simek		ethernet0 = &gem2;
24*e2fc49e1SMichal Simek		i2c0 = &i2c0;
25*e2fc49e1SMichal Simek		rtc0 = &rtc;
26*e2fc49e1SMichal Simek		serial0 = &uart0;
27*e2fc49e1SMichal Simek		serial1 = &uart1;
28*e2fc49e1SMichal Simek		spi0 = &spi0;
29*e2fc49e1SMichal Simek		spi1 = &spi1;
30*e2fc49e1SMichal Simek	};
31*e2fc49e1SMichal Simek
32*e2fc49e1SMichal Simek	chosen {
33*e2fc49e1SMichal Simek		bootargs = "earlycon";
34*e2fc49e1SMichal Simek		stdout-path = "serial0:115200n8";
35*e2fc49e1SMichal Simek	};
36*e2fc49e1SMichal Simek
37*e2fc49e1SMichal Simek	memory@0 {
38*e2fc49e1SMichal Simek		device_type = "memory";
39*e2fc49e1SMichal Simek		reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>;
40*e2fc49e1SMichal Simek	};
41*e2fc49e1SMichal Simek};
42*e2fc49e1SMichal Simek
43*e2fc49e1SMichal Simek&can0 {
44*e2fc49e1SMichal Simek	status = "okay";
45*e2fc49e1SMichal Simek};
46*e2fc49e1SMichal Simek
47*e2fc49e1SMichal Simek&can1 {
48*e2fc49e1SMichal Simek	status = "okay";
49*e2fc49e1SMichal Simek};
50*e2fc49e1SMichal Simek
51*e2fc49e1SMichal Simek&fpd_dma_chan1 {
52*e2fc49e1SMichal Simek	status = "okay";
53*e2fc49e1SMichal Simek};
54*e2fc49e1SMichal Simek
55*e2fc49e1SMichal Simek&fpd_dma_chan2 {
56*e2fc49e1SMichal Simek	status = "okay";
57*e2fc49e1SMichal Simek};
58*e2fc49e1SMichal Simek
59*e2fc49e1SMichal Simek&fpd_dma_chan3 {
60*e2fc49e1SMichal Simek	status = "okay";
61*e2fc49e1SMichal Simek};
62*e2fc49e1SMichal Simek
63*e2fc49e1SMichal Simek&fpd_dma_chan4 {
64*e2fc49e1SMichal Simek	status = "okay";
65*e2fc49e1SMichal Simek};
66*e2fc49e1SMichal Simek
67*e2fc49e1SMichal Simek&fpd_dma_chan5 {
68*e2fc49e1SMichal Simek	status = "okay";
69*e2fc49e1SMichal Simek};
70*e2fc49e1SMichal Simek
71*e2fc49e1SMichal Simek&fpd_dma_chan6 {
72*e2fc49e1SMichal Simek	status = "okay";
73*e2fc49e1SMichal Simek};
74*e2fc49e1SMichal Simek
75*e2fc49e1SMichal Simek&fpd_dma_chan7 {
76*e2fc49e1SMichal Simek	status = "okay";
77*e2fc49e1SMichal Simek};
78*e2fc49e1SMichal Simek
79*e2fc49e1SMichal Simek&fpd_dma_chan8 {
80*e2fc49e1SMichal Simek	status = "okay";
81*e2fc49e1SMichal Simek};
82*e2fc49e1SMichal Simek
83*e2fc49e1SMichal Simek&gem2 {
84*e2fc49e1SMichal Simek	status = "okay";
85*e2fc49e1SMichal Simek	phy-handle = <&phy0>;
86*e2fc49e1SMichal Simek	phy-mode = "rgmii-id";
87*e2fc49e1SMichal Simek	phy0: phy@5 {
88*e2fc49e1SMichal Simek		reg = <5>;
89*e2fc49e1SMichal Simek		ti,rx-internal-delay = <0x8>;
90*e2fc49e1SMichal Simek		ti,tx-internal-delay = <0xa>;
91*e2fc49e1SMichal Simek		ti,fifo-depth = <0x1>;
92*e2fc49e1SMichal Simek	};
93*e2fc49e1SMichal Simek};
94*e2fc49e1SMichal Simek
95*e2fc49e1SMichal Simek&gpio {
96*e2fc49e1SMichal Simek	status = "okay";
97*e2fc49e1SMichal Simek};
98*e2fc49e1SMichal Simek
99*e2fc49e1SMichal Simek&i2c0 {
100*e2fc49e1SMichal Simek	status = "okay";
101*e2fc49e1SMichal Simek	clock-frequency = <400000>;
102*e2fc49e1SMichal Simek
103*e2fc49e1SMichal Simek	tca6416_u26: gpio@20 {
104*e2fc49e1SMichal Simek		compatible = "ti,tca6416";
105*e2fc49e1SMichal Simek		reg = <0x20>;
106*e2fc49e1SMichal Simek		gpio-controller;
107*e2fc49e1SMichal Simek		#gpio-cells = <2>;
108*e2fc49e1SMichal Simek		/* IRQ not connected */
109*e2fc49e1SMichal Simek	};
110*e2fc49e1SMichal Simek
111*e2fc49e1SMichal Simek	rtc@68 {
112*e2fc49e1SMichal Simek		compatible = "dallas,ds1339";
113*e2fc49e1SMichal Simek		reg = <0x68>;
114*e2fc49e1SMichal Simek	};
115*e2fc49e1SMichal Simek};
116*e2fc49e1SMichal Simek
117*e2fc49e1SMichal Simek&rtc {
118*e2fc49e1SMichal Simek	status = "okay";
119*e2fc49e1SMichal Simek};
120*e2fc49e1SMichal Simek
121*e2fc49e1SMichal Simek&spi0 {
122*e2fc49e1SMichal Simek	status = "okay";
123*e2fc49e1SMichal Simek	num-cs = <1>;
124*e2fc49e1SMichal Simek
125*e2fc49e1SMichal Simek	spi0_flash0: flash0@0 {
126*e2fc49e1SMichal Simek		#address-cells = <1>;
127*e2fc49e1SMichal Simek		#size-cells = <1>;
128*e2fc49e1SMichal Simek		compatible = "sst,sst25wf080", "jedec,spi-nor";
129*e2fc49e1SMichal Simek		spi-max-frequency = <50000000>;
130*e2fc49e1SMichal Simek		reg = <0>;
131*e2fc49e1SMichal Simek
132*e2fc49e1SMichal Simek		partition@0 {
133*e2fc49e1SMichal Simek			label = "data";
134*e2fc49e1SMichal Simek			reg = <0x0 0x100000>;
135*e2fc49e1SMichal Simek		};
136*e2fc49e1SMichal Simek	};
137*e2fc49e1SMichal Simek};
138*e2fc49e1SMichal Simek
139*e2fc49e1SMichal Simek&spi1 {
140*e2fc49e1SMichal Simek	status = "okay";
141*e2fc49e1SMichal Simek	num-cs = <1>;
142*e2fc49e1SMichal Simek
143*e2fc49e1SMichal Simek	spi1_flash0: flash0@0 {
144*e2fc49e1SMichal Simek		#address-cells = <1>;
145*e2fc49e1SMichal Simek		#size-cells = <1>;
146*e2fc49e1SMichal Simek		compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash";
147*e2fc49e1SMichal Simek		spi-max-frequency = <20000000>;
148*e2fc49e1SMichal Simek		reg = <0>;
149*e2fc49e1SMichal Simek
150*e2fc49e1SMichal Simek		partition@0 {
151*e2fc49e1SMichal Simek			label = "data";
152*e2fc49e1SMichal Simek			reg = <0x0 0x84000>;
153*e2fc49e1SMichal Simek		};
154*e2fc49e1SMichal Simek	};
155*e2fc49e1SMichal Simek};
156*e2fc49e1SMichal Simek
157*e2fc49e1SMichal Simek/* ULPI SMSC USB3320 */
158*e2fc49e1SMichal Simek&usb1 {
159*e2fc49e1SMichal Simek	status = "okay";
160*e2fc49e1SMichal Simek};
161*e2fc49e1SMichal Simek
162*e2fc49e1SMichal Simek&uart0 {
163*e2fc49e1SMichal Simek	status = "okay";
164*e2fc49e1SMichal Simek};
165*e2fc49e1SMichal Simek
166*e2fc49e1SMichal Simek&uart1 {
167*e2fc49e1SMichal Simek	status = "okay";
168*e2fc49e1SMichal Simek};
169