From patchwork Thu Jun 13 16:37:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 2717911 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 3E8C9C0AB1 for ; Thu, 13 Jun 2013 16:41:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6424B20473 for ; Thu, 13 Jun 2013 16:41:30 +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 673F12046D for ; Thu, 13 Jun 2013 16:41:29 +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 1UnAYJ-0004MW-CX; Thu, 13 Jun 2013 16:39:12 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnAXt-0000tL-0s; Thu, 13 Jun 2013 16:38:45 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UnAXL-0000pa-Vi for linux-arm-kernel@lists.infradead.org; Thu, 13 Jun 2013 16:38:13 +0000 Received: by mail-pa0-f45.google.com with SMTP id bi5so8238411pad.32 for ; Thu, 13 Jun 2013 09:37:50 -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; bh=ZcxFDPjiocSefzVmBI+70wplX5IMOa8aRhnWO6YxL10=; b=qByb6IEDf03jaGdKjYB03QW4Z+Jtv25yD9aIKTJyXjPLTGRgmaqDWFURazZ2TU3ft2 KVmfCrlelqVdIRAgan0ZO9qEbcQUdBPStRjvTLKKhyzxzE6MqCe7hEk/TBh1TrYoxFla eKh9ZNLnvlf62ZmyYMRsVhgH6DpcybI5foEr2lgrAO6y+ShClUoGxjtHWzqqClgeRNNf SO+i4BY4o8RW9iwahwSkraM062o2QbzcI2Zt8iiN2Ftx7JYpvI//J25QtSmdmk/NuADO D/gz9bJB8pZGlAmsfK68bvJzDu3qLBo9r+n6HW7fOhBWdBY+6r+GISW0JpqS8NyhsK2J 1cAQ== X-Received: by 10.66.0.97 with SMTP id 1mr3568123pad.201.1371141470483; Thu, 13 Jun 2013 09:37:50 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id tq8sm23967234pbc.30.2013.06.13.09.37.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 13 Jun 2013 09:37:49 -0700 (PDT) From: Soren Brinkmann To: Michal Simek , Russell King , Steffen Trumtrar Subject: [PATCH v3 4/4] arm: dt: zynq: Add support for the zed platform Date: Thu, 13 Jun 2013 09:37:18 -0700 Message-Id: <1371141438-16553-5-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.3 In-Reply-To: <1371141438-16553-1-git-send-email-soren.brinkmann@xilinx.com> References: <1371141438-16553-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130613_123812_153819_CFF3494B X-CRM114-Status: GOOD ( 12.97 ) 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: , MIME-Version: 1.0 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.5 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 --- v3: - adding the 'status' override for the UART node - changing the console device to ttyPS0 - dropped 'xlnx,zynq-zed' compat string arch/arm/boot/dts/Makefile | 3 ++- arch/arm/boot/dts/zynq-zed.dts | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 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 2823027..1d4ff16 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -209,7 +209,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..d6acf2b --- /dev/null +++ b/arch/arm/boot/dts/zynq-zed.dts @@ -0,0 +1,35 @@ +/* + * 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-7000"; + + memory { + device_type = "memory"; + reg = <0 0x20000000>; + }; + + chosen { + bootargs = "console=ttyPS0,115200 earlyprintk"; + }; + +}; + +&uart1 { + status = "okay"; +};