blob: b7054bfd5af514bc4ba0fc21b48757aa88cb7dab [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Pavel Machek9802e872016-06-07 12:37:23 +02002/*
3 * Copyright (C) 2012 Altera Corporation <www.altera.com>
Pavel Machek9802e872016-06-07 12:37:23 +02004 */
5
6#include "socfpga_cyclone5.dtsi"
7
8/ {
9 model = "SoCFPGA Cyclone V IS1";
10 compatible = "anonymous,socfpga-is1", "altr,socfpga-cyclone5", "altr,socfpga";
11
12 chosen {
13 bootargs = "console=ttyS0,115200";
Simon Goldschmidt3854a1a2018-08-13 21:34:33 +020014 stdout-path = "serial0:115200n8";
Pavel Machek9802e872016-06-07 12:37:23 +020015 };
16
17 memory {
18 name = "memory";
19 device_type = "memory";
20 reg = <0x0 0x10000000>;
21 };
22
23 aliases {
24 ethernet0 = &gmac1;
25 udc0 = &usb1;
26 };
27
28 regulator_3_3v: 3-3-v-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "3.3V";
31 regulator-min-microvolt = <3300000>;
32 regulator-max-microvolt = <3300000>;
33 };
34
35 soc {
36 u-boot,dm-pre-reloc;
37 };
38};
39
40&gmac1 {
41 status = "okay";
42 phy-mode = "rgmii";
43
44 rxd0-skew-ps = <0>;
45 rxd1-skew-ps = <0>;
46 rxd2-skew-ps = <0>;
47 rxd3-skew-ps = <0>;
48 txen-skew-ps = <0>;
49 txc-skew-ps = <2600>;
50 rxdv-skew-ps = <0>;
51 rxc-skew-ps = <2000>;
52};
53
54&gpio1 {
55 status = "okay";
56};
57
Simon Goldschmidt15616b52018-11-02 11:54:52 +010058&porta {
59 bank-name = "porta";
60};
61
Pavel Machek9802e872016-06-07 12:37:23 +020062&i2c0 {
63 status = "okay";
64
65 eeprom@51 {
66 compatible = "atmel,24c32";
67 reg = <0x51>;
68 pagesize = <32>;
69 };
70
71 rtc@68 {
72 compatible = "dallas,ds1339";
73 reg = <0x68>;
74 };
75};
76
77&mmc0 {
78 status = "okay";
79 u-boot,dm-pre-reloc;
80
81 cd-gpios = <&portb 18 0>;
82 vmmc-supply = <&regulator_3_3v>;
83 vqmmc-supply = <&regulator_3_3v>;
84};
85
86&qspi {
87 status = "okay";
88 u-boot,dm-pre-reloc;
89
90 flash0: n25q00@0 {
91 u-boot,dm-pre-reloc;
92 #address-cells = <1>;
93 #size-cells = <1>;
Simon Goldschmidt505fd842018-01-29 07:36:37 +010094 compatible = "n25q00", "spi-flash";
Pavel Machek9802e872016-06-07 12:37:23 +020095 reg = <0>; /* chip select */
96 spi-max-frequency = <100000000>;
97 m25p,fast-read;
98 page-size = <256>;
99 block-size = <16>; /* 2^16, 64KB */
Jason Rushfeaa3f92018-01-23 17:13:10 -0600100 cdns,tshsl-ns = <50>;
101 cdns,tsd2d-ns = <50>;
102 cdns,tchsh-ns = <4>;
103 cdns,tslch-ns = <4>;
Pavel Machek9802e872016-06-07 12:37:23 +0200104 };
105};
106
107&usb1 {
108 status = "okay";
109};
Simon Goldschmidt3854a1a2018-08-13 21:34:33 +0200110
111&uart0 {
112 u-boot,dm-pre-reloc;
113};
Simon Goldschmidt15616b52018-11-02 11:54:52 +0100114
115&watchdog0 {
116 status = "disabled";
117};