From patchwork Wed Jan 17 14:41:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 10169401 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 1A1B2603B5 for ; Wed, 17 Jan 2018 14:42:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 081D12684F for ; Wed, 17 Jan 2018 14:42:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F07B126E3C; Wed, 17 Jan 2018 14:42:32 +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 6FD392684F for ; Wed, 17 Jan 2018 14:42:32 +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=9l/aKLpnfie0nzFs4NHIalBCKrFkpVJS9H1vAnva7po=; b=h13yNwrOVIpUAafeW0z0e7wIHv PK//nP7o2qqTelhc5hlxOgprIhpgPIIQU1n8NeSys6bZ05Xwjp0FZMNEtTAsHCNwUUtMHWdxHvdE0 dX47QOkTWmd86pHoV86EtT/5h3GJNJt09cI0v3R/gyPdS9PyOGmKoANHuisqyxOrkeF8HxUAI0AvA NoETF1oyWVfxOd7zZHeIA0UoaQq23/JjYaew7th2LK0Hu9H+PUQRC+LzaWr+edNtAjCMjpOxae1fA KppYzLZppMpn5VG4Z66KimFsfr/psSgkKDLDNrThmqPpybSpQF2FjCU4gZLmQ24Qv5bY9LEK0lbTZ tuXRxD4A==; 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 1ebov8-00049y-A3; Wed, 17 Jan 2018 14:42:30 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebouM-0003JW-GS for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 14:41:44 +0000 Received: by mail-wr0-x243.google.com with SMTP id f11so8618864wre.4 for ; Wed, 17 Jan 2018 06:41:23 -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=LZ27Zm+aMQL0OJErbfgNL5N0ZbLF4KWdYMtUy/BOnAM=; b=HKGCQR2crE41LknjX/H3bIhVxcNPCSCTLUwIBgBxZhjjPzibRK8aBKONFdlEwHjR67 W1BIrLlPpZtvPqjJWUZjzwc0cePpuKD7iOr2231yOwVZtXeRxoOu9I0uyAotC03HGhAx /caql20lZ6Qqny1nFWlpZunZsnq2FH5U1Y3KYjxtXwSOeIHaxsBjHUoDhZ9d01B6A9TJ 4RRE/G51zwBoUQAxUmpVyLF1U6qLLZ9bo6W0/fU8a+baHewH561WlZ7A3ADTjvXlC0Ib y53qYJDBZO/CXMqyz9PquODMYyhsL8mjjYGXvLimb1TxGPzudN54HFzJjK33hTkzRqPA HBMw== 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=LZ27Zm+aMQL0OJErbfgNL5N0ZbLF4KWdYMtUy/BOnAM=; b=MUiBXgyyYSyO5Jz7yL7J5d9PLmeiZ+aAE+AK2YeCypetpMn3eyDyrAKOjchiku4jfY Pos8dYH0yRYfcyMKhhqKpNxl4UxgMFIjmTpstqtzPQgortDarxv4jmqIjNnOz/t9kZmh wldFUzcpWTM4sDBm0U4xTy7wnaZWLAUXhYULZNj+CVn0y/oeU/JLkbqWI3SkIyMQPV9B zBygIFd4F0harZ01QCMbzPN9xqb4RHwoJYYdFOvHIe9TnNIJpt1r0uEI890wNGK3v2yi t1+Arp+G6dyPB8m/QI78xro9ToOPO+5ST5SIrBmJoCtk2akjv1WcTPfXjBWeMGdqzPhn VwCg== X-Gm-Message-State: AKwxytfcWMkbhx06pHmWKcwJUCB4wuR5npoehVqkY6tJxHAEPnAEP+/k ROPNZwGPgnGjD/5y5waw1w236w== X-Google-Smtp-Source: ACJfBot33icgJX2kO++Vyzng7rLtTLKCYN9TDzxBKKhMBCK4YQ3RJXxv99q3x82EfjsafJ7Nvg/2Pw== X-Received: by 10.223.192.134 with SMTP id d6mr2962452wrf.206.1516200082187; Wed, 17 Jan 2018 06:41:22 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id o16sm4199832wmi.29.2018.01.17.06.41.20 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 17 Jan 2018 06:41:21 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Subject: [PATCH 4/5] arm: zynq: Add support for Xilinx zc770 xm012 dc3 board Date: Wed, 17 Jan 2018 15:41:12 +0100 Message-Id: <9843c1a43e6e5c4d96de37506fd4d99217c7150c.1516200065.git.michal.simek@xilinx.com> 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, 2x i2c, nor flash, spi and uart. Signed-off-by: Michal Simek --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm012.dts | 64 ++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm012.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7ed36eef2de0..6bd4b9a29511 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1043,6 +1043,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"; +};