1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6 #include "socfpga_cyclone5.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
11 model = "Altera SOCFPGA Cyclone V SoC Macnica Sodia board";
12 compatible = "macnica,sodia", "altr,socfpga-cyclone5", "altr,socfpga";
15 bootargs = "earlyprintk";
16 stdout-path = "serial0:115200n8";
21 device_type = "memory";
22 reg = <0x0 0x40000000>;
29 regulator_3_3v: 3-3-v-regulator {
30 compatible = "regulator-fixed";
31 regulator-name = "3.3V";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
37 compatible = "gpio-leds";
40 label = "hps:green:led0";
41 gpios = <&portb 12 GPIO_ACTIVE_LOW>;
45 label = "hps:green:led1";
46 gpios = <&portb 13 GPIO_ACTIVE_LOW>;
50 label = "hps:green:led2";
51 gpios = <&portb 14 GPIO_ACTIVE_LOW>;
55 label = "hps:green:led3";
56 gpios = <&portb 15 GPIO_ACTIVE_LOW>;
69 phy0: ethernet-phy@0 {
91 compatible = "atmel,24c32";
97 compatible = "dallas,ds1339";
103 cd-gpios = <&portb 18 0>;
104 vmmc-supply = <®ulator_3_3v>;
105 vqmmc-supply = <®ulator_3_3v>;
117 #address-cells = <1>;
119 compatible = "n25q512a";
121 spi-max-frequency = <100000000>;
124 cdns,page-size = <256>;
125 cdns,block-size = <16>;
126 cdns,read-delay = <4>;
127 cdns,tshsl-ns = <50>;
128 cdns,tsd2d-ns = <50>;