aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/arm/adapteva.txt7
-rw-r--r--Documentation/devicetree/bindings/arm/xilinx.txt8
-rw-r--r--Documentation/devicetree/bindings/vendor-prefixes.txt1
-rw-r--r--arch/arm/boot/dts/Makefile4
-rw-r--r--arch/arm/boot/dts/zynq-7000.dtsi66
-rw-r--r--arch/arm/boot/dts/zynq-parallella.dts64
-rw-r--r--arch/arm/boot/dts/zynq-zc702.dts4
7 files changed, 148 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/arm/adapteva.txt b/Documentation/devicetree/bindings/arm/adapteva.txt
new file mode 100644
index 000000000000..1d8af9e36065
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/adapteva.txt
@@ -0,0 +1,7 @@
1Adapteva Platforms Device Tree Bindings
2---------------------------------------
3
4Parallella board
5
6Required root node properties:
7 - compatible = "adapteva,parallella";
diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt
index 6f1ed830b4f7..1f7995357888 100644
--- a/Documentation/devicetree/bindings/arm/xilinx.txt
+++ b/Documentation/devicetree/bindings/arm/xilinx.txt
@@ -1,7 +1,7 @@
1Xilinx Zynq EP107 Emulation Platform board 1Xilinx Zynq Platforms Device Tree Bindings
2 2
3This board is an emulation platform for the Zynq product which is 3Boards with Zynq-7000 SOC based on an ARM Cortex A9 processor
4based on an ARM Cortex A9 processor. 4shall have the following properties.
5 5
6Required root node properties: 6Required root node properties:
7 - compatible = "xlnx,zynq-ep107"; 7 - compatible = "xlnx,zynq-7000";
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 8ad36468234b..4257f3f98c3d 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -6,6 +6,7 @@ using them to avoid name-space collisions.
6abilis Abilis Systems 6abilis Abilis Systems
7active-semi Active-Semi International Inc 7active-semi Active-Semi International Inc
8ad Avionic Design GmbH 8ad Avionic Design GmbH
9adapteva Adapteva, Inc.
9adi Analog Devices, Inc. 10adi Analog Devices, Inc.
10aeroflexgaisler Aeroflex Gaisler AB 11aeroflexgaisler Aeroflex Gaisler AB
11ak Asahi Kasei Corp. 12ak Asahi Kasei Corp.
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 56751bf0c8ed..0afe09a6bf51 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -458,7 +458,9 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \
458 wm8650-mid.dtb \ 458 wm8650-mid.dtb \
459 wm8750-apc8750.dtb \ 459 wm8750-apc8750.dtb \
460 wm8850-w70v2.dtb 460 wm8850-w70v2.dtb
461dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \ 461dtb-$(CONFIG_ARCH_ZYNQ) += \
462 zynq-parallella.dtb \
463 zynq-zc702.dtb \
462 zynq-zc706.dtb \ 464 zynq-zc706.dtb \
463 zynq-zed.dtb 465 zynq-zed.dtb
464dtb-$(CONFIG_MACH_ARMADA_370) += \ 466dtb-$(CONFIG_MACH_ARMADA_370) += \
diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index 366ca6434f54..6cc83d4c6c76 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -71,7 +71,31 @@
71 interrupts = <0 7 4>; 71 interrupts = <0 7 4>;
72 interrupt-parent = <&intc>; 72 interrupt-parent = <&intc>;
73 clocks = <&clkc 12>; 73 clocks = <&clkc 12>;
74 }; 74 };
75
76 can0: can@e0008000 {
77 compatible = "xlnx,zynq-can-1.0";
78 status = "disabled";
79 clocks = <&clkc 19>, <&clkc 36>;
80 clock-names = "can_clk", "pclk";
81 reg = <0xe0008000 0x1000>;
82 interrupts = <0 28 4>;
83 interrupt-parent = <&intc>;
84 tx-fifo-depth = <0x40>;
85 rx-fifo-depth = <0x40>;
86 };
87
88 can1: can@e0009000 {
89 compatible = "xlnx,zynq-can-1.0";
90 status = "disabled";
91 clocks = <&clkc 20>, <&clkc 37>;
92 clock-names = "can_clk", "pclk";
93 reg = <0xe0009000 0x1000>;
94 interrupts = <0 51 4>;
95 interrupt-parent = <&intc>;
96 tx-fifo-depth = <0x40>;
97 rx-fifo-depth = <0x40>;
98 };
75 99
76 gpio0: gpio@e000a000 { 100 gpio0: gpio@e000a000 {
77 compatible = "xlnx,zynq-gpio-1.0"; 101 compatible = "xlnx,zynq-gpio-1.0";
@@ -140,6 +164,30 @@
140 interrupts = <0 50 4>; 164 interrupts = <0 50 4>;
141 }; 165 };
142 166
167 spi0: spi@e0006000 {
168 compatible = "xlnx,zynq-spi-r1p6";
169 reg = <0xe0006000 0x1000>;
170 status = "disabled";
171 interrupt-parent = <&intc>;
172 interrupts = <0 26 4>;
173 clocks = <&clkc 25>, <&clkc 34>;
174 clock-names = "ref_clk", "pclk";
175 #address-cells = <1>;
176 #size-cells = <0>;
177 };
178
179 spi1: spi@e0007000 {
180 compatible = "xlnx,zynq-spi-r1p6";
181 reg = <0xe0007000 0x1000>;
182 status = "disabled";
183 interrupt-parent = <&intc>;
184 interrupts = <0 49 4>;
185 clocks = <&clkc 26>, <&clkc 35>;
186 clock-names = "ref_clk", "pclk";
187 #address-cells = <1>;
188 #size-cells = <0>;
189 };
190
143 gem0: ethernet@e000b000 { 191 gem0: ethernet@e000b000 {
144 compatible = "cdns,gem"; 192 compatible = "cdns,gem";
145 reg = <0xe000b000 0x4000>; 193 reg = <0xe000b000 0x4000>;
@@ -204,6 +252,22 @@
204 }; 252 };
205 }; 253 };
206 254
255 dmac_s: dmac@f8003000 {
256 compatible = "arm,pl330", "arm,primecell";
257 reg = <0xf8003000 0x1000>;
258 interrupt-parent = <&intc>;
259 interrupts = <0 13 4>,
260 <0 14 4>, <0 15 4>,
261 <0 16 4>, <0 17 4>,
262 <0 40 4>, <0 41 4>,
263 <0 42 4>, <0 43 4>;
264 #dma-cells = <1>;
265 #dma-channels = <8>;
266 #dma-requests = <4>;
267 clocks = <&clkc 27>;
268 clock-names = "apb_pclk";
269 };
270
207 devcfg: devcfg@f8007000 { 271 devcfg: devcfg@f8007000 {
208 compatible = "xlnx,zynq-devcfg-1.0"; 272 compatible = "xlnx,zynq-devcfg-1.0";
209 reg = <0xf8007000 0x100>; 273 reg = <0xf8007000 0x100>;
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};
diff --git a/arch/arm/boot/dts/zynq-zc702.dts b/arch/arm/boot/dts/zynq-zc702.dts
index 5e09cee33d42..835c3089c61c 100644
--- a/arch/arm/boot/dts/zynq-zc702.dts
+++ b/arch/arm/boot/dts/zynq-zc702.dts
@@ -29,6 +29,10 @@
29 29
30}; 30};
31 31
32&can0 {
33 status = "okay";
34};
35
32&gem0 { 36&gem0 {
33 status = "okay"; 37 status = "okay";
34 phy-mode = "rgmii"; 38 phy-mode = "rgmii";