2018-11-05 21:27:27 +01:00
// SPDX-License-Identifier: GPL-2.0+
2014-04-02 11:13:11 -05:00
/*
2018-11-05 21:27:27 +01:00
* Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
2014-04-02 11:13:11 -05:00
*/
2014-04-02 21:31:31 -05:00
#include "socfpga_cyclone5.dtsi"
2014-04-02 11:13:11 -05:00
/ {
model = "EBV SOCrates";
compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
2018-10-09 13:14:48 -05:00
aliases {
ethernet0 = &gmac1;
};
2014-04-02 11:13:11 -05:00
chosen {
2018-08-08 11:09:44 +02:00
bootargs = "earlyprintk";
stdout-path = "serial0:115200n8";
2014-04-02 11:13:11 -05:00
};
2017-02-27 10:38:39 -06:00
memory@0 {
2014-04-02 11:13:11 -05:00
name = "memory";
device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */
};
2015-05-29 14:33:03 +00:00
leds: gpio-leds {
};
2014-04-02 11:13:11 -05:00
};
&gmac1 {
2016-03-19 23:57:05 +00:00
phy-mode = "rgmii";
2014-04-02 11:13:11 -05:00
status = "okay";
};
2015-05-29 14:33:02 +00:00
&gpio0 {
status = "okay";
};
&gpio1 {
status = "okay";
};
2014-04-02 11:14:50 -05:00
&i2c0 {
status = "okay";
rtc: rtc@68 {
2016-06-26 02:34:06 -07:00
compatible = "st,m41t82";
2014-04-02 11:14:50 -05:00
reg = <0x68>;
};
};
2015-05-29 14:33:03 +00:00
&leds {
compatible = "gpio-leds";
2017-02-27 10:42:21 -06:00
led0 {
2015-05-29 14:33:03 +00:00
label = "led:green:heartbeat";
gpios = <&porta 28 1>;
linux,default-trigger = "heartbeat";
};
2017-02-27 10:42:21 -06:00
led1 {
2015-05-29 14:33:03 +00:00
label = "led:green:D7";
gpios = <&portb 19 1>;
};
2017-02-27 10:42:21 -06:00
led2 {
2015-05-29 14:33:03 +00:00
label = "led:green:D8";
gpios = <&portb 25 1>;
};
};
2014-04-02 11:13:11 -05:00
&mmc {
status = "okay";
};
2016-10-18 07:43:03 +00:00
&qspi {
status = "okay";
flash: flash@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "n25q256a";
reg = <0>;
spi-max-frequency = <100000000>;
m25p,fast-read;
cdns,read-delay = <4>;
cdns,tshsl-ns = <50>;
cdns,tsd2d-ns = <50>;
cdns,tchsh-ns = <4>;
cdns,tslch-ns = <4>;
status = "okay";
};
};