]> git.ipfire.org Git - thirdparty/u-boot.git/blob - arch/arm/dts/socfpga_cyclone5_is1.dts
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / arch / arm / dts / socfpga_cyclone5_is1.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * Copyright (C) 2012 Altera Corporation <www.altera.com>
4 */
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";
14 };
15
16 memory {
17 name = "memory";
18 device_type = "memory";
19 reg = <0x0 0x10000000>;
20 };
21
22 aliases {
23 ethernet0 = &gmac1;
24 udc0 = &usb1;
25 };
26
27 regulator_3_3v: 3-3-v-regulator {
28 compatible = "regulator-fixed";
29 regulator-name = "3.3V";
30 regulator-min-microvolt = <3300000>;
31 regulator-max-microvolt = <3300000>;
32 };
33
34 soc {
35 u-boot,dm-pre-reloc;
36 };
37 };
38
39 &gmac1 {
40 status = "okay";
41 phy-mode = "rgmii";
42
43 rxd0-skew-ps = <0>;
44 rxd1-skew-ps = <0>;
45 rxd2-skew-ps = <0>;
46 rxd3-skew-ps = <0>;
47 txen-skew-ps = <0>;
48 txc-skew-ps = <2600>;
49 rxdv-skew-ps = <0>;
50 rxc-skew-ps = <2000>;
51 };
52
53 &gpio1 {
54 status = "okay";
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 status = "okay";
74 u-boot,dm-pre-reloc;
75
76 cd-gpios = <&portb 18 0>;
77 vmmc-supply = <&regulator_3_3v>;
78 vqmmc-supply = <&regulator_3_3v>;
79 };
80
81 &qspi {
82 status = "okay";
83 u-boot,dm-pre-reloc;
84
85 flash0: n25q00@0 {
86 u-boot,dm-pre-reloc;
87 #address-cells = <1>;
88 #size-cells = <1>;
89 compatible = "n25q00", "spi-flash";
90 reg = <0>; /* chip select */
91 spi-max-frequency = <100000000>;
92 m25p,fast-read;
93 page-size = <256>;
94 block-size = <16>; /* 2^16, 64KB */
95 cdns,tshsl-ns = <50>;
96 cdns,tsd2d-ns = <50>;
97 cdns,tchsh-ns = <4>;
98 cdns,tslch-ns = <4>;
99 };
100 };
101
102 &usb1 {
103 status = "okay";
104 };