Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 SUSE LINUX Products GmbH |
| 3 | * |
| 4 | * Derived from zynq-zed.dts: |
| 5 | * |
| 6 | * Copyright (C) 2011 Xilinx |
| 7 | * Copyright (C) 2012 National Instruments Corp. |
| 8 | * Copyright (C) 2013 Xilinx |
| 9 | * |
| 10 | * This software is licensed under the terms of the GNU General Public |
| 11 | * License version 2, as published by the Free Software Foundation, and |
| 12 | * may be copied, distributed, and modified under those terms. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU General Public License for more details. |
| 18 | */ |
| 19 | /dts-v1/; |
| 20 | /include/ "zynq-7000.dtsi" |
| 21 | |
| 22 | / { |
| 23 | model = "Adapteva Parallella Board"; |
| 24 | compatible = "adapteva,parallella", "xlnx,zynq-7000"; |
| 25 | |
Michal Simek | 1b654bc | 2015-02-11 13:05:11 +0100 | [diff] [blame] | 26 | aliases { |
| 27 | ethernet0 = &gem0; |
| 28 | serial0 = &uart1; |
| 29 | }; |
| 30 | |
Michal Simek | da457d5 | 2016-11-15 15:02:18 +0100 | [diff] [blame] | 31 | memory@0 { |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 32 | device_type = "memory"; |
Michal Simek | b65186d | 2014-08-21 11:21:09 +0200 | [diff] [blame] | 33 | reg = <0x0 0x40000000>; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
| 36 | chosen { |
Michal Simek | 07bf429 | 2016-02-15 16:36:11 +0100 | [diff] [blame] | 37 | bootargs = "earlycon root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; |
Michal Simek | 2221043 | 2015-02-11 13:06:36 +0100 | [diff] [blame] | 38 | stdout-path = "serial0:115200n8"; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 39 | }; |
| 40 | }; |
| 41 | |
Andreas Färber | 92c9e0c | 2014-11-06 18:22:10 +0100 | [diff] [blame] | 42 | &clkc { |
| 43 | fclk-enable = <0xf>; |
Peter Crosthwaite | 8c7634c | 2014-12-01 10:25:49 +1000 | [diff] [blame] | 44 | ps-clk-frequency = <33333333>; |
Andreas Färber | 92c9e0c | 2014-11-06 18:22:10 +0100 | [diff] [blame] | 45 | }; |
| 46 | |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 47 | &gem0 { |
| 48 | status = "okay"; |
| 49 | phy-mode = "rgmii-id"; |
| 50 | phy-handle = <ðernet_phy>; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 51 | |
| 52 | ethernet_phy: ethernet-phy@0 { |
| 53 | /* Marvell 88E1318 */ |
| 54 | compatible = "ethernet-phy-id0141.0e90", |
| 55 | "ethernet-phy-ieee802.3-c22"; |
| 56 | reg = <0>; |
Sai Pavan Boddu | e5e6f68 | 2017-03-06 18:17:19 +0530 | [diff] [blame^] | 57 | device_type = "ethernet-phy"; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 58 | marvell,reg-init = <0x3 0x10 0xff00 0x1e>, |
| 59 | <0x3 0x11 0xfff0 0xa>; |
| 60 | }; |
| 61 | }; |
| 62 | |
| 63 | &i2c0 { |
| 64 | status = "okay"; |
Mark Brown | 6f752f7 | 2014-09-06 12:40:16 +0100 | [diff] [blame] | 65 | |
| 66 | isl9305: isl9305@68 { |
Arnaud Ebalard | b4770fe | 2015-02-16 15:58:43 -0800 | [diff] [blame] | 67 | compatible = "isil,isl9305"; |
Mark Brown | 6f752f7 | 2014-09-06 12:40:16 +0100 | [diff] [blame] | 68 | reg = <0x68>; |
| 69 | |
| 70 | regulators { |
| 71 | dcd1 { |
| 72 | regulator-name = "VDD_DSP"; |
| 73 | regulator-always-on; |
| 74 | }; |
| 75 | dcd2 { |
| 76 | regulator-name = "1P35V"; |
| 77 | regulator-always-on; |
| 78 | }; |
| 79 | ldo1 { |
| 80 | regulator-name = "VDD_ADJ"; |
| 81 | }; |
| 82 | ldo2 { |
| 83 | regulator-name = "VDD_GPIO"; |
| 84 | regulator-always-on; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 88 | }; |
| 89 | |
| 90 | &sdhci1 { |
| 91 | status = "okay"; |
| 92 | }; |
| 93 | |
| 94 | &uart1 { |
| 95 | status = "okay"; |
| 96 | }; |