1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 * Copyright (C) 2015 Marek Vasut <marex@denx.de>
6 #include "socfpga_cyclone5.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
11 model = "samtec VIN|ING FPGA";
12 compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga";
15 bootargs = "earlyprintk";
16 stdout-path = "serial0:115200n8";
21 device_type = "memory";
22 reg = <0x0 0x40000000>; /* 1GB */
27 * This allow the ethaddr uboot environment variable contents
28 * to be added to the gmac1 device tree blob.
35 compatible = "gpio-keys";
38 label = "BTN_0"; /* TEMP_OS */
39 gpios = <&portc 18 GPIO_ACTIVE_LOW>; /* HPS_GPI5 */
44 label = "GP_SWITCH"; /* GP_SWITCH */
45 gpios = <&portc 19 GPIO_ACTIVE_LOW>; /* HPS_GPI6 */
50 label = "RESET_SWITCH"; /* RESET_SWITCH */
51 gpios = <&portc 20 GPIO_ACTIVE_LOW>; /* HPS_GPI7 */
56 label = "POWER_DOWN"; /* POWER_DOWN */
57 gpios = <&portc 4 GPIO_ACTIVE_LOW>; /* HPS_GPIO62 */
58 linux,code = <KEY_POWER>;
62 label = "SENSE"; /* SENSE */
63 gpios = <&porta 9 GPIO_ACTIVE_LOW>; /* HPS_GPIO9 */
69 compatible = "regulator-fixed";
70 regulator-name = "usb_nrst";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
73 gpio = <&portb 5 GPIO_ACTIVE_HIGH>;
74 startup-delay-us = <70000>;
85 snps,reset-gpio = <&porta 0 GPIO_ACTIVE_LOW>;
86 snps,reset-active-low;
87 snps,reset-delays-us = <10000 10000 10000>;
92 compatible = "snps,dwmac-mdio";
93 phy1: ethernet-phy@1 {
104 txc-skew-ps = <1860>;
106 rxc-skew-ps = <1860>;
111 &gpio0 { /* GPIO 0..29 */
115 &gpio1 { /* GPIO 30..57 */
119 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
127 compatible = "nxp,pca9557";
139 compatible = "atmel,24c01";
145 compatible = "nxp,pca9548";
146 #address-cells = <1>;
151 #address-cells = <1>;
157 #address-cells = <1>;
163 #address-cells = <1>;
169 #address-cells = <1>;
175 #address-cells = <1>;
181 #address-cells = <1>;
186 i2c@6 { /* Backplane EEPROM */
187 #address-cells = <1>;
191 compatible = "atmel,24c01";
197 i2c@7 { /* Power board EEPROM */
198 #address-cells = <1>;
202 compatible = "atmel,24c01";
212 clock-frequency = <100000>;
215 compatible = "atmel,24c02";
225 #address-cells = <1>;
227 compatible = "n25q128";
228 reg = <0>; /* chip select */
229 spi-max-frequency = <100000000>;
232 cdns,page-size = <256>;
233 cdns,block-size = <16>;
234 cdns,read-delay = <4>;
235 cdns,tshsl-ns = <50>;
236 cdns,tsd2d-ns = <50>;
242 #address-cells = <1>;
244 compatible = "n25q00";
245 reg = <1>; /* chip select */
246 spi-max-frequency = <100000000>;
249 cdns,page-size = <256>;
250 cdns,block-size = <16>;
251 cdns,read-delay = <4>;
252 cdns,tshsl-ns = <50>;
253 cdns,tsd2d-ns = <50>;
265 dr_mode = "peripheral";