blob: 449ba9cbb964a90ce60f0613198ac6a09032dbfb [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Marek Vasuta3fb96c2014-12-30 21:08:57 +01002/*
3 * Copyright (C) 2013 Altera Corporation <www.altera.com>
Marek Vasuta3fb96c2014-12-30 21:08:57 +01004 */
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";
14 };
15
16 memory {
17 name = "memory";
18 device_type = "memory";
19 reg = <0x0 0x40000000>; /* 1GB */
20 };
21
22 aliases {
Stefan Roese72887e32016-04-18 14:22:04 +020023 /* this allow the ethaddr uboot environment variable contents
Marek Vasutffccc622015-07-21 11:25:14 +020024 * to be added to the gmac1 device tree blob.
25 */
Marek Vasuta3fb96c2014-12-30 21:08:57 +010026 ethernet0 = &gmac1;
Marek Vasut52e8aa22015-12-05 19:24:22 +010027 udc0 = &usb1;
Marek Vasuta3fb96c2014-12-30 21:08:57 +010028 };
29
30 regulator_3_3v: 3-3-v-regulator {
31 compatible = "regulator-fixed";
32 regulator-name = "3.3V";
33 regulator-min-microvolt = <3300000>;
34 regulator-max-microvolt = <3300000>;
35 };
Marek Vasutb11cf662015-08-19 07:43:19 +020036
37 soc {
38 u-boot,dm-pre-reloc;
39 };
Marek Vasuta3fb96c2014-12-30 21:08:57 +010040};
41
42&gmac1 {
43 status = "okay";
44 phy-mode = "rgmii";
45
46 rxd0-skew-ps = <0>;
47 rxd1-skew-ps = <0>;
48 rxd2-skew-ps = <0>;
49 rxd3-skew-ps = <0>;
50 txen-skew-ps = <0>;
51 txc-skew-ps = <2600>;
52 rxdv-skew-ps = <0>;
53 rxc-skew-ps = <2000>;
54};
55
56&i2c0 {
57 status = "okay";
58
59 eeprom@51 {
60 compatible = "atmel,24c32";
61 reg = <0x51>;
62 pagesize = <32>;
63 };
64
65 rtc@68 {
66 compatible = "dallas,ds1339";
67 reg = <0x68>;
68 };
69};
70
71&mmc0 {
72 vmmc-supply = <&regulator_3_3v>;
73 vqmmc-supply = <&regulator_3_3v>;
Marek Vasutb11cf662015-08-19 07:43:19 +020074 bus-width = <4>;
75 u-boot,dm-pre-reloc;
Marek Vasuta3fb96c2014-12-30 21:08:57 +010076};
77
78&usb1 {
79 status = "okay";
Pavel Machek5543f412015-04-25 21:36:16 +020080};
81
82&qspi {
83 status = "okay";
Marek Vasut3518a732016-02-11 15:53:51 +010084 u-boot,dm-pre-reloc;
Pavel Machek5543f412015-04-25 21:36:16 +020085
86 flash0: n25q00@0 {
Marek Vasut3518a732016-02-11 15:53:51 +010087 u-boot,dm-pre-reloc;
Pavel Machek5543f412015-04-25 21:36:16 +020088 #address-cells = <1>;
89 #size-cells = <1>;
Simon Goldschmidt505fd842018-01-29 07:36:37 +010090 compatible = "n25q00", "spi-flash";
Pavel Machek5543f412015-04-25 21:36:16 +020091 reg = <0>; /* chip select */
92 spi-max-frequency = <50000000>;
93 m25p,fast-read;
94 page-size = <256>;
95 block-size = <16>; /* 2^16, 64KB */
Jason Rushfeaa3f92018-01-23 17:13:10 -060096 cdns,tshsl-ns = <50>;
97 cdns,tsd2d-ns = <50>;
98 cdns,tchsh-ns = <4>;
99 cdns,tslch-ns = <4>;
Pavel Machek5543f412015-04-25 21:36:16 +0200100 };
Marek Vasuta3fb96c2014-12-30 21:08:57 +0100101};