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_GPIO60 */
44 label = "BTN_1"; /* DIS_PWR */
45 gpios = <&portc 19 GPIO_ACTIVE_LOW>; /* HPS_GPIO61 */
50 label = "hps_hkey1"; /* POWER_DOWN */
51 gpios = <&portc 20 GPIO_ACTIVE_LOW>; /* HPS_GPIO62 */
52 linux,code = <KEY_POWER>;
57 compatible = "regulator-fixed";
58 regulator-name = "usb_nrst";
59 regulator-min-microvolt = <5000000>;
60 regulator-max-microvolt = <5000000>;
61 gpio = <&portb 5 GPIO_ACTIVE_HIGH>;
62 startup-delay-us = <70000>;
73 snps,reset-gpio = <&porta 0 GPIO_ACTIVE_LOW>;
74 snps,reset-active-low;
75 snps,reset-delays-us = <10000 10000 10000>;
80 compatible = "snps,dwmac-mdio";
81 phy1: ethernet-phy@1 {
95 &gpio0 { /* GPIO 0..29 */
99 &gpio1 { /* GPIO 30..57 */
103 &gpio2 { /* GPIO 58..66 (HLGPI 0..13 at offset 13) */
111 compatible = "nxp,pca9557";
123 compatible = "atmel,24c01";
129 compatible = "nxp,pca9548";
130 #address-cells = <1>;
135 #address-cells = <1>;
141 #address-cells = <1>;
147 #address-cells = <1>;
153 #address-cells = <1>;
159 #address-cells = <1>;
165 #address-cells = <1>;
170 i2c@6 { /* Backplane EEPROM */
171 #address-cells = <1>;
175 compatible = "atmel,24c01";
181 i2c@7 { /* Power board EEPROM */
182 #address-cells = <1>;
186 compatible = "atmel,24c01";
196 clock-frequency = <100000>;
199 compatible = "atmel,24c02";
209 #address-cells = <1>;
211 compatible = "n25q128";
212 reg = <0>; /* chip select */
213 spi-max-frequency = <100000000>;
216 cdns,page-size = <256>;
217 cdns,block-size = <16>;
218 cdns,read-delay = <4>;
219 cdns,tshsl-ns = <50>;
220 cdns,tsd2d-ns = <50>;
226 #address-cells = <1>;
228 compatible = "n25q00";
229 reg = <1>; /* chip select */
230 spi-max-frequency = <100000000>;
233 cdns,page-size = <256>;
234 cdns,block-size = <16>;
235 cdns,read-delay = <4>;
236 cdns,tshsl-ns = <50>;
237 cdns,tsd2d-ns = <50>;
249 dr_mode = "peripheral";