blob: 00b1830485a098dcfd583a7af6ed63dea112899d [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";
26};
27
28&i2c0 {
29 status = "okay";
30
31 rtc: rtc@68 {
32 compatible = "stm,m41t82";
33 reg = <0x68>;
34 };
35};
36
37&mmc {
38 status = "okay";
39};
Stefan Roese2948d192014-11-07 12:37:50 +010040
41&qspi {
42 status = "okay";
43
44 flash0: n25q00@0 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 compatible = "n25q00";
48 reg = <0>; /* chip select */
49 spi-max-frequency = <50000000>;
50 m25p,fast-read;
51 page-size = <256>;
52 block-size = <16>; /* 2^16, 64KB */
53 read-delay = <4>; /* delay value in read data capture register */
54 tshsl-ns = <50>;
55 tsd2d-ns = <50>;
56 tchsh-ns = <4>;
57 tslch-ns = <4>;
58 };
59};