WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / socfpga_cyclone5_socrates.dts
blob8d5d3996f6f27122412d68072767d621fa11ae8f
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4  */
6 #include "socfpga_cyclone5.dtsi"
8 / {
9         model = "EBV SOCrates";
10         compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga";
12         aliases {
13                 ethernet0 = &gmac1;
14         };
16         chosen {
17                 bootargs = "earlyprintk";
18                 stdout-path = "serial0:115200n8";
19         };
21         memory@0 {
22                 name = "memory";
23                 device_type = "memory";
24                 reg = <0x0 0x40000000>; /* 1GB */
25         };
27         leds: gpio-leds {
28         };
31 &gmac1 {
32         phy-mode = "rgmii";
33         status = "okay";
36 &gpio0 {
37         status = "okay";
40 &gpio1 {
41         status = "okay";
44 &i2c0 {
45         status = "okay";
47         rtc: rtc@68 {
48                 compatible = "st,m41t82";
49                 reg = <0x68>;
50         };
53 &leds {
54         compatible = "gpio-leds";
56         led0 {
57                 label = "led:green:heartbeat";
58                 gpios = <&porta 28 1>;
59                 linux,default-trigger = "heartbeat";
60         };
62         led1 {
63                 label = "led:green:D7";
64                 gpios = <&portb 19 1>;
65         };
67         led2 {
68                 label = "led:green:D8";
69                 gpios = <&portb 25 1>;
70         };
73 &mmc {
74         status = "okay";
77 &qspi {
78         status = "okay";
80         flash: flash@0 {
81                 #address-cells = <1>;
82                 #size-cells = <1>;
83                 compatible = "n25q256a";
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         };