2 * Copyright (C) 2015 Altera Corporation <www.altera.com>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include "socfpga_arria10.dtsi"
20 model = "Altera SOCFPGA Arria 10";
21 compatible = "altr,socfpga-arria10", "altr,socfpga";
29 bootargs = "earlyprintk";
30 stdout-path = "serial0:115200n8";
35 device_type = "memory";
36 reg = <0x0 0x40000000>; /* 1GB */
40 compatible = "gpio-leds";
44 gpios = <&a10sr_gpio 0 1>;
49 gpios = <&a10sr_gpio 1 1>;
54 gpios = <&a10sr_gpio 2 1>;
59 gpios = <&a10sr_gpio 3 1>;
67 clock-frequency = <25000000>;
76 phy-addr = <0xffffffff>; /* probe for phy addr */
79 * These skews assume the user's FPGA design is adding 600ps of delay
80 * for TX_CLK on Arria 10.
82 * All skews are offset since hardware skew values for the ksz9031
83 * range from a negative skew to a positive skew.
84 * See the micrel-ksz90x1.txt Documentation file for details.
86 txd0-skew-ps = <0>; /* -420ps */
87 txd1-skew-ps = <0>; /* -420ps */
88 txd2-skew-ps = <0>; /* -420ps */
89 txd3-skew-ps = <0>; /* -420ps */
90 rxd0-skew-ps = <420>; /* 0ps */
91 rxd1-skew-ps = <420>; /* 0ps */
92 rxd2-skew-ps = <420>; /* 0ps */
93 rxd3-skew-ps = <420>; /* 0ps */
94 txen-skew-ps = <0>; /* -420ps */
95 txc-skew-ps = <1860>; /* 960ps */
96 rxdv-skew-ps = <420>; /* 0ps */
97 rxc-skew-ps = <1680>; /* 780ps */
98 max-frame-size = <3800>;
110 compatible = "altr,a10sr";
112 spi-max-frequency = <100000>;
113 /* low-level active IRQ at GPIO1_5 */
114 interrupt-parent = <&portb>;
115 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
116 interrupt-controller;
117 #interrupt-cells = <2>;
119 a10sr_gpio: gpio-controller {
120 compatible = "altr,a10sr-gpio";
125 a10sr_rst: reset-controller {
126 compatible = "altr,a10sr-reset";
136 * adjust the falling times to decrease the i2c frequency to 50Khz
137 * because the LCD module does not work at the standard 100Khz
139 clock-frequency = <100000>;
140 i2c-sda-falling-time-ns = <6000>;
141 i2c-scl-falling-time-ns = <6000>;
144 compatible = "atmel,24c32";
150 compatible = "dallas,ds1339";
155 compatible = "ltc2977";