Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 Altera Corporation <www.altera.com> |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include "socfpga_cyclone5.dtsi" |
| 7 | |
| 8 | / { |
| 9 | model = "SoCFPGA Cyclone V IS1"; |
| 10 | compatible = "anonymous,socfpga-is1", "altr,socfpga-cyclone5", "altr,socfpga"; |
| 11 | |
| 12 | chosen { |
| 13 | bootargs = "console=ttyS0,115200"; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 14 | stdout-path = "serial0:115200n8"; |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | memory { |
| 18 | name = "memory"; |
| 19 | device_type = "memory"; |
| 20 | reg = <0x0 0x10000000>; |
| 21 | }; |
| 22 | |
| 23 | aliases { |
| 24 | ethernet0 = &gmac1; |
| 25 | udc0 = &usb1; |
| 26 | }; |
| 27 | |
| 28 | regulator_3_3v: 3-3-v-regulator { |
| 29 | compatible = "regulator-fixed"; |
| 30 | regulator-name = "3.3V"; |
| 31 | regulator-min-microvolt = <3300000>; |
| 32 | regulator-max-microvolt = <3300000>; |
| 33 | }; |
| 34 | |
| 35 | soc { |
| 36 | u-boot,dm-pre-reloc; |
| 37 | }; |
| 38 | }; |
| 39 | |
| 40 | &gmac1 { |
| 41 | status = "okay"; |
| 42 | phy-mode = "rgmii"; |
| 43 | |
| 44 | rxd0-skew-ps = <0>; |
| 45 | rxd1-skew-ps = <0>; |
| 46 | rxd2-skew-ps = <0>; |
| 47 | rxd3-skew-ps = <0>; |
| 48 | txen-skew-ps = <0>; |
| 49 | txc-skew-ps = <2600>; |
| 50 | rxdv-skew-ps = <0>; |
| 51 | rxc-skew-ps = <2000>; |
| 52 | }; |
| 53 | |
| 54 | &gpio1 { |
| 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 | |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 62 | &i2c0 { |
| 63 | status = "okay"; |
| 64 | |
| 65 | eeprom@51 { |
| 66 | compatible = "atmel,24c32"; |
| 67 | reg = <0x51>; |
| 68 | pagesize = <32>; |
| 69 | }; |
| 70 | |
| 71 | rtc@68 { |
| 72 | compatible = "dallas,ds1339"; |
| 73 | reg = <0x68>; |
| 74 | }; |
| 75 | }; |
| 76 | |
| 77 | &mmc0 { |
| 78 | status = "okay"; |
| 79 | u-boot,dm-pre-reloc; |
| 80 | |
| 81 | cd-gpios = <&portb 18 0>; |
| 82 | vmmc-supply = <®ulator_3_3v>; |
| 83 | vqmmc-supply = <®ulator_3_3v>; |
| 84 | }; |
| 85 | |
| 86 | &qspi { |
| 87 | status = "okay"; |
| 88 | u-boot,dm-pre-reloc; |
| 89 | |
| 90 | flash0: n25q00@0 { |
| 91 | u-boot,dm-pre-reloc; |
| 92 | #address-cells = <1>; |
| 93 | #size-cells = <1>; |
Simon Goldschmidt | 505fd84 | 2018-01-29 07:36:37 +0100 | [diff] [blame] | 94 | compatible = "n25q00", "spi-flash"; |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 95 | reg = <0>; /* chip select */ |
| 96 | spi-max-frequency = <100000000>; |
| 97 | m25p,fast-read; |
| 98 | page-size = <256>; |
| 99 | block-size = <16>; /* 2^16, 64KB */ |
Jason Rush | feaa3f9 | 2018-01-23 17:13:10 -0600 | [diff] [blame] | 100 | cdns,tshsl-ns = <50>; |
| 101 | cdns,tsd2d-ns = <50>; |
| 102 | cdns,tchsh-ns = <4>; |
| 103 | cdns,tslch-ns = <4>; |
Pavel Machek | 9802e87 | 2016-06-07 12:37:23 +0200 | [diff] [blame] | 104 | }; |
| 105 | }; |
| 106 | |
| 107 | &usb1 { |
| 108 | status = "okay"; |
| 109 | }; |
Simon Goldschmidt | 3854a1a | 2018-08-13 21:34:33 +0200 | [diff] [blame] | 110 | |
| 111 | &uart0 { |
| 112 | u-boot,dm-pre-reloc; |
| 113 | }; |
Simon Goldschmidt | 15616b5 | 2018-11-02 11:54:52 +0100 | [diff] [blame] | 114 | |
| 115 | &watchdog0 { |
| 116 | status = "disabled"; |
| 117 | }; |