From patchwork Fri Jan 3 10:11:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 3430951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1DC7A9F295 for ; Fri, 3 Jan 2014 10:26:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 062F520134 for ; Fri, 3 Jan 2014 10:26:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 68F342011D for ; Fri, 3 Jan 2014 10:26:51 +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 1Vz1mk-0000td-MZ; Fri, 03 Jan 2014 10:15:23 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1mH-0003bJ-3A; Fri, 03 Jan 2014 10:14:53 +0000 Received: from mail-ee0-f52.google.com ([74.125.83.52]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vz1k8-0003In-B6 for linux-arm-kernel@lists.infradead.org; Fri, 03 Jan 2014 10:12:43 +0000 Received: by mail-ee0-f52.google.com with SMTP id d17so6658348eek.11 for ; Fri, 03 Jan 2014 02:12:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references:content-type; bh=ZYiNMyuUHR5Y0dDCAPwEjwk8FFr3P2Y1BXTpCiJZFjE=; b=IlcDhPWgLSP8uR2Ga2clhI+duRC9yUHAiw1wRMTVEpQhujRBLudonpjZlwhJ9soGVp hwXw9jpJjS6j6aQzQBzQCCoIJrCWuVCjJ3OGNGd/8PX/hs3PBsZQ8V13FLdjGocOCS/8 RDLRn18l6icI4+/knj00G37ybAWIF7L1AQeBYXxkwD1PiVzACt0PYU+5whV0adfpfZFk EMY10F5w2/+UBS9ayx78cJUtuVHJR3LjEdWAJS7X+xA0oi7jwDoY+iP/7CJa30SmhPt8 1MsbZne2bwe5DIP700KTtSfu85iHJjIzjYhOfc6saDqe7BaZWIdA8KlCTvf3eRis15SS KvSw== X-Gm-Message-State: ALoCoQml445tMu8EesmjA/QosVIVNoanlkPp5kfDlEaeFELZUdeiiHsQpSaS7xlQP4jTI4A5w2HG X-Received: by 10.14.220.136 with SMTP id o8mr956929eep.97.1388743942208; Fri, 03 Jan 2014 02:12:22 -0800 (PST) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPSA id 44sm143631145eek.5.2014.01.03.02.12.20 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Fri, 03 Jan 2014 02:12:21 -0800 (PST) From: Michal Simek To: Michal Simek , u-boot@lists.denx.de, Joe Hershberger , linux-arm-kernel@lists.infradead.org, Albert Aribaud , Tom Rini Subject: [PATCH v1 24/24] doc: zynq: Add information on zynq u-boot Date: Fri, 3 Jan 2014 11:11:09 +0100 Message-Id: <245aa93cbcfe8106fea8107c7d362a966b3ef6ff.1388743861.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.8.2.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140103_051240_585133_1CA5C768 X-CRM114-Status: GOOD ( 12.76 ) X-Spam-Score: -1.9 (-) Cc: Jagannadha Sutradharudu Teki 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.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS, 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 From: Jagannadha Sutradharudu Teki Information on zynq u-boot about - mainline status - TODO Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- Changes in v1: - Update to the latest status doc/README.zynq | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 doc/README.zynq -- 1.8.2.3 diff --git a/doc/README.zynq b/doc/README.zynq new file mode 100644 index 0000000..c046df4 --- /dev/null +++ b/doc/README.zynq @@ -0,0 +1,76 @@ +# +# Xilinx ZYNQ U-Boot +# +# (C) Copyright 2013 Xilinx, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# + +1. About this + +This document describes the information about Xilinx Zynq U-Boot - +like supported boards, ML status and TODO list. + +2. Zynq boards + +Xilinx Zynq-7000 All Programmable SoCs enable extensive system level +differentiation, integration, and flexibility through hardware, software, +and I/O programmability. + +3. Building + + # Configure for microzed board + $ make zynq_config + Configuring for zynq board... + + # Building with zynq generic DTS file + $ make + + # Building with different DTS file placed in board/xilinx/dts/ + $ make DEVICE_TREE=zynq-XXX + +4. Bootmode + +Zynq has a facility to read the bootmode from the slcr bootmode register +once user is setting through jumpers on the board - see page no:1546 on [5] + +All possible bootmode values are defined in Table 6-2:Boot_Mode MIO Pins +on [5]. + +board_late_init() will read the bootmode values using slcr bootmode register +at runtime and assign the modeboot variable to specific bootmode string which +is intern used in autoboot. + +SLCR bootmode register Bit[3:0] values +#define ZYNQ_BM_NOR 0x02 +#define ZYNQ_BM_SD 0x05 +#define ZYNQ_BM_JTAG 0x0 + +"modeboot" variable can assign any of "norboot", "sdboot" or "jtagboot" +bootmode strings at runtime. + +5. Mainline status + +- Added basic board configurations support. +- Added zynq u-boot bsp code - arch/arm/cpu/armv7/zynq +- Added zynq boards names - zynq, zynq_dcc +- Added zynq drivers: + serial - drivers/serial/serial_zynq.c + net - drivers/net/zynq_gem.c + mmc - drivers/mmc/zynq_sdhci.c + spi- drivers/spi/zynq_spi.c + i2c - drivers/i2c/zynq_i2c.c +- Done proper cleanups on board configurations +- Added FDT support +- d-cache support for zynq_gem.c + +6. TODO + +- Add zynq qspi controller driver +- Add zynq nand controller driver + +[1] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC702-G.htm +[2] http://www.xilinx.com/products/boards-and-kits/EK-Z7-ZC706-G.htm +[3] http://zedboard.org/product/zedboard +[4] http://zedboard.org/product/microzed +[5] http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf