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" |
| 7 | |
| 8 | / { |
| 9 | model = "Devboards.de DBM-SoC1"; |
| 10 | compatible = "altr,socfpga-cyclone5", "altr,socfpga"; |
| 11 | |
| 12 | chosen { |
| 13 | bootargs = "console=ttyS0,115200"; |
| 14 | }; |
| 15 | |
| 16 | aliases { |
| 17 | ethernet0 = &gmac1; |
| 18 | udc0 = &usb1; |
| 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 | |
| 37 | &gpio0 { |
| 38 | status = "okay"; |
| 39 | }; |
| 40 | |
| 41 | &gpio1 { |
| 42 | status = "okay"; |
| 43 | }; |
| 44 | |
| 45 | &gpio2 { |
| 46 | status = "okay"; |
| 47 | }; |
| 48 | |
| 49 | &mmc0 { |
| 50 | status = "okay"; |
| 51 | bus-width = <4>; |
| 52 | u-boot,dm-pre-reloc; |
| 53 | }; |
| 54 | |
| 55 | &usb1 { |
| 56 | disable-over-current; |
| 57 | status = "okay"; |
| 58 | }; |