Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp157577pxb; Tue, 24 Aug 2021 23:24:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4rPusbx+Vfyre9HNoPyPuN7wJ7dTGfE0UWlOGq73u0F0yDvJIuaOnQvrYsRmS58vcG50V X-Received: by 2002:a05:6402:27c6:: with SMTP id c6mr16703118ede.111.1629872673197; Tue, 24 Aug 2021 23:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629872673; cv=none; d=google.com; s=arc-20160816; b=fKxdv3UyQHj7uTZavik65vqscR/ShUFn/65E5xFpr4h8t3sLzXuJYJ9AXwKIaktu8H tx5qkRv38bHH+2WbvFpKG8le8Q/hxEbx9gktNMSZBuUKdpu51uZSRRocDZn89IbtlkQy BctjkCSgN+vamisvtg+LlxiJdO4l4CTrt2NDn4g5tqG+yAWsd7jjyfESVGcETtkcPOVK NZr0iSnhBdGdlPqEhmaM+r4e5xKbWo/QvTv3s3bLZYu2bFxNLR+cXmnKG3E0cJwkkGpc DYTHC3L/DIuBhx7YUDtcW+VOBUmZpV1sieFVXfS8VVy1edRaM4XTZUy0amwTB1x/os1B b6SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=eF2sy8oNTsdMLU6pLrdZdA0MNtuollQXR7O5tJyRoik=; b=nvcdS5rKhIo1oVmpVb4hRMCMdTP24RitDGRAQdNB5Ti1P8+L9GjW5OsQI3RamNeUS0 DJsQjyEs/MVLdDxZCzF3EI2Gm0XuZwXtzvdlpPJUkb8+HSiU166H8SIOMd05mwe8fyK0 mO8gEbIKei2Uv2GXiIS/3+bA/SymNuVUptt3rPgXRajv2u9kG8Y7LpOfcP1d7dnrmXXp 6r2g6kqVZ5fHSLc6W2GHAY2rosyoLbW2jHj4vlumH5FBNqR24EwkLk9BXAPMphf+o4fn 5SrcXTNjqQ/VRcDcbem7fR2yQD4Kz8RkeeAs9/8VgE0GXlupy7fIE9m0uYnk9CsuaArb wQ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=RhhiFl7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h15si18472807ejj.98.2021.08.24.23.24.10; Tue, 24 Aug 2021 23:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=RhhiFl7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238999AbhHYGX0 (ORCPT + 99 others); Wed, 25 Aug 2021 02:23:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239018AbhHYGXZ (ORCPT ); Wed, 25 Aug 2021 02:23:25 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 968B5C0613C1 for ; Tue, 24 Aug 2021 23:22:39 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id z19so10741159edi.9 for ; Tue, 24 Aug 2021 23:22:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=eF2sy8oNTsdMLU6pLrdZdA0MNtuollQXR7O5tJyRoik=; b=RhhiFl7xn7hJR1KbDCWdVPWdy1WHeR3Y77IJoHIxNfkPePvhTkDmnzJcafSXkRYC2K z/s4QHYISMoZd96G/Hx0Z7Yxt3Ibxh1DBIEmU36fTAL1pF5/Dsbf2JJs0+YA9Hj96QY7 KeZxnxZxYXPLam1wXJs1lOisHxYxuQOiTFYm2RmWTq2C7YAbYIg4DO8Oc4bEbJl+kWWo xg1i/wSgWvfQawWGyQq+O7XmybqVd9CWiJ/G56ICt2/VGZBeYV6PwvCq/dDfS9cODYT/ eQ5dojtOyL4biJPT59+TlwhgEglXu31hevF3kCEG6446L6QTRHitZMK8LPvzR/smhsWM 7GPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=eF2sy8oNTsdMLU6pLrdZdA0MNtuollQXR7O5tJyRoik=; b=YtBvXeTRoJy8xf773fLSJ44syGPjCMwzMN7NtbW1myG3ZhhdgGIIcWR6wvDPN/ofyN aGo48nxbmOU2Oc2uOPecns8zjcDe27YN21WRNv96EuMsm1+wqfSs03CP9drcIaO/AsHH JaLJ79LLKbFiuUzeKh7s297M0iq4slzx5cS4sc1d+9jZZ3RVRRj7bDnSXGcWamTQDj5l pmY7OGYPmft+d6vC4MxjRU0ePDSXz2VASYaLY/Ph4syCGy06+3Eto/LRGPJhQjXYxyGJ FSnnoXJp3ZrhekZJHrhCAaBTaVDWQ9447UaEO0iy2mLt46z7zQfdY7717lmlrDPlGLXw o8Nw== X-Gm-Message-State: AOAM531ygZwMF7uSNH0Gpoi3SF+xFh98YjT89McZXjTVspkiTEBuFRlQ w8sXZVval6Id/IwYVFc+Ny3uWiecxnY+WpoAfjLOiBDCiZsamw== X-Received: by 2002:aa7:cc02:: with SMTP id q2mr46439428edt.154.1629872558097; Tue, 24 Aug 2021 23:22:38 -0700 (PDT) MIME-Version: 1.0 References: <8c78625f08c16385a4798e0a62d20df7491ac00e.1628244860.git.michal.simek@xilinx.com> In-Reply-To: <8c78625f08c16385a4798e0a62d20df7491ac00e.1628244860.git.michal.simek@xilinx.com> From: Michal Simek Date: Wed, 25 Aug 2021 08:22:27 +0200 Message-ID: Subject: Re: [PATCH] arm64: zynqmp: Wire psgtr for zc1751-xm013 To: LKML , Michal Simek , git Cc: Rob Herring , DTML , linux-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org p=C3=A1 6. 8. 2021 v 12:14 odes=C3=ADlatel Michal Simek napsal: > > Add psgtr description for SATA and USB. > > Signed-off-by: Michal Simek > --- > > Based on https://lore.kernel.org/r/cover.1628244703.git.michal.simek@xili= nx.com > --- > .../dts/xilinx/zynqmp-zc1751-xm017-dc3.dts | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts b/arc= h/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > index 4394ec3b6a23..381cc682cef9 100644 > --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > @@ -11,6 +11,7 @@ > > #include "zynqmp.dtsi" > #include "zynqmp-clk-ccf.dtsi" > +#include > > / { > model =3D "ZynqMP zc1751-xm017-dc3 RevA"; > @@ -37,6 +38,18 @@ memory@0 { > device_type =3D "memory"; > reg =3D <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x8= 0000000>; > }; > + > + clock_si5338_2: clk26 { > + compatible =3D "fixed-clock"; > + #clock-cells =3D <0>; > + clock-frequency =3D <26000000>; > + }; > + > + clock_si5338_3: clk125 { > + compatible =3D "fixed-clock"; > + #clock-cells =3D <0>; > + clock-frequency =3D <125000000>; > + }; > }; > > &fpd_dma_chan1 { > @@ -116,6 +129,13 @@ &nand0 { > num-cs =3D <2>; > }; > > +&psgtr { > + status =3D "okay"; > + /* usb3, sata */ > + clocks =3D <&clock_si5338_2>, <&clock_si5338_3>; > + clock-names =3D "ref2", "ref3"; > +}; > + > &rtc { > status =3D "okay"; > }; > @@ -131,6 +151,8 @@ &sata { > ceva,p1-comwake-params =3D /bits/ 8 <0x06 0x19 0x08 0x0E>; > ceva,p1-burst-params =3D /bits/ 8 <0x13 0x08 0x4A 0x06>; > ceva,p1-retry-params =3D /bits/ 16 <0x96A4 0x3FFC>; > + phy-names =3D "sata-phy"; > + phys =3D <&psgtr 2 PHY_TYPE_SATA 0 3>; > }; > > &sdhci1 { /* emmc with some settings */ > @@ -149,6 +171,8 @@ &uart1 { > > &usb0 { > status =3D "okay"; > + phy-names =3D "usb3-phy"; > + phys =3D <&psgtr 0 PHY_TYPE_USB3 0 2>; > }; > > &dwc3_0 { > @@ -161,6 +185,8 @@ &dwc3_0 { > /* ULPI SMSC USB3320 */ > &usb1 { > status =3D "okay"; > + phy-names =3D "usb3-phy"; > + phys =3D <&psgtr 3 PHY_TYPE_USB3 1 2>; > }; > > &dwc3_1 { > -- > 2.32.0 > Applied. 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/Versal SoCs