blob: 341df7a3e7065d8ca464785d74c4e75f6443b46e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Stefan Roesebf5ed2e2015-11-18 11:06:09 +01002/*
3 * Copyright (C) 2015 Stefan Roese <sr@denx.de>
Stefan Roesebf5ed2e2015-11-18 11:06:09 +01004 */
5
6#include "socfpga_cyclone5.dtsi"
7
8/ {
9 model = "SoCFPGA Cyclone V SR1500";
10 compatible = "anonymous,socfpga-sr1500", "altr,socfpga-cyclone5", "altr,socfpga";
11
12 chosen {
13 bootargs = "console=ttyS0,115200";
14 };
15
16 aliases {
17 /*
Stefan Roese72887e32016-04-18 14:22:04 +020018 * This allows the ethaddr uboot environment variable
Stefan Roesebf5ed2e2015-11-18 11:06:09 +010019 * contents to be added to the gmac1 device tree blob.
20 */
21 ethernet0 = &gmac1;
22 };
23
24 memory@0 {
25 name = "memory";
26 device_type = "memory";
27 reg = <0x0 0x40000000>; /* 1GB */
28 };
29
30 soc {
31 u-boot,dm-pre-reloc;
32 };
33};
34
35&gmac1 {
36 status = "okay";
37 phy-mode = "rgmii";
38};
39
40&gpio0 {
41 status = "okay";
42};
43
44&gpio1 {
45 status = "okay";
46};
47
48&gpio2 {
49 status = "okay";
50};
51
52&i2c0 {
53 status = "okay";
54 speed-mode = <0>;
55};
56
57&i2c1 {
58 status = "okay";
59 speed-mode = <0>;
60};
61
62&mmc0 {
63 status = "okay";
64 bus-width = <8>;
65 u-boot,dm-pre-reloc;
66};
67
68&uart0 {
69 status = "okay";
70};
71
72&usb1 {
73 status = "okay";
74};
75
76&watchdog0 {
77 status = "okay";
78};
79
80&qspi {
81 status = "okay";
82 u-boot,dm-pre-reloc;
83
84 flash0: n25q00@0 {
85 u-boot,dm-pre-reloc;
86 #address-cells = <1>;
87 #size-cells = <1>;
88 compatible = "n25q00", "spi-flash";
89 reg = <0>; /* chip select */
Stefan Roese85e84392016-03-03 16:57:39 +010090 spi-max-frequency = <100000000>;
Stefan Roesebf5ed2e2015-11-18 11:06:09 +010091 m25p,fast-read;
92 page-size = <256>;
93 block-size = <16>; /* 2^16, 64KB */
Jason Rushfeaa3f92018-01-23 17:13:10 -060094 cdns,tshsl-ns = <50>;
95 cdns,tsd2d-ns = <50>;
96 cdns,tchsh-ns = <4>;
97 cdns,tslch-ns = <4>;
Stefan Roesebf5ed2e2015-11-18 11:06:09 +010098 };
99};