1/* 2 * Copyright Altera Corporation (C) 2015 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7#include "socfpga_cyclone5.dtsi" 8 9/ { 10 model = "Terasic DE0-Nano(Atlas)"; 11 compatible = "altr,socfpga-cyclone5", "altr,socfpga"; 12 13 chosen { 14 bootargs = "console=ttyS0,115200"; 15 }; 16 17 aliases { 18 ethernet0 = &gmac1; 19 }; 20 21 memory { 22 name = "memory"; 23 device_type = "memory"; 24 reg = <0x0 0x40000000>; /* 1GB */ 25 }; 26 27 soc { 28 u-boot,dm-pre-reloc; 29 }; 30}; 31 32&gmac1 { 33 status = "okay"; 34 phy-mode = "rgmii"; 35 36 rxd0-skew-ps = <420>; 37 rxd1-skew-ps = <420>; 38 rxd2-skew-ps = <420>; 39 rxd3-skew-ps = <420>; 40 txen-skew-ps = <0>; 41 txc-skew-ps = <1860>; 42 rxdv-skew-ps = <420>; 43 rxc-skew-ps = <1680>; 44}; 45 46&gpio0 { 47 status = "okay"; 48}; 49 50&gpio1 { 51 status = "okay"; 52}; 53 54&gpio2 { 55 status = "okay"; 56}; 57 58&mmc0 { 59 status = "okay"; 60 u-boot,dm-pre-reloc; 61}; 62