summaryrefslogtreecommitdiff
path: root/arch/arm/dts/zynq-dlc20-rev1.0.dts
blob: cbf52c88b9a4c1d8434536060ed198abca09a5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2018 Xilinx, Inc.
 *
 * Michal Simek <michal.simek@xilinx.com>
 */
/dts-v1/;
#include "zynq-7000.dtsi"

/ {
	model = "Zynq DLC20 Rev1.0";
	compatible = "xlnx,zynq-dlc20-rev1.0", "xlnx,zynq-dlc20",
		     "xlnx,zynq-7000";

	aliases {
		ethernet0 = &gem0;
		i2c0 = &i2c0;
		serial0 = &uart1;
		spi0 = &qspi;
		mmc0 = &sdhci0;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x20000000>;
	};

	chosen {
		bootargs = "earlyprintk";
		stdout-path = "serial0:115200n8";
	};

	usb_phy0: phy0@e0002000 {
		compatible = "ulpi-phy";
		#phy-cells = <0>;
		reg = <0xe0002000 0x1000>;
		view-port = <0x0170>;
		drv-vbus;
	};
};

&clkc {
	ps-clk-frequency = <33333333>; /* U7 */
};

&gem0 {
	status = "okay"; /* MIO16-MIO27, MDIO MIO52/53 */
	phy-mode = "rgmii-id";
	phy-handle = <&ethernet_phy>;

	ethernet_phy: ethernet-phy@7 { /* rtl8211e - U25 */
		reg = <1>;
	};
};

&i2c0 {
	status = "okay"; /* MIO14/15 */
	clock-frequency = <400000>;
	/* U46 - m24c08 */
	eeprom: eeprom@54 {
		compatible = "atmel,24c08";
		reg = <0x54>;
	};
};

&qspi {
	bootph-all;
	status = "okay";
	is-dual = <0>;
	num-cs = <1>;
	spi-tx-bus-width = <4>;
	spi-rx-bus-width = <4>;
	flash@0 {
		/* Rev1.0 W25Q128FWSIG, RevC N25Q128A */
		compatible = "n25q128a11", "jedec,spi-nor";
		reg = <0x0>;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		spi-max-frequency = <50000000>;
	};
};

&sdhci0 {
	bootph-all;
	status = "okay"; /* EMMC MTFC4GACAJCN - MIO40-MIO45 */
	non-removable;
	bus-width = <4>;
};

&uart1 {
	bootph-all;
	status = "okay"; /* MIO8/9 */
};

&usb0 {
	status = "okay"; /* MIO28-MIO39 */
	dr_mode = "device";
	usb-phy = <&usb_phy0>;
};

&watchdog0 {
	reset-on-timeout;
};