1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright Altera Corporation (C) 2015
4 */
5
6#include "socfpga_cyclone5.dtsi"
7
8/ {
9	model = "Terasic DE1-SoC";
10	compatible = "altr,socfpga-cyclone5", "altr,socfpga";
11
12	chosen {
13		bootargs = "console=ttyS0,115200";
14	};
15
16	aliases {
17		ethernet0 = &gmac1;
18		udc0 = &usb1;
19	};
20
21	memory {
22		name = "memory";
23		device_type = "memory";
24		reg = <0x0 0x40000000>; /* 1GB */
25	};
26
27	soc {
28		u-boot,dm-pre-reloc;
29	};
30};
31
32&gmac1 {
33	status = "okay";
34	phy-mode = "rgmii";
35
36	rxd0-skew-ps = <420>;
37	rxd1-skew-ps = <420>;
38	rxd2-skew-ps = <420>;
39	rxd3-skew-ps = <420>;
40	txen-skew-ps = <0>;
41	txc-skew-ps = <1860>;
42	rxdv-skew-ps = <420>;
43	rxc-skew-ps = <1680>;
44};
45
46&gpio0 {
47	status = "okay";
48};
49
50&gpio1 {
51	status = "okay";
52};
53
54&gpio2 {
55	status = "okay";
56};
57
58&mmc0 {
59	status = "okay";
60	u-boot,dm-pre-reloc;
61};
62
63&usb1 {
64	status = "okay";
65};
66