Received: by 10.223.185.116 with SMTP id b49csp803394wrg; Fri, 23 Feb 2018 07:04:52 -0800 (PST) X-Google-Smtp-Source: AH8x227lez9ppJE0Yc7MzOhKvZax2jSwlHIcyPGsX2HMSBctzt68b48udVjiuTzkh7lD3Zm9UCfx X-Received: by 10.101.97.3 with SMTP id z3mr1717698pgu.44.1519398292161; Fri, 23 Feb 2018 07:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519398292; cv=none; d=google.com; s=arc-20160816; b=xVT3M5g2W0rQ/tR5dwTu+sTSw7IG0PxlAObpvCeE1AuSBExypbgiZsuk9uD1gg6W84 pUys/K34/GdcbvuQiK8hN1s0rXihVjF0BIc+6rBkLc1gxnwn+f07eEXh+eyKxLu+p6gs rpPCCnXRDKYh/6ipe6jEFeRFPwLkFRzZrDLGfh4igPhyRhLQrRdkIsd7XXlwaOVePwL5 GOceCZtSEs7y/P2DGdcojlJvqx/ytUXISjaPv9O70Rxkfq5NK9Ts2uyzpyG5VNyLr5Zl NZ6k2XtQ3SZe/yQLqz7SppD9FocUo3ppSD1mljg+05qG5OMIDRWfRsinqt8NnKJqTe8d D5JQ== 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=qD0X8dL41BCEYZiwWDKFr7sbwy9JEl9JOC9/1arZY5s=; b=OkcP4s6x+dj4IiDJzNZ9M5Ua37DT8P+A37pSfGfslg0KVqlO5AXEGUpGYnLeFpVfqx oeRny39Qc7ovwNDOrJnJS0jSb/lEU3FbabQAiMBUvOuepBlJik9bnAX/cLQUl1SbAbQk zLcXqHHVMuwpnlO0NPRvzmWltVcQQ799lTyVEAs+biNMZkJEVtLAKuof634TnpB52pl7 D6oYZbs/dHYKlI2m5gngVWig5bK1lLaNhAf+UzNXO9zqm0DUcW7ExCbkJG7AWqi8sCon yvDjT4YY3wodQIF8GcoLFGWH3my6VdaAZbENnpTw7nqRZ9BFQH2VD+8w7F1AvCR9j3Dv M0SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=B03Fns5F; 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 i14si1608522pgr.733.2018.02.23.07.04.22; Fri, 23 Feb 2018 07:04:52 -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=B03Fns5F; 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 S1751828AbeBWPAw (ORCPT + 99 others); Fri, 23 Feb 2018 10:00:52 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53155 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751762AbeBWPAf (ORCPT ); Fri, 23 Feb 2018 10:00:35 -0500 Received: by mail-wm0-f65.google.com with SMTP id t3so5187792wmc.2 for ; Fri, 23 Feb 2018 07:00:34 -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=qD0X8dL41BCEYZiwWDKFr7sbwy9JEl9JOC9/1arZY5s=; b=B03Fns5F9d34LqWv+iaipI/v1xrxxIkDSfYy5rGoIgzmhBmmjQuZBimtJdKHJlBpnr 1e0LBAUgQBGxHfIMlLLsQZGn4wDvNgRu4jUlq1bZqW//SgDZDo9LkUeX9Q7A4dxss3W3 +Y5auuf1s2WaTkaxCypXd4Z3txM3hAgdCU9Sw+BBA+rq2QXJPveWL1c6M1LdKUuEAr16 s+JABq0E9KRIYphJqI+il0fjzF+WnKcLVmVEGtTG/mTLV2JatlUuyZ9+dKT7bhAjh3ja cAqQRcXXES1PbIwla1cxYlqBm7p/aJEJpoPT4zcntZRUFiQZoJe3cnNT1KYX8Vjr+20a pJ5Q== 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=qD0X8dL41BCEYZiwWDKFr7sbwy9JEl9JOC9/1arZY5s=; b=ZMTeVdfnxPsJIHYERoQG1H1yRod0jCd05aRmVgpEXhtQGk1CVvEkYzmo2VHNmFZbsy VXJT4yh+FQzG/JXGWeNFjI3Y+NirAwe2E0acQWp2XwfyAuwaJbLO/4kewuguIv34kM+t XqF5pO5T+K1+o9xgtIj4FUxFSN9vWNHO3hj10RARKYgUlxlual/sqqwYAcECrgEf0Dv5 CK+pas0j9/nog2Gkkvlnyny9/mEQzer2GH9bKeiAzqSsqi5ZOqoHZrurW03x1nQlXhD9 smqKIiW+xwc7ccchV7pD0/lJDidlm45vWrLIEv5uapgBAcX8ooUWe+3vVH3iNFQJFlHM 8xXQ== X-Gm-Message-State: APf1xPB3ifesHISpPv7LdCIH7mGfLatyw9QxqIk/CBCZk5zPTDL3JRRs j1Cc1gvitjjJA6bqilChhJXTk4lE X-Received: by 10.28.198.199 with SMTP id w190mr1810019wmf.62.1519398033614; Fri, 23 Feb 2018 07:00:33 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id r128sm2056757wmf.37.2018.02.23.07.00.32 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:00:32 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 5/5] arm: zynq: Add support for Xilinx zc770 xm013 dc4 board Date: Fri, 23 Feb 2018 16:00:23 +0100 Message-Id: <7e29c4841930c4e4189a167934574fcf987b9f02.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, ethernet, i2c, qspi, spi and uart. Signed-off-by: Michal Simek --- Changes in v2: - use eeprom as node name instead of at25 - 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-xm013.dts | 78 ++++++++++++++++++++++++ 3 files changed, 80 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm013.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 745c898f2f7f..63705a451251 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -15,6 +15,7 @@ Additional compatible strings: "xlnx,zynq-zc770-xm010" "xlnx,zynq-zc770-xm011" "xlnx,zynq-zc770-xm012" + "xlnx,zynq-zc770-xm013" --------------------------------------------------------------- diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 2c74b935ad1c..d5de3748a80a 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1070,6 +1070,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-zc770-xm010.dtb \ zynq-zc770-xm011.dtb \ zynq-zc770-xm012.dtb \ + zynq-zc770-xm013.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \ diff --git a/arch/arm/boot/dts/zynq-zc770-xm013.dts b/arch/arm/boot/dts/zynq-zc770-xm013.dts new file mode 100644 index 000000000000..8bb66859d774 --- /dev/null +++ b/arch/arm/boot/dts/zynq-zc770-xm013.dts @@ -0,0 +1,78 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM013 board DTS + * + * Copyright (C) 2013 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + ethernet0 = &gem1; + i2c0 = &i2c1; + serial0 = &uart0; + spi1 = &spi0; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; + +&can1 { + status = "okay"; +}; + +&gem1 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy@7 { + reg = <7>; + device_type = "ethernet-phy"; + }; +}; + +&i2c1 { + status = "okay"; + clock-frequency = <400000>; + + si570: clock-generator@55 { + #clock-cells = <0>; + compatible = "silabs,si570"; + temperature-stability = <50>; + reg = <0x55>; + factory-fout = <156250000>; + clock-frequency = <148500000>; + }; +}; + +&spi0 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; + eeprom: eeprom@0 { + at25,byte-len = <8192>; + at25,addr-mode = <2>; + at25,page-size = <32>; + + compatible = "atmel,at25"; + reg = <2>; + spi-max-frequency = <1000000>; + }; +}; + +&uart0 { + status = "okay"; +}; -- 1.9.1