Stefan Roese | 76ba23f | 2014-11-07 14:10:41 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de> |
| 3 | * |
Stefan Roese | d3b436e | 2014-11-14 08:10:44 +0100 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Stefan Roese | 76ba23f | 2014-11-07 14:10:41 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include "socfpga_cyclone5.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "EBV SOCrates"; |
| 11 | compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; |
| 12 | |
| 13 | chosen { |
| 14 | bootargs = "console=ttyS0,115200"; |
| 15 | }; |
| 16 | |
| 17 | memory { |
| 18 | name = "memory"; |
| 19 | device_type = "memory"; |
| 20 | reg = <0x0 0x40000000>; /* 1GB */ |
| 21 | }; |
| 22 | }; |
| 23 | |
| 24 | &gmac1 { |
| 25 | status = "okay"; |
Marek Vasut | 6433f59 | 2015-08-03 15:32:37 +0200 | [diff] [blame] | 26 | phy-mode = "rgmii"; |
Stefan Roese | 76ba23f | 2014-11-07 14:10:41 +0100 | [diff] [blame] | 27 | }; |
| 28 | |
| 29 | &i2c0 { |
| 30 | status = "okay"; |
| 31 | |
| 32 | rtc: rtc@68 { |
| 33 | compatible = "stm,m41t82"; |
| 34 | reg = <0x68>; |
| 35 | }; |
| 36 | }; |
| 37 | |
Marek Vasut | aa66c84 | 2015-08-02 22:55:24 +0200 | [diff] [blame] | 38 | &mmc0 { |
Stefan Roese | 76ba23f | 2014-11-07 14:10:41 +0100 | [diff] [blame] | 39 | status = "okay"; |
| 40 | }; |
Stefan Roese | 2948d19 | 2014-11-07 12:37:50 +0100 | [diff] [blame] | 41 | |
| 42 | &qspi { |
| 43 | status = "okay"; |
| 44 | |
| 45 | flash0: n25q00@0 { |
| 46 | #address-cells = <1>; |
| 47 | #size-cells = <1>; |
| 48 | compatible = "n25q00"; |
| 49 | reg = <0>; /* chip select */ |
| 50 | spi-max-frequency = <50000000>; |
| 51 | m25p,fast-read; |
| 52 | page-size = <256>; |
| 53 | block-size = <16>; /* 2^16, 64KB */ |
| 54 | read-delay = <4>; /* delay value in read data capture register */ |
| 55 | tshsl-ns = <50>; |
| 56 | tsd2d-ns = <50>; |
| 57 | tchsh-ns = <4>; |
| 58 | tslch-ns = <4>; |
| 59 | }; |
| 60 | }; |