From patchwork Wed Jun 12 16:41:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 2711061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8A608C1459 for ; Wed, 12 Jun 2013 16:44:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8ACDB20261 for ; Wed, 12 Jun 2013 16:44:25 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 08CBA2026A for ; Wed, 12 Jun 2013 16:44:24 +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 1Umo8C-00035A-KC; Wed, 12 Jun 2013 16:42:46 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Umo7u-00036r-EF; Wed, 12 Jun 2013 16:42:26 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Umo7W-00033I-FO for linux-arm-kernel@lists.infradead.org; Wed, 12 Jun 2013 16:42:03 +0000 Received: by mail-pd0-f174.google.com with SMTP id 10so9220182pdc.19 for ; Wed, 12 Jun 2013 09:41:41 -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:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=DkbvRqNrMMO8wUqW//eHS3Zux1PGlvkFcZHCStBjCVc=; b=eySyJ9UWJ6c0UhmgAZ8uUVZTkIF1/fpFpg4SyOXoZgU0K5l60GX9AaVqquirwIvcn5 boamxdj3k213buFJe335YRBGRCqtDL6Md/XWmKIPmVAsHhflBxsqTiGqnMd/ZVlnbDKE g8Rd3KyzLJNcUy6kXGEX1ZiKSzUO1UsBzxr/51SEWjtDFDZ7WymbU69IIrhlef0SJ5cl eCqPJRQH6Wv4pgzitEVVMY2J1x26HVLOiHDYERO0m/cnRe/l0B3o4y9SCqLeIed8JyaC FSYfm6woH4Wx6nR5Wz/10lOdj0/UM4NyPSOkWhbyYCG/5FeJIH03f/Fhvzg6Hfhcp2yj VjnA== X-Received: by 10.68.247.101 with SMTP id yd5mr20749776pbc.57.1371055300859; Wed, 12 Jun 2013 09:41:40 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id tb7sm19742354pbc.14.2013.06.12.09.41.39 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 12 Jun 2013 09:41:39 -0700 (PDT) From: Soren Brinkmann To: Michal Simek , Russell King Subject: [PATCH v2 3/3] arm: dt: zynq: Add support for the zed platform Date: Wed, 12 Jun 2013 09:41:08 -0700 Message-Id: <1371055268-32337-4-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.3 In-Reply-To: <1371055268-32337-1-git-send-email-soren.brinkmann@xilinx.com> References: <1371055268-32337-1-git-send-email-soren.brinkmann@xilinx.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130612_124202_636370_0B5142A5 X-CRM114-Status: GOOD ( 13.43 ) X-Spam-Score: -1.9 (-) Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Dinh Nguyen , Olof Johansson , Shawn Guo , Soren Brinkmann 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a DT fragment for the Zed Zynq platform and a corresponding target to the Makefile Signed-off-by: Soren Brinkmann --- I used the 'xlnx,...' compat strings since it seems this is what is used in the Xilinx and Digilent vendor trees. Sören arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/zynq-zed.dts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/zynq-zed.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2aecf7e..d34af4c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -207,7 +207,8 @@ dtb-$(CONFIG_ARCH_VT8500) += vt8500-bv07.dtb \ wm8650-mid.dtb \ wm8850-w70v2.dtb dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \ - zynq-zc706.dtb + zynq-zc706.dtb \ + zynq-zed.dtb targets += dtbs targets += $(dtb-y) diff --git a/arch/arm/boot/dts/zynq-zed.dts b/arch/arm/boot/dts/zynq-zed.dts new file mode 100644 index 0000000..72bb348 --- /dev/null +++ b/arch/arm/boot/dts/zynq-zed.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 Zed Development Board"; + compatible = "xlnx,zynq-zed", "xlnx,zynq-7000"; + + memory { + device_type = "memory"; + reg = <0 0x20000000>; + }; + + chosen { + bootargs = "console=ttyPS1,115200 earlyprintk"; + }; + +};