blob: 86c61fe081909bc5782026814eaa9c6edf71924b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Stefan Roeseae9996c2015-11-18 11:06:09 +01002/*
3 * Copyright (C) 2015 Stefan Roese <sr@denx.de>
Stefan Roeseae9996c2015-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";
Simon Goldschmidt79a436d2018-08-13 21:34:33 +020014 stdout-path = "serial0:115200n8";
Stefan Roeseae9996c2015-11-18 11:06:09 +010015 };
16
17 aliases {
18 /*
Stefan Roese84f841c2016-04-18 14:22:04 +020019 * This allows the ethaddr uboot environment variable
Stefan Roeseae9996c2015-11-18 11:06:09 +010020 * contents to be added to the gmac1 device tree blob.
21 */
22 ethernet0 = &gmac1;
23 };
24
25 memory@0 {
26 name = "memory";
27 device_type = "memory";
28 reg = <0x0 0x40000000>; /* 1GB */
29 };
30
31 soc {
32 u-boot,dm-pre-reloc;
33 };
34};
35
36&gmac1 {
37 status = "okay";
38 phy-mode = "rgmii";
39};
40
41&gpio0 {
42 status = "okay";
43};
44
45&gpio1 {
46 status = "okay";
47};
48
49&gpio2 {
50 status = "okay";
51};
52
53&i2c0 {
54 status = "okay";
55 speed-mode = <0>;
56};
57
58&i2c1 {
59 status = "okay";
60 speed-mode = <0>;
61};
62
63&mmc0 {
64 status = "okay";
65 bus-width = <8>;
66 u-boot,dm-pre-reloc;
67};
68
69&uart0 {
70 status = "okay";
Simon Goldschmidt79a436d2018-08-13 21:34:33 +020071 u-boot,dm-pre-reloc;
Stefan Roeseae9996c2015-11-18 11:06:09 +010072};
73
74&usb1 {
75 status = "okay";
76};
77
78&watchdog0 {
79 status = "okay";
80};
81
82&qspi {
83 status = "okay";
84 u-boot,dm-pre-reloc;
85
86 flash0: n25q00@0 {
87 u-boot,dm-pre-reloc;
88 #address-cells = <1>;
89 #size-cells = <1>;
90 compatible = "n25q00", "spi-flash";
91 reg = <0>; /* chip select */
Stefan Roese93d9fc22016-03-03 16:57:39 +010092 spi-max-frequency = <100000000>;
Stefan Roeseae9996c2015-11-18 11:06:09 +010093 m25p,fast-read;
94 page-size = <256>;
95 block-size = <16>; /* 2^16, 64KB */
Jason Rush6e62b172018-01-23 17:13:10 -060096 cdns,tshsl-ns = <50>;
97 cdns,tsd2d-ns = <50>;
98 cdns,tchsh-ns = <4>;
99 cdns,tslch-ns = <4>;
Stefan Roeseae9996c2015-11-18 11:06:09 +0100100 };
101};