Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5044102pxj; Wed, 9 Jun 2021 07:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHanL8YjESqZOxG4gU7fdM87vyeWplbjZ4UZyLkVUGnMz/XIzA6IUcMIv8DBOMmVcpSvsg X-Received: by 2002:a17:906:c411:: with SMTP id u17mr320433ejz.60.1623250671313; Wed, 09 Jun 2021 07:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623250671; cv=none; d=google.com; s=arc-20160816; b=CcH+44pN/UAhDXZTu1pjQbPlT/oZjXXXsDDUz3JRo5KtrN+Okv3NdsAy/kkmcRFGbk AedhAvAeznY+8yKQnYYjT7LlqQwG654AUcRS/gGtiltdf0ZPf5aAd4bJWa/3h6B7dDKj pIkv0cjsSqfaWGXc5UUukP6dBiOlv1pim07fApv4tQ7qQBgl0ooGCz6B29x1bJ6KOqig k8nAsasb5750Lj7x51hqaU0/EIra/+cdFi3B3sxfrP75WKA9uVvtzHG2A/I8lBKF7XKr /Q5vA1dvryHkaMLSMYUHCsu+IcHZV5CH4p9BfIq+VD66XwsieIMsSUCpNSIy3Ci9f8yR KMxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=Fz6PtoBNrXggGvHCv/ERGGBDM9Ib0qTjZiZAcbm2N6Q=; b=Cqt4LqtnNEPgAdNNhpSSKQXArTThrhnEniV+x7kWrVHo/Fv8Qmw5dHRn+eoO02IxVq 8A32ewHLSBuSGomA6VXi/cI4MFmLZcoPJ252eu8UqtHnXvivtBayM+jwo3HApgsQqpzI lw51zfgGTpkZBi/tXoeOGAUupt3HyCO9yAHYAXZzY/zs6G8nwffPYFGRZ7Tx4/G/ShrF c5P66djK7I5Ek/MQyLTSkLwJ4634Sci262X+oqhFWVoZjfSsBkN9+z+HFIr0k79VoixB 68j556zJqdmtKXZA1+RimIODjJEAnuyFUjizasIYCOx9GYIW9mYypDo6xv4X8b2zKlGv MPRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=TRpqXxR3; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si2841615edb.182.2021.06.09.07.57.27; Wed, 09 Jun 2021 07:57:51 -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=TRpqXxR3; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239530AbhFILsq (ORCPT + 99 others); Wed, 9 Jun 2021 07:48:46 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:41658 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239375AbhFILs2 (ORCPT ); Wed, 9 Jun 2021 07:48:28 -0400 Received: by mail-wm1-f54.google.com with SMTP id l11-20020a05600c4f0bb029017a7cd488f5so4024794wmq.0 for ; Wed, 09 Jun 2021 04:46:33 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=Fz6PtoBNrXggGvHCv/ERGGBDM9Ib0qTjZiZAcbm2N6Q=; b=TRpqXxR32bEJkTNwU6AOJ2rVb69udkIyrqqK5qj+CUnlZzcyW77zBc90L6cLc+JCKp ipe5Tiwctjsf2IBozXvHQ2m/ZvZR/QrcaQJCMyYZdxOSIO1VT9PZ2szi+HpGlUhfQZ+I 0t67PVEnNf9gAtPgFlaehUofawfToYmk2Tbp63WwtJgqRPdYlhIMJU0iHM9jyKT16bhP Y4vL6fFi4M0xdPqNic5BiNY17QvEdWZpGip7BNHYL7XSCMJF1uBHJOuWxfhKBKaAmfxO hn/I5SnJoXLBokQho0hKfK0YHWCg4cSfb61MEt70P5an1bQhs4hLGiq9qKSynB4R4o6B 0H6g== 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:mime-version:content-transfer-encoding; bh=Fz6PtoBNrXggGvHCv/ERGGBDM9Ib0qTjZiZAcbm2N6Q=; b=Cj1vI9f20JQINzmZEuLUu6F6V6uySWQITtKUKTBhPt8s6hPCIGCRq6dRNJdhpOlCDi ayeWnkWILaib+gqdfLyJ3G93oKAVZeDxOLmiX1qcXuy2PRlVVKPTa/UqdNsEPGQDK63X +jxjXABL9qiAD/PZ54QeKKhcK7Qzb/7a+t6vRdUiLsSNwMy0McDqlvhCsbzDd195YDaV 1Y5qOK8n9G+B7K+be+N2JMhLV9RSPpG5U8Wy2ZM6RrCHrkCiCy3zY1CGGHfBQYAU/W72 9EQZBdkf/IhrDcRVpFDRwReXwtOYQ8ySQxgwdmAAwrl+ZXTfoos2fhiSerqqrcESt7em XdAQ== X-Gm-Message-State: AOAM533oULmaeXwsVwZlqn/JtL1UsHHbq6JyywEPyjnKvkEDGPv2RVP1 6wRjObm/XpbJYd14QHF5EVChvCsQid7f31yW X-Received: by 2002:a7b:cbd2:: with SMTP id n18mr3391962wmi.112.1623239133007; Wed, 09 Jun 2021 04:45:33 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id r4sm23760486wre.84.2021.06.09.04.45.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:45:32 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/31] arm64: zynqmp: Wire psgtr for zc1751-xm015 Date: Wed, 9 Jun 2021 13:44:43 +0200 Message-Id: <3fb11fdb9ade828fa174379515e45ba02bc17247.1623239033.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add psgtr description for SATA and USB. Display Port could be also added but it wasn't tested yet. Signed-off-by: Michal Simek --- .../dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts index 5b258129c7ef..f57cb5356cef 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts @@ -11,6 +11,7 @@ #include "zynqmp.dtsi" #include "zynqmp-clk-ccf.dtsi" +#include #include #include @@ -36,6 +37,31 @@ memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; }; + + clock_si5338_0: clk27 { /* u55 SI5338-GM */ + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <27000000>; + }; + + clock_si5338_2: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + clock_si5338_3: clk150 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <150000000>; + }; +}; + +&psgtr { + status = "okay"; + /* dp, usb3, sata */ + clocks = <&clock_si5338_0>, <&clock_si5338_2>, <&clock_si5338_3>; + clock-names = "ref1", "ref2", "ref3"; }; &fpd_dma_chan1 { @@ -328,6 +354,8 @@ &sata { ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; + phy-names = "sata-phy"; + phys = <&psgtr 3 PHY_TYPE_SATA 1 3>; }; /* eMMC */ @@ -357,4 +385,7 @@ &usb0 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb0_default>; dr_mode = "host"; + phy-names = "usb3-phy"; + phys = <&psgtr 2 PHY_TYPE_USB3 0 2>; + maximum-speed = "super-speed"; }; -- 2.31.1