2 * Copyright (C) 2016 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
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_cyclone5.dtsi"
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/input/input.h>
23 model = "Altera SOCFPGA Cyclone V SoC Macnica Sodia board";
24 compatible = "macnica,sodia", "altr,socfpga-cyclone5", "altr,socfpga";
27 bootargs = "earlyprintk";
28 stdout-path = "serial0:115200n8";
33 device_type = "memory";
34 reg = <0x0 0x40000000>;
41 regulator_3_3v: 3-3-v-regulator {
42 compatible = "regulator-fixed";
43 regulator-name = "3.3V";
44 regulator-min-microvolt = <3300000>;
45 regulator-max-microvolt = <3300000>;
49 compatible = "gpio-leds";
52 label = "hps:green:led0";
53 gpios = <&portb 12 GPIO_ACTIVE_LOW>;
57 label = "hps:green:led1";
58 gpios = <&portb 13 GPIO_ACTIVE_LOW>;
62 label = "hps:green:led2";
63 gpios = <&portb 14 GPIO_ACTIVE_LOW>;
67 label = "hps:green:led3";
68 gpios = <&portb 15 GPIO_ACTIVE_LOW>;
81 phy0: ethernet-phy@0 {
103 compatible = "atmel,24c32";
109 compatible = "dallas,ds1339";
115 cd-gpios = <&portb 18 0>;
116 vmmc-supply = <®ulator_3_3v>;
117 vqmmc-supply = <®ulator_3_3v>;
129 #address-cells = <1>;
131 compatible = "micron,n25q512a", "jedec,spi-nor";
133 spi-max-frequency = <100000000>;
136 cdns,page-size = <256>;
137 cdns,block-size = <16>;
138 cdns,read-delay = <4>;
139 cdns,tshsl-ns = <50>;
140 cdns,tsd2d-ns = <50>;