Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2018 Marek Vasut <marex@denx.de> |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "socfpga_cyclone5.dtsi" |
Simon Goldschmidt | 64a12bf | 2019-03-01 20:12:29 +0100 | [diff] [blame] | 7 | #include "socfpga-common-u-boot.dtsi" |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 8 | |
| 9 | / { |
| 10 | model = "Devboards.de DBM-SoC1"; |
| 11 | compatible = "altr,socfpga-cyclone5", "altr,socfpga"; |
| 12 | |
| 13 | chosen { |
| 14 | bootargs = "console=ttyS0,115200"; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 15 | stdout-path = "serial0:115200n8"; |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | aliases { |
| 19 | ethernet0 = &gmac1; |
| 20 | udc0 = &usb1; |
| 21 | }; |
| 22 | |
| 23 | memory { |
| 24 | name = "memory"; |
| 25 | device_type = "memory"; |
| 26 | reg = <0x0 0x40000000>; /* 1GB */ |
| 27 | }; |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 28 | }; |
| 29 | |
| 30 | &gmac1 { |
| 31 | status = "okay"; |
| 32 | phy-mode = "rgmii"; |
| 33 | }; |
| 34 | |
| 35 | &gpio0 { |
| 36 | status = "okay"; |
| 37 | }; |
| 38 | |
| 39 | &gpio1 { |
| 40 | status = "okay"; |
| 41 | }; |
| 42 | |
| 43 | &gpio2 { |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 47 | &porta { |
| 48 | bank-name = "porta"; |
| 49 | }; |
| 50 | |
| 51 | &portb { |
| 52 | bank-name = "portb"; |
| 53 | }; |
| 54 | |
| 55 | &portc { |
| 56 | bank-name = "portc"; |
| 57 | }; |
| 58 | |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 59 | &mmc0 { |
| 60 | status = "okay"; |
Marek Vasut | b06dad2 | 2018-02-24 23:34:00 +0100 | [diff] [blame] | 61 | u-boot,dm-pre-reloc; |
| 62 | }; |
| 63 | |
| 64 | &usb1 { |
| 65 | disable-over-current; |
| 66 | status = "okay"; |
| 67 | }; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 68 | |
| 69 | &uart0 { |
| 70 | u-boot,dm-pre-reloc; |
| 71 | }; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 72 | |
| 73 | &watchdog0 { |
| 74 | status = "disabled"; |
| 75 | }; |