aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2014-07-24 19:00:12 -0400
committerMichal Simek <michal.simek@xilinx.com>2014-07-25 03:45:49 -0400
commit6726e3edf88337e30d3cbeaecce75919b4bf8f92 (patch)
tree3135d8626facd8db1f56726c01143c97e92cf8b0
parent5bc20d79409a2d20cf9018e0562c8821a9f8ea7e (diff)
ARM: dts: zynq: Add Parallella device tree
This allows to boot the Adapteva Parallella board to serial console. Cc: Andreas Olofsson <andreas@adapteva.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/arm/boot/dts/Makefile4
-rw-r--r--arch/arm/boot/dts/zynq-parallella.dts64
2 files changed, 67 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index adb5ed9e269e..976720f379e4 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -419,7 +419,9 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \
419 wm8650-mid.dtb \ 419 wm8650-mid.dtb \
420 wm8750-apc8750.dtb \ 420 wm8750-apc8750.dtb \
421 wm8850-w70v2.dtb 421 wm8850-w70v2.dtb
422dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \ 422dtb-$(CONFIG_ARCH_ZYNQ) += \
423 zynq-parallella.dtb \
424 zynq-zc702.dtb \
423 zynq-zc706.dtb \ 425 zynq-zc706.dtb \
424 zynq-zed.dtb 426 zynq-zed.dtb
425dtb-$(CONFIG_MACH_ARMADA_370) += \ 427dtb-$(CONFIG_MACH_ARMADA_370) += \
diff --git a/arch/arm/boot/dts/zynq-parallella.dts b/arch/arm/boot/dts/zynq-parallella.dts
new file mode 100644
index 000000000000..41afd9da6876
--- /dev/null
+++ b/arch/arm/boot/dts/zynq-parallella.dts
@@ -0,0 +1,64 @@
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
26 memory {
27 device_type = "memory";
28 reg = <0 0x40000000>;
29 };
30
31 chosen {
32 bootargs = "console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
33 linux,stdout-path = "/amba/serial@e0001000";
34 };
35};
36
37&gem0 {
38 status = "okay";
39 phy-mode = "rgmii-id";
40 phy-handle = <&ethernet_phy>;
41 #address-cells = <1>;
42 #size-cells = <0>;
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>;
49 marvell,reg-init = <0x3 0x10 0xff00 0x1e>,
50 <0x3 0x11 0xfff0 0xa>;
51 };
52};
53
54&i2c0 {
55 status = "okay";
56};
57
58&sdhci1 {
59 status = "okay";
60};
61
62&uart1 {
63 status = "okay";
64};