Received: by 10.223.185.116 with SMTP id b49csp800329wrg; Fri, 23 Feb 2018 07:02:47 -0800 (PST) X-Google-Smtp-Source: AH8x226cEqka2tZPxA/7h5z3WS/fyU5tuG+1SkzrsUZvhINoXutl/JpAanh3q3g002AtpM6UHFkD X-Received: by 2002:a17:902:6b04:: with SMTP id o4-v6mr2028678plk.260.1519398167811; Fri, 23 Feb 2018 07:02:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519398167; cv=none; d=google.com; s=arc-20160816; b=p2sC6WM8XAwufAh19ulcm8oQCh2d//EOEuwwsBl9h/5dfUPnjy0tLrlo2JKD181ZC8 3kuOgOKH+zMtglBIULwS3WixCb+YNs0AQ/2CUoAjrur2vM/+1gKQw84GVuh4xhC3SUCM lQX0wEsN3XYjN51GCXJc1o0EowPTC3gFX/V0WoNFBReNodJ3m4bMan+u02l0aNrorHFV jHrV5sDC+rf99ow61ARN+JTp0gq6CUfKfLbo2S7tOjzAx2VwsXSBp+40axNRrBIHFzYx LZ0rpo3oNM2WYjkpAFXqSyeZLRIFnSmXk0ffV5RVLpH0a0JrooHMfLHEoivQ6LDtK8GK GgEg== 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=WNJ7DcGmYr8hMNfm0LMhPxALaLZxbdC+vXbukxuk2pU=; b=c+Q17qUHn5uWvg2ygvzlVBSn03JlnJFmp+xh0I7mwTgbYZYo6K+ynWSEzlo5qMGZoj UMIPyzVUdfyNXyTA+UeGb2QFdm1aJot7Nyh1cwHhUqjkCxj68dWBpe553Jngg7gNUzqs WjzMpbdAAiFVy34b2Wx5Dez1wjrc7NsWK3ocqfh5TvHD18UkIDpoIHtkTzw2Y5U4u5hA gERZs2apgbO3bJcTPiH6GVAsHGX6YxpOhkJaOiox7eNqH8wqiwQpWl7buNZY9hf7SZ3U HhXAl1llL00jImYhJ+uLP0O4RAEwfIaOaEq+w6SC9leYI1mRyxbPfNqzODzdNGWlvOcR c+gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=E7Qm4MxN; 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 m18si1600565pgn.769.2018.02.23.07.02.01; Fri, 23 Feb 2018 07:02:47 -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=E7Qm4MxN; 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 S1751733AbeBWPAc (ORCPT + 99 others); Fri, 23 Feb 2018 10:00:32 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38717 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbeBWPA3 (ORCPT ); Fri, 23 Feb 2018 10:00:29 -0500 Received: by mail-wr0-f193.google.com with SMTP id n7so14415630wrn.5 for ; Fri, 23 Feb 2018 07:00:29 -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=WNJ7DcGmYr8hMNfm0LMhPxALaLZxbdC+vXbukxuk2pU=; b=E7Qm4MxNCRvAr9QWP4xEjobTHWE2gUOKaDhMoL+05d7d4GEv34MQ7JOSVPzenPpYTZ ZuBVAXTMfcCW8jX6QKjEDfnKLOkDJrOCcb8Ee8QcRXnhHSlvtaPRTfg/8guRPjSOXgYp cymP4m76XgojalGpWIGCrLObZZ2QLbCN1hI87uBCgaDGz+CbcXo1wumyFkt3z4so+9p7 z371T0jMG8/W/4SaPalgGFsmssVXuaTzFhEQFJi1IYd7vwS77FYzQgO/c/tCwA6enbnD wpUhKyBKuhtYtDX8iWy9H3dxhX1ZhLmHxGL6+xAH02pXXOljTXYcHavVxYG+YF3W9G+f ilqA== 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=WNJ7DcGmYr8hMNfm0LMhPxALaLZxbdC+vXbukxuk2pU=; b=brSJFHkkwAZEScQOUYSSX/g7ztv8RfQJM2bTnFSXA6dnnZnlgKbvSDzpWtEwq5RyPc YcpgC3sLbLxbB/PdxB86w8713v31z9qmJUxsqpwaX3g3qcUtPMkCe7YlO+PSCnUY/7/F 5bCgtpGRGrWaMaGfI9jLcUFDYKTEf4HI4eZ67c94NaaI4RerQqQ2JZ22JLWrqigYNKB7 d0u3ZQWL3lY5oOLlalWu7VMhJYYc7KW3oKy9936IdbCu1R0bXPEw3z7bRZ0tr9gL9pMP jnb0rUfo3x+FurJsV6Yp98nAoLTaEaimudd7Lnr31sGkCjWG5UdKaklaFFgY8/G23FfT FKPQ== X-Gm-Message-State: APf1xPDdhbKjEM49wqjJQZwLCx1IY9x3xafa/nspWA2dsQdIlZ3UD6ZE fqGoRtAQFDygfqrFQOupMDVjtA== X-Received: by 10.223.189.136 with SMTP id l8mr2054070wrh.69.1519398028388; Fri, 23 Feb 2018 07:00:28 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e191sm1768195wmg.12.2018.02.23.07.00.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:00:27 -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 2/5] arm: zynq: Add support for Xilinx zc770 xm010 dc1 board Date: Fri, 23 Feb 2018 16:00:20 +0100 Message-Id: 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 ethernet port, can, i2c, sd, qspi, spi, uart and usb. Signed-off-by: Michal Simek --- Changes in v2: - Record compatible string to xilinx.txt Documentation/devicetree/bindings/arm/xilinx.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/zynq-zc770-xm010.dts | 92 ++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 arch/arm/boot/dts/zynq-zc770-xm010.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index 425c74fcc560..019e69037d42 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -11,6 +11,9 @@ Additional compatible strings: - Xilinx internal board cc108 "xlnx,zynq-cc108" +- Xilinx internal board zc770 with different FMC cards + "xlnx,zynq-zc770-xm010" + --------------------------------------------------------------- Xilinx Zynq UltraScale+ MPSoC Platforms Device Tree Bindings diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index c6810e84d4d7..be9ffae2a1ec 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1067,6 +1067,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \ zynq-parallella.dtb \ zynq-zc702.dtb \ zynq-zc706.dtb \ + zynq-zc770-xm010.dtb \ zynq-zed.dtb \ zynq-zybo.dtb dtb-$(CONFIG_MACH_ARMADA_370) += \ diff --git a/arch/arm/boot/dts/zynq-zc770-xm010.dts b/arch/arm/boot/dts/zynq-zc770-xm010.dts new file mode 100644 index 000000000000..b1cfb4ede434 --- /dev/null +++ b/arch/arm/boot/dts/zynq-zc770-xm010.dts @@ -0,0 +1,92 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Xilinx ZC770 XM010 board DTS + * + * Copyright (C) 2013-2018 Xilinx, Inc. + */ +/dts-v1/; +#include "zynq-7000.dtsi" + +/ { + compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; + model = "Xilinx Zynq"; + + aliases { + ethernet0 = &gem0; + i2c0 = &i2c0; + serial0 = &uart1; + spi1 = &spi1; + }; + + chosen { + bootargs = ""; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; + + usb_phy0: phy0 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + }; +}; + +&can0 { + status = "okay"; +}; + +&gem0 { + status = "okay"; + phy-mode = "rgmii-id"; + phy-handle = <ðernet_phy>; + + ethernet_phy: ethernet-phy@7 { + reg = <7>; + device_type = "ethernet-phy"; + }; +}; + +&i2c0 { + status = "okay"; + clock-frequency = <400000>; + + eeprom: eeprom@52 { + compatible = "atmel,24c02"; + reg = <0x52>; + }; + +}; + +&sdhci0 { + status = "okay"; +}; + +&spi1 { + status = "okay"; + num-cs = <4>; + is-decoded-cs = <0>; + flash@0 { + compatible = "sst25wf080", "jedec,spi-nor"; + reg = <1>; + spi-max-frequency = <1000000>; + #address-cells = <1>; + #size-cells = <1>; + partition@test { + label = "spi-flash"; + reg = <0x0 0x100000>; + }; + }; +}; + +&uart1 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + dr_mode = "host"; + usb-phy = <&usb_phy0>; +}; -- 1.9.1