blob: 6782691f73508da70fd41b797ab4c0c1507e03f4 [file] [log] [blame]
Stefan Roese76ba23f2014-11-07 14:10:41 +01001/*
2 * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 *
Stefan Roesed3b436e2014-11-14 08:10:44 +01004 * SPDX-License-Identifier: GPL-2.0+
Stefan Roese76ba23f2014-11-07 14:10:41 +01005 */
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";
Marek Vasut6433f592015-08-03 15:32:37 +020026 phy-mode = "rgmii";
Stefan Roese76ba23f2014-11-07 14:10:41 +010027};
28
29&i2c0 {
30 status = "okay";
31
32 rtc: rtc@68 {
33 compatible = "stm,m41t82";
34 reg = <0x68>;
35 };
36};
37
Marek Vasutaa66c842015-08-02 22:55:24 +020038&mmc0 {
Stefan Roese76ba23f2014-11-07 14:10:41 +010039 status = "okay";
40};
Stefan Roese2948d192014-11-07 12:37:50 +010041
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};