Received: by 10.223.185.116 with SMTP id b49csp38445wrg; Fri, 2 Mar 2018 13:10:50 -0800 (PST) X-Google-Smtp-Source: AG47ELvmm6N/gl0NjYI5l+BKxtXE2zhxCroz6/e1F57K+XAvN6p3HUh4d4kdwQE44RmN/yB/5jt3 X-Received: by 2002:a17:902:8d81:: with SMTP id v1-v6mr6372770plo.430.1520025050027; Fri, 02 Mar 2018 13:10:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520025049; cv=none; d=google.com; s=arc-20160816; b=bVRzf91ea7WKhMVqkyUHa/dUizP6xG7gpkvLEbV6plLGT+v4yo+DMSqjixdMtbvAt9 +1UlH4zvpdXwJq6FmJ5rAC/yi5GYeGvtIAScrTpgBmky1FPybcvc3o5vdeoGPIK7TMxZ UuwfUfBONOUzXam/NQX4SrWmaz1CGZMzMg28R6+lahpde/5lhxp+v3xQTVU6qUfbnYiu yQZ30HDXq2scnc1m7rbi+4X5/mTLoYgd5KpzxESpfLh1h+7WxdGMSrwuzv6SY2cjIgN5 dsGtiIhCDy/afG/PA99qQPT5iPgkysNZGQlQGyel2uMWLXFd04YHetbz1TP6es3K62i3 5zNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to:dkim-signature :arc-authentication-results; bh=GLSU9ek5aXU2ZcHkP/uuWXHnzvX6jr6EGMdCWBSRzsQ=; b=Co6wsIAlIuSTbTRMubZu9WE0fAWMndDY9yig5I62u62j9lzNp5f77PU0rArXxSzp5c eDIYo0kINfiLXpKnWWH1X7QTak5O5+r3bCJU/16PTofA00EBK5bJhKJ7D/7VmiRDRL2b Q6SuCk+jlmcC/dUEEjl7CjNcxa0ud929PWOLRHDbyoDfvKRjZ4AaIAeVYZEaarYEvRGN nD6al7pUjST/4Oq6GdJlxQmHbRcqFdddcKWXTa3j/7A4tXhcTQVJ/bX3sWuYRaBrS8eJ XadME5d74TINAC3ZrjeFVWoaeeBTIqs2CXKHM/tdStLl9LpeWYhei5MiH8Cqj6+i1e92 6BZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=piajijtA; 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 h190si4528090pgc.178.2018.03.02.13.10.34; Fri, 02 Mar 2018 13:10:49 -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=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=piajijtA; 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 S1426988AbeCBSmi (ORCPT + 99 others); Fri, 2 Mar 2018 13:42:38 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:33142 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423170AbeCBSmg (ORCPT ); Fri, 2 Mar 2018 13:42:36 -0500 Received: by mail-wr0-f194.google.com with SMTP id v18so10428355wrv.0 for ; Fri, 02 Mar 2018 10:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=reply-to:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=GLSU9ek5aXU2ZcHkP/uuWXHnzvX6jr6EGMdCWBSRzsQ=; b=piajijtAtuPHV3P7VE+zqD1rs9EzMcFcREZ5u7LFL1dl4Be+5bEyaUoXrr4754Cui4 l8wNqxktiaVDrBj6f4r/Vyc/c3AQsdXfbWhMK8EmeSlTws2FbZUskJRN19nONhSgslai oaye+PYy1Vu8u6klH0gqvqtEgOYv9rKbirDyGnwnGAguAc0lhUEa2aRJrQSNGTTpFykM CA6jTm265pjz+zYVipAadyT/1fZmV4Drf2+Hi/hNK5cBPBL3hacUrVNp7ge0l+yqiz84 C8JMGyJ6uui+9ZFuvfBP3f7mpJ8ZiC9dqzwEKBgOUhcvPbHOqFSOIVd88GXVqAF/lroJ KT1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :message-id:date:user-agent:mime-version:in-reply-to; bh=GLSU9ek5aXU2ZcHkP/uuWXHnzvX6jr6EGMdCWBSRzsQ=; b=HjjroDk8ZD7cghGez9HuSY5Kx47Q2EglDR6EqdbBOwARsgDFjuwUxJKdiKA+GLJyPw zho2z1GKn0EXJuxOAAboxpiVILzZHCA1lxpovs2atTu82VqFe82TDgX1FO5oFPJOQwB0 tUy0RfeeJFmZt8FnQPGIAOQ5HF5qt+ucNRoOEJ0srbjwlTDaVG8l4i+ELRiGMSvNk7Wr 0WI9KafTW0B7dIZhP1tqUOtJ/t6TVza/BefxzUUTL1gxkLxBN+ibeFoHM+2LlchLN+aq 1guneIS78SI08sW/Y4LNMPjwYfjrRuPV3kjsp7TRpOG7xP93gvNLdALBKC84bSoXYPd/ 2bow== X-Gm-Message-State: APf1xPDcr0jX7ijrx8XOUF3IJmQBpVKRBubuZqq554kNpH6rI8PHeT5R aPIA70aooMC47uTpQtZNPg2KN0Nh X-Received: by 10.223.170.153 with SMTP id h25mr5651029wrc.236.1520016155123; Fri, 02 Mar 2018 10:42:35 -0800 (PST) Received: from [173.194.76.109] ([149.199.62.254]) by smtp.gmail.com with ESMTPSA id k38sm6383545wrk.39.2018.03.02.10.42.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Mar 2018 10:42:34 -0800 (PST) Reply-To: monstr@monstr.eu Subject: Re: [PATCH v2 4/8] arm64: zynqmp: Add support for Xilinx zcu104-revA To: Rob Herring , Michal Simek Cc: devicetree@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Mark Rutland , linux-arm-kernel@lists.infradead.org References: <68acadbb82fb0a8ac5abb9b1e156b9a9cf5b0f11.1519396753.git.michal.simek@xilinx.com> <20180302180258.hex77xmptf5ab3xd@rob-hp-laptop> From: Michal Simek Message-ID: Date: Fri, 2 Mar 2018 19:42:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180302180258.hex77xmptf5ab3xd@rob-hp-laptop> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zj26nuPppTofy5jPafFuDy0eJeVjx9f0s" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --zj26nuPppTofy5jPafFuDy0eJeVjx9f0s Content-Type: multipart/mixed; boundary="rsHEz8qLvKsNh7aw0t7DMuIUnuR1pKUFx"; protected-headers="v1" From: Michal Simek Reply-To: monstr@monstr.eu To: Rob Herring , Michal Simek Cc: devicetree@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Mark Rutland , linux-arm-kernel@lists.infradead.org Message-ID: Subject: Re: [PATCH v2 4/8] arm64: zynqmp: Add support for Xilinx zcu104-revA References: <68acadbb82fb0a8ac5abb9b1e156b9a9cf5b0f11.1519396753.git.michal.simek@xilinx.com> <20180302180258.hex77xmptf5ab3xd@rob-hp-laptop> In-Reply-To: <20180302180258.hex77xmptf5ab3xd@rob-hp-laptop> --rsHEz8qLvKsNh7aw0t7DMuIUnuR1pKUFx Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2.3.2018 19:02, Rob Herring wrote: > On Fri, Feb 23, 2018 at 03:40:26PM +0100, Michal Simek wrote: >> Xilinx zcu104 is another customer board. It is sort of zcu102 clone >> with some differences. >> >> Signed-off-by: Michal Simek >> --- >> >> Changes in v2: >> - Remove i2c mw u-boot commands >> - Record compatible string to xilinx.txt >> >> Documentation/devicetree/bindings/arm/xilinx.txt | 3 + >> arch/arm64/boot/dts/xilinx/Makefile | 1 + >> arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts | 197 +++++++++++++= +++++++++ >> 3 files changed, 201 insertions(+) >> create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts >> >> diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Docume= ntation/devicetree/bindings/arm/xilinx.txt >> index 2b922ec3c82a..a9ce08a68711 100644 >> --- a/Documentation/devicetree/bindings/arm/xilinx.txt >> +++ b/Documentation/devicetree/bindings/arm/xilinx.txt >> @@ -26,3 +26,6 @@ Additional compatible strings: >> "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102" >> "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102" >> "xlnx,zynqmp-zcu102-rev1.0", "xlnx,zynqmp-zcu102" >> + >> +- Xilinx evaluation board zcu104 >> + "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104" >> diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts= /xilinx/Makefile >> index 24e3ce801304..1c039e59c7c3 100644 >> --- a/arch/arm64/boot/dts/xilinx/Makefile >> +++ b/arch/arm64/boot/dts/xilinx/Makefile >> @@ -4,3 +4,4 @@ dtb-$(CONFIG_ARCH_ZYNQMP) +=3D zynqmp-zcu100-revC.dtb >> dtb-$(CONFIG_ARCH_ZYNQMP) +=3D zynqmp-zcu102-revA.dtb >> dtb-$(CONFIG_ARCH_ZYNQMP) +=3D zynqmp-zcu102-revB.dtb >> dtb-$(CONFIG_ARCH_ZYNQMP) +=3D zynqmp-zcu102-rev1.0.dtb >> +dtb-$(CONFIG_ARCH_ZYNQMP) +=3D zynqmp-zcu104-revA.dtb >> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts b/arch/= arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts >> new file mode 100644 >> index 000000000000..89d26f56514b >> --- /dev/null >> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu104-revA.dts >> @@ -0,0 +1,197 @@ >> +// SPDX-License-Identifier: GPL-2.0+ >> +/* >> + * dts file for Xilinx ZynqMP ZCU104 >> + * >> + * (C) Copyright 2017 - 2018, Xilinx, Inc. >> + * >> + * Michal Simek >> + */ >> + >> +/dts-v1/; >> + >> +#include "zynqmp.dtsi" >> +#include "zynqmp-clk.dtsi" >> +#include >> + >> +/ { >> + model =3D "ZynqMP ZCU104 RevA"; >> + compatible =3D "xlnx,zynqmp-zcu104-revA", "xlnx,zynqmp-zcu104", "xln= x,zynqmp"; >> + >> + aliases { >> + ethernet0 =3D &gem3; >> + gpio0 =3D &gpio; >=20 > Drop. Not a supported alias. >=20 >> + i2c0 =3D &i2c1; >> + mmc0 =3D &sdhci1; >> + rtc0 =3D &rtc; >> + serial0 =3D &uart0; >> + serial1 =3D &uart1; >> + serial2 =3D &dcc; >> + usb0 =3D &usb0; >=20 > Drop. Not a supported alias. >=20 >> + }; >> + >> + chosen { >> + bootargs =3D "earlycon"; >> + stdout-path =3D "serial0:115200n8"; >> + }; >> + >> + memory@0 { >> + device_type =3D "memory"; >> + reg =3D <0x0 0x0 0x0 0x80000000>; >> + }; >> +}; >> + >> +&can1 { >> + status =3D "okay"; >> +}; >> + >> +&dcc { >> + status =3D "okay"; >> +}; >> + >> +&gem3 { >> + status =3D "okay"; >> + phy-handle =3D <&phy0>; >> + phy-mode =3D "rgmii-id"; >> + phy0: phy@c { >> + reg =3D <0xc>; >> + ti,rx-internal-delay =3D <0x8>; >> + ti,tx-internal-delay =3D <0xa>; >> + ti,fifo-depth =3D <0x1>; >> + }; >> +}; >> + >> +&gpio { >> + status =3D "okay"; >> +}; >> + >> +&i2c1 { >> + status =3D "okay"; >> + clock-frequency =3D <400000>; >> + >> + /* Another connection to this bus via PL i2c via PCA9306 - u45 */ >> + i2cswitch@74 { /* u34 */ >=20 > i2c-mux@74 grrr - this was done but squashed to 5/8 instead. Will fix. M --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs --rsHEz8qLvKsNh7aw0t7DMuIUnuR1pKUFx-- --zj26nuPppTofy5jPafFuDy0eJeVjx9f0s Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlqZmxIACgkQykllyylKDCH+QACfWaIHsKhyTSV4KSV77T7IJKIf y+QAn2L0xR8byCMig3aUJvk0tKAeWVu5 =7NLu -----END PGP SIGNATURE----- --zj26nuPppTofy5jPafFuDy0eJeVjx9f0s--