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