From patchwork Mon Jun 10 17:10:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 2698491 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id DBF483FD4E for ; Mon, 10 Jun 2013 17:11:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Um5cj-0007Xu-22; Mon, 10 Jun 2013 17:11:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Um5cO-00088d-Ku; Mon, 10 Jun 2013 17:10:56 +0000 Received: from mail-pd0-f176.google.com ([209.85.192.176]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Um5cL-00087w-A5 for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2013 17:10:54 +0000 Received: by mail-pd0-f176.google.com with SMTP id t12so2877618pdi.35 for ; Mon, 10 Jun 2013 10:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer; bh=AKixpAyjBh47xQb/VAJbMV1Q7R5/KV4UrXIJ/mlL8ss=; b=tJaeOkWYFtLA+GhrVuqSk/byIocFwMhCGUZ11nXyyuVsY74d+xriGg2LKOEKmUodGF lE1EnseIoZyMWLq0bhm4KfVjUf0vGMoRaaALHjxG+ec6am8Vavaj1ZoChITwjezdu94j S2qCalRk7k4eDfvGFcHKchkgJbIg5PTQ2e4Y/Q5e+4qyOwzLquecXKJCA2f3PKgpdNBC RH5Z5lwl6bj4FdSg+qpmOUkGSd3AOL7nejPEpukfm4SwnOQrKaorHukkzCDUOfJVJT6s rkEcJIE1GuElAaKQojCpCHh6b+9x7behTeYf07xvWFgQUUzTG7IMOx7s6OQiNl//ty9s UXNg== X-Received: by 10.68.164.196 with SMTP id ys4mr10767451pbb.170.1370884228189; Mon, 10 Jun 2013 10:10:28 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id cq1sm11095701pbc.13.2013.06.10.10.10.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 10:10:27 -0700 (PDT) From: Soren Brinkmann To: Michal Simek , Russell King Subject: [PATCH] arm: dt: zynq: Add support for the zc706 platform Date: Mon, 10 Jun 2013 10:10:04 -0700 Message-Id: <1370884204-2297-1-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130610_131053_444585_13A3792D X-CRM114-Status: GOOD ( 12.66 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (soeren.brinkmann[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.192.176 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Olof Johansson , Soren Brinkmann , Shawn Guo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add a DT fragment for the zc706 Zynq platform. Also, adding a corresponding target to the Makefile and adding an appropriate compatibility string in the BSP. Signed-off-by: Soren Brinkmann --- arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/zynq-zc706.dts | 31 +++++++++++++++++++++++++++++++ arch/arm/mach-zynq/common.c | 1 + 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/zynq-zc706.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index b9f7121..2aecf7e 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -206,7 +206,8 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \ wm8505-ref.dtb \ wm8650-mid.dtb \ wm8850-w70v2.dtb -dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb +dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \ + zynq-zc706.dtb targets += dtbs targets += $(dtb-y) diff --git a/arch/arm/boot/dts/zynq-zc706.dts b/arch/arm/boot/dts/zynq-zc706.dts new file mode 100644 index 0000000..a8a1d7d --- /dev/null +++ b/arch/arm/boot/dts/zynq-zc706.dts @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2011 Xilinx + * Copyright (C) 2012 National Instruments Corp. + * Copyright (C) 2013 Xilinx + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ +/dts-v1/; +/include/ "zynq-7000.dtsi" + +/ { + model = "Zynq ZC706 Development Board"; + compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000"; + + memory { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + chosen { + bootargs = "console=ttyPS1,115200 earlyprintk"; + }; + +}; diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 5bfe703..221694b 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c @@ -99,6 +99,7 @@ static void zynq_system_reset(char mode, const char *cmd) static const char * const zynq_dt_match[] = { "xlnx,zynq-zc702", + "xlnx,zynq-zc706", "xlnx,zynq-7000", NULL };