blob: 34886ec1ad89cf399ca8a83709ee4faa4091e8ee [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -07002/*
3 * Copyright (C) 2017, Intel Corporation
4 *
5 * based on socfpga_cyclone5_de0_nano_soc.dts
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -07006 */
7
8#include "socfpga_cyclone5.dtsi"
Simon Goldschmidt64a12bf2019-03-01 20:12:29 +01009#include "socfpga-common-u-boot.dtsi"
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -070010
11/ {
12 model = "Terasic DE10-Nano";
13 compatible = "altr,socfpga-cyclone5", "altr,socfpga";
14
15 chosen {
16 bootargs = "console=ttyS0,115200";
Simon Goldschmidt3854a1a2018-08-13 21:34:33 +020017 stdout-path = "serial0:115200n8";
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -070018 };
19
20 aliases {
21 ethernet0 = &gmac1;
22 udc0 = &usb1;
23 };
24
25 memory {
26 name = "memory";
27 device_type = "memory";
28 reg = <0x0 0x40000000>; /* 1GB */
29 };
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -070030};
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
Simon Goldschmidt15616b52018-11-02 11:54:52 +010058&porta {
59 bank-name = "porta";
60};
61
62&portb {
63 bank-name = "portb";
64};
65
66&portc {
67 bank-name = "portc";
68};
69
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -070070&mmc0 {
71 status = "okay";
Simon Glassd3a98cb2023-02-13 08:56:33 -070072 bootph-all;
Dalon Westergreen7a0fe0d2017-04-18 08:11:16 -070073};
74
75&usb1 {
76 status = "okay";
77};
Simon Goldschmidt3854a1a2018-08-13 21:34:33 +020078
79&uart0 {
Simon Goldschmidt0ce84162019-04-29 20:32:27 +020080 clock-frequency = <100000000>;
Simon Glassd3a98cb2023-02-13 08:56:33 -070081 bootph-all;
Simon Goldschmidt3854a1a2018-08-13 21:34:33 +020082};
Simon Goldschmidt15616b52018-11-02 11:54:52 +010083
84&watchdog0 {
85 status = "disabled";
86};