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 | |
Stefan Roese | aaf4fd8 | 2014-11-07 12:37:51 +0100 | [diff] [blame] | 17 | aliases { |
| 18 | spi0 = "/spi@ff705000"; /* QSPI */ |
Stefan Roese | 0281726 | 2014-11-07 13:50:33 +0100 | [diff] [blame] | 19 | spi1 = "/spi@fff00000"; |
| 20 | spi2 = "/spi@fff01000"; |
Stefan Roese | aaf4fd8 | 2014-11-07 12:37:51 +0100 | [diff] [blame] | 21 | }; |
| 22 | |
Stefan Roese | 76ba23f | 2014-11-07 14:10:41 +0100 | [diff] [blame] | 23 | memory { |
| 24 | name = "memory"; |
| 25 | device_type = "memory"; |
| 26 | reg = <0x0 0x40000000>; /* 1GB */ |
| 27 | }; |
| 28 | }; |
| 29 | |
| 30 | &gmac1 { |
| 31 | status = "okay"; |
| 32 | }; |
| 33 | |
| 34 | &i2c0 { |
| 35 | status = "okay"; |
| 36 | |
| 37 | rtc: rtc@68 { |
| 38 | compatible = "stm,m41t82"; |
| 39 | reg = <0x68>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | &mmc { |
| 44 | status = "okay"; |
| 45 | }; |
Stefan Roese | 2948d19 | 2014-11-07 12:37:50 +0100 | [diff] [blame] | 46 | |
| 47 | &qspi { |
| 48 | status = "okay"; |
| 49 | |
| 50 | flash0: n25q00@0 { |
| 51 | #address-cells = <1>; |
| 52 | #size-cells = <1>; |
| 53 | compatible = "n25q00"; |
| 54 | reg = <0>; /* chip select */ |
| 55 | spi-max-frequency = <50000000>; |
| 56 | m25p,fast-read; |
| 57 | page-size = <256>; |
| 58 | block-size = <16>; /* 2^16, 64KB */ |
| 59 | read-delay = <4>; /* delay value in read data capture register */ |
| 60 | tshsl-ns = <50>; |
| 61 | tsd2d-ns = <50>; |
| 62 | tchsh-ns = <4>; |
| 63 | tslch-ns = <4>; |
| 64 | }; |
| 65 | }; |