1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2014 Steffen Trumtrar <s.trumtrar@pengutronix.de> 4*f126890aSEmmanuel Vadot */ 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot#include "socfpga_cyclone5.dtsi" 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot/ { 9*f126890aSEmmanuel Vadot model = "EBV SOCrates"; 10*f126890aSEmmanuel Vadot compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot aliases { 13*f126890aSEmmanuel Vadot ethernet0 = &gmac1; 14*f126890aSEmmanuel Vadot }; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot chosen { 17*f126890aSEmmanuel Vadot bootargs = "earlyprintk"; 18*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot memory@0 { 22*f126890aSEmmanuel Vadot name = "memory"; 23*f126890aSEmmanuel Vadot device_type = "memory"; 24*f126890aSEmmanuel Vadot reg = <0x0 0x40000000>; /* 1GB */ 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot leds: gpio-leds { 28*f126890aSEmmanuel Vadot }; 29*f126890aSEmmanuel Vadot}; 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadot&gmac1 { 32*f126890aSEmmanuel Vadot phy-mode = "rgmii"; 33*f126890aSEmmanuel Vadot status = "okay"; 34*f126890aSEmmanuel Vadot}; 35*f126890aSEmmanuel Vadot 36*f126890aSEmmanuel Vadot&gpio0 { 37*f126890aSEmmanuel Vadot status = "okay"; 38*f126890aSEmmanuel Vadot}; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot&gpio1 { 41*f126890aSEmmanuel Vadot status = "okay"; 42*f126890aSEmmanuel Vadot}; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot&i2c0 { 45*f126890aSEmmanuel Vadot status = "okay"; 46*f126890aSEmmanuel Vadot 47*f126890aSEmmanuel Vadot rtc: rtc@68 { 48*f126890aSEmmanuel Vadot compatible = "st,m41t82"; 49*f126890aSEmmanuel Vadot reg = <0x68>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot}; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot&leds { 54*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 55*f126890aSEmmanuel Vadot 56*f126890aSEmmanuel Vadot led0 { 57*f126890aSEmmanuel Vadot label = "led:green:heartbeat"; 58*f126890aSEmmanuel Vadot gpios = <&porta 28 1>; 59*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 60*f126890aSEmmanuel Vadot }; 61*f126890aSEmmanuel Vadot 62*f126890aSEmmanuel Vadot led1 { 63*f126890aSEmmanuel Vadot label = "led:green:D7"; 64*f126890aSEmmanuel Vadot gpios = <&portb 19 1>; 65*f126890aSEmmanuel Vadot }; 66*f126890aSEmmanuel Vadot 67*f126890aSEmmanuel Vadot led2 { 68*f126890aSEmmanuel Vadot label = "led:green:D8"; 69*f126890aSEmmanuel Vadot gpios = <&portb 25 1>; 70*f126890aSEmmanuel Vadot }; 71*f126890aSEmmanuel Vadot}; 72*f126890aSEmmanuel Vadot 73*f126890aSEmmanuel Vadot&mmc { 74*f126890aSEmmanuel Vadot status = "okay"; 75*f126890aSEmmanuel Vadot}; 76*f126890aSEmmanuel Vadot 77*f126890aSEmmanuel Vadot&qspi { 78*f126890aSEmmanuel Vadot status = "okay"; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot flash: flash@0 { 81*f126890aSEmmanuel Vadot #address-cells = <1>; 82*f126890aSEmmanuel Vadot #size-cells = <1>; 83*f126890aSEmmanuel Vadot compatible = "micron,n25q256a", "jedec,spi-nor"; 84*f126890aSEmmanuel Vadot reg = <0>; 85*f126890aSEmmanuel Vadot spi-max-frequency = <100000000>; 86*f126890aSEmmanuel Vadot m25p,fast-read; 87*f126890aSEmmanuel Vadot cdns,read-delay = <4>; 88*f126890aSEmmanuel Vadot cdns,tshsl-ns = <50>; 89*f126890aSEmmanuel Vadot cdns,tsd2d-ns = <50>; 90*f126890aSEmmanuel Vadot cdns,tchsh-ns = <4>; 91*f126890aSEmmanuel Vadot cdns,tslch-ns = <4>; 92*f126890aSEmmanuel Vadot status = "okay"; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot}; 95