Michal Simek | 32cda44 | 2017-11-01 13:16:17 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2014 SUSE LINUX Products GmbH |
| 4 | * |
| 5 | * Derived from zynq-zed.dts: |
| 6 | * |
| 7 | * Copyright (C) 2011 Xilinx |
| 8 | * Copyright (C) 2012 National Instruments Corp. |
| 9 | * Copyright (C) 2013 Xilinx |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 10 | */ |
| 11 | /dts-v1/; |
| 12 | /include/ "zynq-7000.dtsi" |
| 13 | |
| 14 | / { |
Luis Araneda | 2843233 | 2018-07-12 00:10:20 -0400 | [diff] [blame] | 15 | model = "Adapteva Parallella board"; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 16 | compatible = "adapteva,parallella", "xlnx,zynq-7000"; |
| 17 | |
Michal Simek | 1b654bc | 2015-02-11 13:05:11 +0100 | [diff] [blame] | 18 | aliases { |
| 19 | ethernet0 = &gem0; |
| 20 | serial0 = &uart1; |
| 21 | }; |
| 22 | |
Michal Simek | da457d5 | 2016-11-15 15:02:18 +0100 | [diff] [blame] | 23 | memory@0 { |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 24 | device_type = "memory"; |
Michal Simek | b65186d | 2014-08-21 11:21:09 +0200 | [diff] [blame] | 25 | reg = <0x0 0x40000000>; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | chosen { |
Michal Simek | 21ad06c | 2016-02-16 09:49:27 +0100 | [diff] [blame] | 29 | bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait"; |
Michal Simek | 2221043 | 2015-02-11 13:06:36 +0100 | [diff] [blame] | 30 | stdout-path = "serial0:115200n8"; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 31 | }; |
| 32 | }; |
| 33 | |
Andreas Färber | 92c9e0c | 2014-11-06 18:22:10 +0100 | [diff] [blame] | 34 | &clkc { |
| 35 | fclk-enable = <0xf>; |
Peter Crosthwaite | 8c7634c | 2014-12-01 10:25:49 +1000 | [diff] [blame] | 36 | ps-clk-frequency = <33333333>; |
Andreas Färber | 92c9e0c | 2014-11-06 18:22:10 +0100 | [diff] [blame] | 37 | }; |
| 38 | |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 39 | &gem0 { |
| 40 | status = "okay"; |
| 41 | phy-mode = "rgmii-id"; |
| 42 | phy-handle = <ðernet_phy>; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 43 | |
| 44 | ethernet_phy: ethernet-phy@0 { |
| 45 | /* Marvell 88E1318 */ |
| 46 | compatible = "ethernet-phy-id0141.0e90", |
| 47 | "ethernet-phy-ieee802.3-c22"; |
| 48 | reg = <0>; |
Sai Pavan Boddu | e5e6f68 | 2017-03-06 18:17:19 +0530 | [diff] [blame] | 49 | device_type = "ethernet-phy"; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 50 | marvell,reg-init = <0x3 0x10 0xff00 0x1e>, |
| 51 | <0x3 0x11 0xfff0 0xa>; |
| 52 | }; |
| 53 | }; |
| 54 | |
| 55 | &i2c0 { |
| 56 | status = "okay"; |
Mark Brown | 6f752f7 | 2014-09-06 12:40:16 +0100 | [diff] [blame] | 57 | |
| 58 | isl9305: isl9305@68 { |
Arnaud Ebalard | b4770fe | 2015-02-16 15:58:43 -0800 | [diff] [blame] | 59 | compatible = "isil,isl9305"; |
Mark Brown | 6f752f7 | 2014-09-06 12:40:16 +0100 | [diff] [blame] | 60 | reg = <0x68>; |
| 61 | |
| 62 | regulators { |
| 63 | dcd1 { |
| 64 | regulator-name = "VDD_DSP"; |
| 65 | regulator-always-on; |
| 66 | }; |
| 67 | dcd2 { |
| 68 | regulator-name = "1P35V"; |
| 69 | regulator-always-on; |
| 70 | }; |
| 71 | ldo1 { |
| 72 | regulator-name = "VDD_ADJ"; |
| 73 | }; |
| 74 | ldo2 { |
| 75 | regulator-name = "VDD_GPIO"; |
| 76 | regulator-always-on; |
| 77 | }; |
| 78 | }; |
| 79 | }; |
Andreas Färber | 6726e3e | 2014-07-25 01:00:12 +0200 | [diff] [blame] | 80 | }; |
| 81 | |
| 82 | &sdhci1 { |
| 83 | status = "okay"; |
| 84 | }; |
| 85 | |
| 86 | &uart1 { |
| 87 | status = "okay"; |
| 88 | }; |