Marek Vasut | da63df7 | 2014-12-30 21:05:53 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Altera Corporation <www.altera.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #include "socfpga_cyclone5.dtsi" |
| 8 | |
| 9 | / { |
| 10 | model = "Altera SOCFPGA Cyclone V SoC Development Kit"; |
| 11 | compatible = "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 | aliases { |
Stefan Roese | 84f841c | 2016-04-18 14:22:04 +0200 | [diff] [blame] | 24 | /* this allow the ethaddr uboot environment variable contents |
Marek Vasut | da63df7 | 2014-12-30 21:05:53 +0100 | [diff] [blame] | 25 | * to be added to the gmac1 device tree blob. |
| 26 | */ |
| 27 | ethernet0 = &gmac1; |
Marek Vasut | c90ada9 | 2015-12-05 19:24:22 +0100 | [diff] [blame] | 28 | udc0 = &usb1; |
Marek Vasut | da63df7 | 2014-12-30 21:05:53 +0100 | [diff] [blame] | 29 | }; |
| 30 | |
| 31 | regulator_3_3v: 3-3-v-regulator { |
| 32 | compatible = "regulator-fixed"; |
| 33 | regulator-name = "3.3V"; |
| 34 | regulator-min-microvolt = <3300000>; |
| 35 | regulator-max-microvolt = <3300000>; |
| 36 | }; |
Marek Vasut | 68909e8 | 2015-12-22 04:15:21 +0100 | [diff] [blame] | 37 | |
| 38 | soc { |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
Marek Vasut | da63df7 | 2014-12-30 21:05:53 +0100 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | &gmac1 { |
| 44 | status = "okay"; |
| 45 | phy-mode = "rgmii"; |
| 46 | |
| 47 | rxd0-skew-ps = <0>; |
| 48 | rxd1-skew-ps = <0>; |
| 49 | rxd2-skew-ps = <0>; |
| 50 | rxd3-skew-ps = <0>; |
| 51 | txen-skew-ps = <0>; |
| 52 | txc-skew-ps = <2600>; |
| 53 | rxdv-skew-ps = <0>; |
| 54 | rxc-skew-ps = <2000>; |
| 55 | }; |
| 56 | |
| 57 | &gpio1 { |
| 58 | status = "okay"; |
| 59 | }; |
| 60 | |
| 61 | &i2c0 { |
| 62 | status = "okay"; |
| 63 | |
| 64 | eeprom@51 { |
| 65 | compatible = "atmel,24c32"; |
| 66 | reg = <0x51>; |
| 67 | pagesize = <32>; |
| 68 | }; |
| 69 | |
| 70 | rtc@68 { |
| 71 | compatible = "dallas,ds1339"; |
| 72 | reg = <0x68>; |
| 73 | }; |
| 74 | }; |
| 75 | |
| 76 | &mmc0 { |
Dinh Nguyen | 3790a8c | 2015-10-12 11:59:04 -0500 | [diff] [blame] | 77 | status = "okay"; |
| 78 | u-boot,dm-pre-reloc; |
| 79 | |
Marek Vasut | da63df7 | 2014-12-30 21:05:53 +0100 | [diff] [blame] | 80 | cd-gpios = <&portb 18 0>; |
| 81 | vmmc-supply = <®ulator_3_3v>; |
| 82 | vqmmc-supply = <®ulator_3_3v>; |
| 83 | }; |
| 84 | |
Pavel Machek | daa23f5 | 2015-04-23 09:14:01 +0200 | [diff] [blame] | 85 | &qspi { |
| 86 | status = "okay"; |
Marek Vasut | 755ff3a | 2016-02-11 15:54:10 +0100 | [diff] [blame] | 87 | u-boot,dm-pre-reloc; |
Pavel Machek | daa23f5 | 2015-04-23 09:14:01 +0200 | [diff] [blame] | 88 | |
| 89 | flash0: n25q00@0 { |
Marek Vasut | 755ff3a | 2016-02-11 15:54:10 +0100 | [diff] [blame] | 90 | u-boot,dm-pre-reloc; |
Pavel Machek | daa23f5 | 2015-04-23 09:14:01 +0200 | [diff] [blame] | 91 | #address-cells = <1>; |
| 92 | #size-cells = <1>; |
| 93 | compatible = "n25q00"; |
| 94 | reg = <0>; /* chip select */ |
Chin Liang See | a55f286 | 2015-10-17 08:32:56 -0500 | [diff] [blame] | 95 | spi-max-frequency = <100000000>; |
Pavel Machek | daa23f5 | 2015-04-23 09:14:01 +0200 | [diff] [blame] | 96 | m25p,fast-read; |
| 97 | page-size = <256>; |
| 98 | block-size = <16>; /* 2^16, 64KB */ |
| 99 | read-delay = <4>; /* delay value in read data capture register */ |
| 100 | tshsl-ns = <50>; |
| 101 | tsd2d-ns = <50>; |
| 102 | tchsh-ns = <4>; |
| 103 | tslch-ns = <4>; |
| 104 | }; |
| 105 | }; |
Marek Vasut | c90ada9 | 2015-12-05 19:24:22 +0100 | [diff] [blame] | 106 | |
| 107 | &usb1 { |
| 108 | status = "okay"; |
| 109 | }; |