xref: /linux/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_socrates.dts (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4 */
5
6#include "socfpga_cyclone5.dtsi"
7
8/ {
9	model = "EBV SOCrates";
10	compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
11
12	aliases {
13		ethernet0 = &gmac1;
14	};
15
16	chosen {
17		bootargs = "earlyprintk";
18		stdout-path = "serial0:115200n8";
19	};
20
21	memory@0 {
22		name = "memory";
23		device_type = "memory";
24		reg = <0x0 0x40000000>; /* 1GB */
25	};
26
27	leds: gpio-leds {
28	};
29};
30
31&gmac1 {
32	phy-mode = "rgmii";
33	status = "okay";
34};
35
36&gpio0 {
37	status = "okay";
38};
39
40&gpio1 {
41	status = "okay";
42};
43
44&i2c0 {
45	status = "okay";
46
47	rtc: rtc@68 {
48		compatible = "st,m41t82";
49		reg = <0x68>;
50	};
51};
52
53&leds {
54	compatible = "gpio-leds";
55
56	led0 {
57		label = "led:green:heartbeat";
58		gpios = <&porta 28 1>;
59		linux,default-trigger = "heartbeat";
60	};
61
62	led1 {
63		label = "led:green:D7";
64		gpios = <&portb 19 1>;
65	};
66
67	led2 {
68		label = "led:green:D8";
69		gpios = <&portb 25 1>;
70	};
71};
72
73&mmc {
74	status = "okay";
75};
76
77&qspi {
78	status = "okay";
79
80	flash: flash@0 {
81		#address-cells = <1>;
82		#size-cells = <1>;
83		compatible = "micron,n25q256a", "jedec,spi-nor";
84		reg = <0>;
85		spi-max-frequency = <100000000>;
86		m25p,fast-read;
87		cdns,read-delay = <4>;
88		cdns,tshsl-ns = <50>;
89		cdns,tsd2d-ns = <50>;
90		cdns,tchsh-ns = <4>;
91		cdns,tslch-ns = <4>;
92		status = "okay";
93	};
94};
95