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/>.
18 #include "socfpga_arria10.dtsi"
21 model = "Altera SOCFPGA Arria 10";
22 compatible = "altr,socfpga-arria10", "altr,socfpga";
31 bootargs = "earlyprintk";
32 stdout-path = "serial0:115200n8";
37 device_type = "memory";
38 reg = <0x0 0x40000000>; /* 1GB */
43 compatible = "gpio-leds";
47 gpios = <&a10sr_gpio 0 1>;
52 gpios = <&a10sr_gpio 1 1>;
57 gpios = <&a10sr_gpio 2 1>;
62 gpios = <&a10sr_gpio 3 1>;
73 phy-addr = <0xffffffff>; /* probe for phy addr */
76 * These skews assume the user's FPGA design is adding 600ps of delay
77 * for TX_CLK on Arria 10.
79 * All skews are offset since hardware skew values for the ksz9031
80 * range from a negative skew to a positive skew.
81 * See the micrel-ksz90x1.txt Documentation file for details.
83 txd0-skew-ps = <0>; /* -420ps */
84 txd1-skew-ps = <0>; /* -420ps */
85 txd2-skew-ps = <0>; /* -420ps */
86 txd3-skew-ps = <0>; /* -420ps */
87 rxd0-skew-ps = <420>; /* 0ps */
88 rxd1-skew-ps = <420>; /* 0ps */
89 rxd2-skew-ps = <420>; /* 0ps */
90 rxd3-skew-ps = <420>; /* 0ps */
91 txen-skew-ps = <0>; /* -420ps */
92 txc-skew-ps = <1860>; /* 960ps */
93 rxdv-skew-ps = <420>; /* 0ps */
94 rxc-skew-ps = <1680>; /* 780ps */
95 max-frame-size = <3800>;
107 compatible = "altr,a10sr";
109 spi-max-frequency = <100000>;
110 /* low-level active IRQ at GPIO1_5 */
111 interrupt-parent = <&portb>;
112 interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
116 a10sr_gpio: gpio-controller {
117 compatible = "altr,a10sr-gpio";
122 a10sr_rst: reset-controller {
123 compatible = "altr,a10sr-reset";
133 * adjust the falling times to decrease the i2c frequency to 50Khz
134 * because the LCD module does not work at the standard 100Khz
136 clock-frequency = <100000>;
137 i2c-sda-falling-time-ns = <6000>;
138 i2c-scl-falling-time-ns = <6000>;
141 compatible = "atmel,24c32";
147 compatible = "dallas,ds1339";
152 compatible = "ltc2977";
164 disable-over-current;
171 /* Clock available early */
172 &main_periph_ref_clk {