1/*
2 *  Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 *
4 * SPDX-License-Identifier:	GPL-2.0+
5 */
6
7#include "socfpga_cyclone5.dtsi"
8
9/ {
10	model = "EBV SOCrates";
11	compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
12
13	chosen {
14		bootargs = "console=ttyS0,115200";
15	};
16
17	memory {
18		name = "memory";
19		device_type = "memory";
20		reg = <0x0 0x40000000>; /* 1GB */
21	};
22};
23
24&gmac1 {
25	status = "okay";
26	phy-mode = "rgmii";
27};
28
29&i2c0 {
30	status = "okay";
31
32	rtc: rtc@68 {
33		compatible = "stm,m41t82";
34		reg = <0x68>;
35	};
36};
37
38&mmc0 {
39	status = "okay";
40};
41
42&qspi {
43	status = "okay";
44
45	flash0: n25q00@0 {
46		#address-cells = <1>;
47		#size-cells = <1>;
48		compatible = "n25q00";
49		reg = <0>;      /* chip select */
50		spi-max-frequency = <50000000>;
51		m25p,fast-read;
52		page-size = <256>;
53		block-size = <16>; /* 2^16, 64KB */
54		read-delay = <4>;  /* delay value in read data capture register */
55		tshsl-ns = <50>;
56		tsd2d-ns = <50>;
57		tchsh-ns = <4>;
58		tslch-ns = <4>;
59	};
60};
61