From patchwork Wed Jan 17 14:41:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 10169397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 135A1603B5 for ; Wed, 17 Jan 2018 14:42:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 019352684F for ; Wed, 17 Jan 2018 14:42:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E99D126E3C; Wed, 17 Jan 2018 14:42:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5F7832684F for ; Wed, 17 Jan 2018 14:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5O2oYK1pU70aokA/ip9B1MVKOmfiF1q+PM5jdDz1urI=; b=TCqdA0h7gzuGgpnhRf9rTG4aY/ REkn782ny44wC0a7MAEEMFTWhxhvbNOphRLwkhpBuO5DGA7BoLwfYXGeFyD6IB7CaKNuykH39XpCy 4XXtnvEcoAgEPB68ZZfwbA5KhCIVkahqOdIjFxeLhhyNyMp4UEBIqpZZ8x3kK/BsmklYbMDfjoYr2 5R3pd+Hjt/N3POgq2gbj4n12jVWHQ59nurb3FEh1SYE+gtiim4tD8sCekZ949//d63D6Z0tldkEMF AEkiJ8L38X3LOgi1yZvllGhZn34KDWqq5rhG8hryMzwLQ1zh1Q2nlG5y2jawTMzA9zADPNQnQUOcR zFi2Lqug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebouv-0003wd-FZ; Wed, 17 Jan 2018 14:42:17 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebouB-0003JS-RJ for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 14:41:44 +0000 Received: by mail-wm0-x241.google.com with SMTP id i186so15625385wmi.4 for ; Wed, 17 Jan 2018 06:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=VUoySpEd6jg6OailtNYw1AjqZrGXJi+0tR9j/QmcYuc=; b=nGltEEsZKUr3RhUqSnCaYNSOJGC2MSuWSqh/Bxe6qRGCncSXkaVXL1ttX3UClJQAta Z8951owlQXiC2Vv+pZPaZZhVRFvYT03x8wqq52Z9yKNJOzPKM3M+1j9GjOZaybKNziuH YnlczdbzSc5BM8PxDR7f802giHYfPNOzHm9eK2V1pgNAt5NduObqmPr+Ank14kWnYe9T tAyKw66BbojVIVUVs37yiJ2jUwUti2xiz0RkWfypCbrSNiKg0XyNXScsugLcj22zowQU HDRLXYOKOHJ+lLasASu2hcLERMF7OmMEXLENvkcOCG7TwDTglgL9Xh/c3bgCyYeiJq0V P2yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=VUoySpEd6jg6OailtNYw1AjqZrGXJi+0tR9j/QmcYuc=; b=SsNxkBA/gWl4ZXhBCPyNqD1lxYksp6my5xVtQKDuGjR7Y+DcMrc52ByQRknWGq4gM0 A6rxTt4A7ckRowmB5q7ROqZjGR4wC2+xGn5UE39OxwPkglaZGg6gCli7IXN9blMbWnGt 8H5pbT3p43lj7LTIrgZJsRxyyfNSAnu9TLZ7UlZhSDZajm9yBDP5f9RsrQl+UV3TqRE0 b9ftcyeHEycnX33pPxk4bYb/72Xd7Sdrnew9XiQWMv3Jrfad2OJ+L67l/Qw6cLtt0Ekt dTU9CXLDgaT3h+SA8I+6O4qmluhE3NQFk/A4K3iQ4iDsdQDcLxxJwaatt23Q75Q/SdbO 0bQQ== X-Gm-Message-State: AKwxytc/gAy78F7pdJQokKnEp2ZRN3lQTE4N4b0Osr4MTmBuBI15JEc3 v5mJuQaB/TOX7VNknodO8fCJUMfZ X-Google-Smtp-Source: ACJfBouftUEMIfzTtedxZqIWvP6X+/+/0MYH57QcAK3bA66yBGh5TutIDWwyuVjqtphAp0tml0xZRA== X-Received: by 10.28.18.78 with SMTP id 75mr2481899wms.58.1516200080012; Wed, 17 Jan 2018 06:41:20 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q7sm4788744wrf.31.2018.01.17.06.41.19 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 17 Jan 2018 06:41:19 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Subject: [PATCH 3/5] arm: zynq: Add support for Xilinx zc770 xm011 dc2 board Date: Wed, 17 Jan 2018 15:41:11 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Josh Cartwright , Peter Crosthwaite , monstr@monstr.eu, linux-kernel@vger.kernel.org, Rob Herring , Rob Herring , Russell King , Steffen Trumtrar , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP zc770 is based board which is extended by FMC/DC cards for SoC validation. FMCs/DCs are supposed to cover all SoC configurations. FMC/DC contains can, i2c, nand uart, spi and usb. Signed-off-by: Michal Simek --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm011.dts | 64 ++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm011.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index fa62546ebfb3..7ed36eef2de0 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1042,6 +1042,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc702.dtb \ zynq-zc706.dtb \ zynq-zc770-xm010.dtb \ + zynq-zc770-xm011.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \ diff --git a/arch/arm/boot/dts/zynq-zc770-xm011.dts b/arch/arm/boot/dts/zynq-zc770-xm011.dts new file mode 100644 index 000000000000..b78883cee96a --- /dev/null +++ b/arch/arm/boot/dts/zynq-zc770-xm011.dts @@ -0,0 +1,64 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM013 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + i2c0 = &i2c1; + serial0 = &uart1; + spi0 = &spi0; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + usb_phy1: phy1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&can0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + eeprom: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&spi0 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; +}; + +&uart1 { + status = "okay"; +}; + +&usb1 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy1>; +};