Received: by 10.223.185.116 with SMTP id b49csp799527wrg; Fri, 23 Feb 2018 07:02:17 -0800 (PST) X-Google-Smtp-Source: AH8x227F73ZlOgUH5fCElRkGWBaauWIPlsA6DOw0sj/tDRayBIqcm40Lnf3JZqnPpLpFdURRTOBj X-Received: by 10.101.70.203 with SMTP id n11mr1607571pgr.377.1519398136916; Fri, 23 Feb 2018 07:02:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519398136; cv=none; d=google.com; s=arc-20160816; b=T1DWv1sqEReoP8NOHASPGo5a52Sqe9j/o7Nks3HiZ83BtudfWVsPGVzcGlagNOKNVX eJuEiAbHtGydtnnZ1RSrJ8/Lzq3ix01jbv8ukXrnuAF/h7mGQ0Z5lVHlyrbbY6XuTa2Y HkaldZ2YKTwAx2UUu53jiJEt+ouU0CJioFEKp+OhXdxDWtyxMugIzYsJVnqaTBKdyQMN 7F5zeVFinKkeZG53vleJH/1Aiop5IQ+S9C9TS9krlOMOKzVV5vDGiLelBMmO33JUJtBn SGqn+UzJEfCXH9SNtWZSVqMXHX7Mhxcmtc+b6WpYKk904IIhHQzo2h7mW18sQmc3RMzh JOdw== 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=vRA9zWrjXXKuzlIyXeMRFRkLvT4QICWxUtNDhDpi2G4=; b=YmlUZXVFPh1sUw3QOqsIBYx6KkpUTHgcETWwPtYKXznQWk3CvwZnMygx0ZtFdCzsfe /suIsi+KmP8hG/doYQwjsP08R+dERLYuR6I9FXEDLinus1ea1O4p5YLx2UD319Xw2Eqo 70enxaJv/ddx1mjzlbJZKfirTzYNey1klmKxph5jMbPrhead7p5sKnScZRsisvNUAPMF XGr/XtlTC4WWi92mbVFkQ12zv0Po2Fo30ljJm7BimvCuRH5tNWJMsSvPam//cGB8A3X1 lXKuim/nLyesLc8V0Y5ArMfu0zzs21WaNUdh4rRGqIaqlFeEoYUzXc38IWpKoBysgpVO YtUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=mcKPQMyc; 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 j12si1620371pgt.173.2018.02.23.07.01.44; Fri, 23 Feb 2018 07:02:16 -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=mcKPQMyc; 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 S1751799AbeBWPAg (ORCPT + 99 others); Fri, 23 Feb 2018 10:00:36 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:41657 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751754AbeBWPAd (ORCPT ); Fri, 23 Feb 2018 10:00:33 -0500 Received: by mail-wr0-f193.google.com with SMTP id f14so14380486wre.8 for ; Fri, 23 Feb 2018 07:00:32 -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=vRA9zWrjXXKuzlIyXeMRFRkLvT4QICWxUtNDhDpi2G4=; b=mcKPQMycP0vDpscDksXiyQp80qYbILRwDDJorFiE6/Mn7W6O0IG0eJ7umzei4xDAMR M1pmnMtzQA7dAqZO2ny1UE2+xmIyiCBv4zvaapycUoM/FKhIyWK2QboPFi1VdwqRSoEn UPt3lvFPctJimAjDD1NEsjfj7zcIT5cvjGgtVxX1VwjDihy7nZ3OZV+30p2hpBTMNZSW RITM1qNpgkJSsLNK7Ki/rz3lKu7i7yIEqdKYBueiSnVGM3DXWwF3105NuhlhyeUR70d/ 0gCjYXDrUpWlRcN0QtWymkZP6IDxhWCCTe4/A5ILQG/48GAiSy3hAogq/DMFfWElsZqv f1HA== 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=vRA9zWrjXXKuzlIyXeMRFRkLvT4QICWxUtNDhDpi2G4=; b=dYubb3VdSPO9Qzxr7nzTu5wdiWCK8MpNHi6AloLpms8EbydJrq4C8zkqw97S8JBsxz mOHvBRZOG2QmiGrILHmsAY1aJGV69wBc3Kkmyjblp4AZWfuPz1Q1lovPCL0yO9u2GSl5 LUp1F6Yb8CIG8vANeFNzOxoiJYcaa1PQYBrV2LOUV17oV+oQVJKgdw2Hnm+BhYbYyESA bCGC2BstCicoQMB5L6ZkeL1KZ1PqnXxJtsYY/65GOWxfaLifYAlUrLc2cCiFBnoj1Tuf WZW0E4U7AcITu0lKnQTBtfzcAKaYotrsGBGory2DP+f4N1sMfwngiBDu2kyvQY6qCtC7 s6QQ== X-Gm-Message-State: APf1xPDfK85BU+trNTonK71lOJROBVazVWy+eAbNb7z6AB3ntwakgGvK mogJOnkJMa1uFCji1tTqo89MBQ== X-Received: by 10.223.156.205 with SMTP id h13mr2061594wre.123.1519398031915; Fri, 23 Feb 2018 07:00:31 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id 78sm2042534wmb.25.2018.02.23.07.00.30 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:00:31 -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 4/5] arm: zynq: Add support for Xilinx zc770 xm012 dc3 board Date: Fri, 23 Feb 2018 16:00:22 +0100 Message-Id: <05bf43a5ecf7d31af17d6e3d9b89ae75f112c9f5.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, 2x i2c, nor flash, spi and uart. 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-xm012.dts | 64 ++++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm012.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 80139a7cfcdc..745c898f2f7f 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -14,6 +14,7 @@ Additional compatible strings: - Xilinx internal board zc770 with different FMC cards "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" + "xlnx,zynq-zc770-xm012" --------------------------------------------------------------- diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 801a46a88e93..2c74b935ad1c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1069,6 +1069,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc706.dtb \ zynq-zc770-xm010.dtb \ zynq-zc770-xm011.dtb \ + zynq-zc770-xm012.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \ diff --git a/arch/arm/boot/dts/zynq-zc770-xm012.dts b/arch/arm/boot/dts/zynq-zc770-xm012.dts new file mode 100644 index 000000000000..c3169d63600d --- /dev/null +++ b/arch/arm/boot/dts/zynq-zc770-xm012.dts @@ -0,0 +1,64 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM012 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; + serial0 = &uart1; + spi0 = &spi1; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; + +&can1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + + eeprom0: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + eeprom1: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; +}; + +&spi1 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; +}; + +&uart1 { + status = "okay"; +}; -- 1.9.1