Received: by 10.223.185.116 with SMTP id b49csp860816wrg; Fri, 23 Feb 2018 07:58:20 -0800 (PST) X-Google-Smtp-Source: AH8x2267GHcu3/4Y39vzIKc5OZUssTuHCknV+QDtgGs6bKcHP+zQcdENb3lxd6FYROd029fURLU4 X-Received: by 2002:a17:902:6b48:: with SMTP id g8-v6mr2135521plt.151.1519401500522; Fri, 23 Feb 2018 07:58:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519401500; cv=none; d=google.com; s=arc-20160816; b=W1DwJK4LjqQVl1igwaoZqVGBuwOnXFec6T84jslb362gMupmC4db/K3h6T/knNjgyO TEvyk7pF099jEI3WNpfoTACbH9Slge0XyA2YP39qO72jQNBNEXOiNNGedtjRA2l7Dy5w KVgAoPOSgUU2cPnhyQEmR06afhxiuA7eapn2Fv7SZwv/yl8w+u2FrjOG7Ds5BwG3NO0m 0fZ2HsALBzirsQ6/xFFSC5iock6VDO9yJe67pickKue/zap+qUbQYcqdGvY6hhlwSwKB uZZIgKrRAbFFZXqxQtR6dsduXePOxmY4U7UZzTguwKusscXWUtQ6zLNWd9zn0e/LzfuD aqcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=9OuNLed6M2aS04V3M8CSIY1StrIyDHCGCdu5rwQAkWA=; b=HzjKopMLG20sTvZJbUzkC3Mw9ggRH4szTse5A485hVjOPdHDhtpPTwjjImHMbHCrDn OdHqgq0ijtSy8lQnCb4XU/dJ7g0sLFTVolCt5z+YMmEfs074b2AXafyC2knewUB4gbvA PFlVNAQG+CQ8w/xf1o5ZyMNJaA3p42jdPnvo3MgizFiWmp5Mjqu71Nqmwedki1eXwpbv O+WVMDy6DMFk26ouSm2a4OyQ5ByW21xstMC6M0Hpr7boE/ns1mg6cQIjawh9hTWTtIBf 1QvpO+nums3baYUpGGyyzQ2Nb2Cez+G2xVb5BZb992OqiDjs7BLTMxSRjSBPPj/ndhJ+ da+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=KcrF6ERx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u13-v6si1937518plq.823.2018.02.23.07.58.05; Fri, 23 Feb 2018 07:58:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=KcrF6ERx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbeBWPBK (ORCPT + 99 others); Fri, 23 Feb 2018 10:01:10 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:41655 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751641AbeBWPAb (ORCPT ); Fri, 23 Feb 2018 10:00:31 -0500 Received: by mail-wr0-f195.google.com with SMTP id f14so14380398wre.8 for ; Fri, 23 Feb 2018 07:00:30 -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=9OuNLed6M2aS04V3M8CSIY1StrIyDHCGCdu5rwQAkWA=; b=KcrF6ERxJlt8NxR++yTqXeVn8J3LPMcQVlH6yow38AKvFClIxXr34+6d6UpWy2qKFd wHBCNLU3IRVt82LykXgfJ1CJgXrXYOpD5aS8K5OLxWTOEjFH/WrCPzWUPFF7P3vvC2jv 7+95fGWLKzx2PhGwkSSDj4ezt3adGBc/SrWMfyGDvc3eghZ4v/2psquQmqITA3E4OWVC RZne55Abt039QaxCiYPlwIrfjz8n9FJw1eHidTUi9zxJLqxP3cdJNPwztfYZ9MtSZE/f Qw/sslvh5tEj3Ip3pk48x3mMrPi/wBbRu50o/DaFOalKnDbSt48zzyBrA5n6KLzAlJNN 8jXQ== 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=9OuNLed6M2aS04V3M8CSIY1StrIyDHCGCdu5rwQAkWA=; b=DRYOby4dkkWGUBfg4h5I5U6CW9265w+VrM001Kl+lk6ym422WfhxNdnAFTAlJ1hkJ+ LXINGfWEGqFdwPQbwEKMMLGRnwiWxzZzd9p3TWSo7QZIp9BoR1TdToTqvgXK6vD43qcq WD6I13CMbUpL3nnCYVoWDv5S2nBlmjNlfV/Oc7rLOI//+EeGQXrvzvIat4dv4roqaF8u e0rXIzvnPNh1HDW0UZWrHsgiS4tBuadiFUm8zJ7kArDiYAvGzg+8qPQn3uabCU0Ou/6S jArcmsfmE9l7O6c70KYXewOdcuI2d31AcE5Jla10MAymG6JiJVuHwKwMjaTfqWqkVfbQ gfmw== X-Gm-Message-State: APf1xPCelFbzHpPVqFXJj2uoWY16wYUHEcBYddPx4VCdORPZ/ALqyOYD 3mkdbnie1Uu5YXojlWNy7K8Pig== X-Received: by 10.223.157.205 with SMTP id q13mr1899019wre.266.1519398029968; Fri, 23 Feb 2018 07:00:29 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j42sm4053047wre.55.2018.02.23.07.00.29 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:00:29 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Cc: monstr@monstr.eu, Steffen Trumtrar , linux-kernel@vger.kernel.org, Peter Crosthwaite , Rob Herring , Rob Herring , Mark Rutland , Josh Cartwright , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/5] arm: zynq: Add support for Xilinx zc770 xm011 dc2 board Date: Fri, 23 Feb 2018 16:00:21 +0100 Message-Id: <9156ffe65672c66a7407fe0c71b3c51c5be9c48b.1519398009.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- Changes in v2: - Record compatible string to xilinx.txt Documentation/devicetree/bindings/arm/xilinx.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm011.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm011.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 019e69037d42..80139a7cfcdc 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -13,6 +13,7 @@ Additional compatible strings: - Xilinx internal board zc770 with different FMC cards "xlnx,zynq-zc770-xm010" + "xlnx,zynq-zc770-xm011" --------------------------------------------------------------- diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index be9ffae2a1ec..801a46a88e93 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1068,6 +1068,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>; +}; -- 1.9.1