Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2017, Intel Corporation |
| 4 | * |
| 5 | * based on socfpga_cyclone5_de0_nano_soc.dts |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include "socfpga_cyclone5.dtsi" |
Simon Goldschmidt | 64a12bf | 2019-03-01 20:12:29 +0100 | [diff] [blame] | 9 | #include "socfpga-common-u-boot.dtsi" |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | model = "Terasic DE10-Nano"; |
| 13 | compatible = "altr,socfpga-cyclone5", "altr,socfpga"; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200"; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 17 | stdout-path = "serial0:115200n8"; |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 18 | }; |
| 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 Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 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 | |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 58 | &porta { |
| 59 | bank-name = "porta"; |
| 60 | }; |
| 61 | |
| 62 | &portb { |
| 63 | bank-name = "portb"; |
| 64 | }; |
| 65 | |
| 66 | &portc { |
| 67 | bank-name = "portc"; |
| 68 | }; |
| 69 | |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 70 | &mmc0 { |
| 71 | status = "okay"; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 72 | bootph-all; |
Dalon Westergreen | 7a0fe0d | 2017-04-18 08:11:16 -0700 | [diff] [blame] | 73 | }; |
| 74 | |
| 75 | &usb1 { |
| 76 | status = "okay"; |
| 77 | }; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 78 | |
| 79 | &uart0 { |
Simon Goldschmidt | 0ce8416 | 2019-04-29 20:32:27 +0200 | [diff] [blame] | 80 | clock-frequency = <100000000>; |
Simon Glass | d3a98cb | 2023-02-13 08:56:33 -0700 | [diff] [blame] | 81 | bootph-all; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 82 | }; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 83 | |
| 84 | &watchdog0 { |
| 85 | status = "disabled"; |
| 86 | }; |