Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Altera Corporation <www.altera.com> |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "socfpga_arria5.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "Altera SOCFPGA Arria V SoC Development Kit"; |
| 10 | compatible = "altr,socfpga-arria5", "altr,socfpga"; |
| 11 | |
| 12 | chosen { |
| 13 | bootargs = "console=ttyS0,115200"; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 14 | stdout-path = "serial0:115200n8"; |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | memory { |
| 18 | name = "memory"; |
| 19 | device_type = "memory"; |
| 20 | reg = <0x0 0x40000000>; /* 1GB */ |
| 21 | }; |
| 22 | |
| 23 | aliases { |
Stefan Roese | 72887e3 | 2016-04-18 14:22:04 +0200 | [diff] [blame] | 24 | /* this allow the ethaddr uboot environment variable contents |
Marek Vasut | ffccc62 | 2015-07-21 11:25:14 +0200 | [diff] [blame] | 25 | * to be added to the gmac1 device tree blob. |
| 26 | */ |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 27 | ethernet0 = &gmac1; |
Marek Vasut | 52e8aa2 | 2015-12-05 19:24:22 +0100 | [diff] [blame] | 28 | udc0 = &usb1; |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +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 | b11cf66 | 2015-08-19 07:43:19 +0200 | [diff] [blame] | 37 | |
| 38 | soc { |
| 39 | u-boot,dm-pre-reloc; |
| 40 | }; |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +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 | &i2c0 { |
| 58 | status = "okay"; |
| 59 | |
| 60 | eeprom@51 { |
| 61 | compatible = "atmel,24c32"; |
| 62 | reg = <0x51>; |
| 63 | pagesize = <32>; |
| 64 | }; |
| 65 | |
| 66 | rtc@68 { |
| 67 | compatible = "dallas,ds1339"; |
| 68 | reg = <0x68>; |
| 69 | }; |
| 70 | }; |
| 71 | |
| 72 | &mmc0 { |
| 73 | vmmc-supply = <®ulator_3_3v>; |
| 74 | vqmmc-supply = <®ulator_3_3v>; |
Marek Vasut | b11cf66 | 2015-08-19 07:43:19 +0200 | [diff] [blame] | 75 | bus-width = <4>; |
| 76 | u-boot,dm-pre-reloc; |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 77 | }; |
| 78 | |
| 79 | &usb1 { |
| 80 | status = "okay"; |
Pavel Machek | 5543f41 | 2015-04-25 21:36:16 +0200 | [diff] [blame] | 81 | }; |
| 82 | |
| 83 | &qspi { |
| 84 | status = "okay"; |
Marek Vasut | 3518a73 | 2016-02-11 15:53:51 +0100 | [diff] [blame] | 85 | u-boot,dm-pre-reloc; |
Pavel Machek | 5543f41 | 2015-04-25 21:36:16 +0200 | [diff] [blame] | 86 | |
| 87 | flash0: n25q00@0 { |
Marek Vasut | 3518a73 | 2016-02-11 15:53:51 +0100 | [diff] [blame] | 88 | u-boot,dm-pre-reloc; |
Pavel Machek | 5543f41 | 2015-04-25 21:36:16 +0200 | [diff] [blame] | 89 | #address-cells = <1>; |
| 90 | #size-cells = <1>; |
Simon Goldschmidt | 505fd84 | 2018-01-29 07:36:37 +0100 | [diff] [blame] | 91 | compatible = "n25q00", "spi-flash"; |
Pavel Machek | 5543f41 | 2015-04-25 21:36:16 +0200 | [diff] [blame] | 92 | reg = <0>; /* chip select */ |
| 93 | spi-max-frequency = <50000000>; |
| 94 | m25p,fast-read; |
| 95 | page-size = <256>; |
| 96 | block-size = <16>; /* 2^16, 64KB */ |
Jason Rush | feaa3f9 | 2018-01-23 17:13:10 -0600 | [diff] [blame] | 97 | cdns,tshsl-ns = <50>; |
| 98 | cdns,tsd2d-ns = <50>; |
| 99 | cdns,tchsh-ns = <4>; |
| 100 | cdns,tslch-ns = <4>; |
Pavel Machek | 5543f41 | 2015-04-25 21:36:16 +0200 | [diff] [blame] | 101 | }; |
Marek Vasut | a3fb96c | 2014-12-30 21:08:57 +0100 | [diff] [blame] | 102 | }; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 103 | |
| 104 | &uart0 { |
| 105 | u-boot,dm-pre-reloc; |
| 106 | }; |