Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp558499pxt; Fri, 6 Aug 2021 08:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMsMOGld1zGiSbyga+XlUMbMRDToIIj1KVZXXQRA6H8NnGefKRB/SCILOWVmq6ZP6t3oQd X-Received: by 2002:a5e:9747:: with SMTP id h7mr667719ioq.92.1628263268032; Fri, 06 Aug 2021 08:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628263268; cv=none; d=google.com; s=arc-20160816; b=hwMUygtQGN+qbiRh7Sajlk1U7j8i0BrAkVQ+2muWOMgHyYRecpx8U0hySpj8YHR5cO sKyGJnMKWK47/3cMy955qRroPGOe7Y6+foC7mAgs9S1zFBO17dUB1kBrB06aKo64NCC2 2jd0uv1rURPJv/EqU/LFCHtCer3pvyorR6h0LGjG/1/ucA/xSompylEnYuCK2cGpgfml ftIPKx/K9Cab8tbJFXcDo5qYjPh76kitzUnWw8LiZYGH8XDlp4CllHDbjypI9udflNRD vY9I2h3Mv+Pco1EcVG41umjcc0flKs5OURWnawHvD4UUBgK70k4EvjNP1NBTdrTXNmir 0b6w== 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 :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=FraMKiuwqRJEEp0VY/xE3q2Xu80ABlyGMu9aYVFQwIo=; b=UM3c/EQXwPHseYRCzpFTbn8xHtDxJox/osNK/JMT/26t5Bqs7177K/lBinWE9k7DUV tnc+tBXe85DesWoKMnDgS2AEsoJejhotVwenb974Ryovqp4qrA2rKQNDFrW7vnr8JUgR Rx90+AhE5BcMX9SuM3+88q98FJhlST1wlls35HU2Kcw+P1GATcRU/p5KDlEauugIbEBB vgwzfQaH9L+PtRgM4+z0/nr2EdcyAg7jPGUcLtn12V5SJ8aakI7AWeixrNQv5PZt0kA0 3KYmY5x0Kja8+5IpLkE8/Kxb7rJM5DQUu5kaV+zp5Cgu7BxsjLx1acQZ+tQy47C6WKGP C3pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=AO0OcPI8; 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 s22si9091821iow.33.2021.08.06.08.20.55; Fri, 06 Aug 2021 08:21:08 -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=AO0OcPI8; 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 S245009AbhHFKOu (ORCPT + 99 others); Fri, 6 Aug 2021 06:14:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244947AbhHFKOm (ORCPT ); Fri, 6 Aug 2021 06:14:42 -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 02BF2C06179B for ; Fri, 6 Aug 2021 03:14:26 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id i6so12379890edu.1 for ; Fri, 06 Aug 2021 03:14:25 -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:mime-version :content-transfer-encoding; bh=FraMKiuwqRJEEp0VY/xE3q2Xu80ABlyGMu9aYVFQwIo=; b=AO0OcPI8g1krDcZz2jpbJ+cGIaFZnhskk4x3kVoCtCF6eX4Q7fCLkt+Nph+B/98N83 6QZwj8G2vE6QlLB5c0dg20bABuf4F1PCYP8UAwBJDEdWQ+NzbDeiK2atXCXVdnENzad4 5gk/hlKifSSdZ245dG1zMqfwc2Pc9U9JGNqAnm+xW3eES06lXOX4q0lBTxgV47WjtbZb eFu2cbwrU/2DE3uMTa+yS9TICN+crMnncUBcXnBYPNlgeQGEdA3z+WercjBe+LYaiMNd q+BS4FhzPs8/dtJyc+pKODrxsZLgJwM0izCJyduLWeD22JDCms+FD90jd3TMsS3kd15N Ylvw== 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 :mime-version:content-transfer-encoding; bh=FraMKiuwqRJEEp0VY/xE3q2Xu80ABlyGMu9aYVFQwIo=; b=h2DiGvtwLzfaUd8YplyS9VkIb6GWtLsR+hpYL61TLNQv/kaoJzAIGICZDrpYif562B 90hRHTXbs/ly7DdpgPrAqlamJiwX3l2AebkIF5BD4UtIj+Qkf3zkSDeCUNRJ/fCaV07a OfWaBcBDIgmT4pghbxifuuCJXsaCsOsJu/QuN0IiLjrXVS+FZtX03XbVlp3k/SLPfwmr hCkXgFmkIwnShOe+8U8hzrA9YNweYTPc7fNGSN79Czvn+TmuCM3OanIDkvlEqFXAgFVB 87rGyVv5SuzJWS+Zgok+gcNvKiRQvsOSpYwlnOF0ZZM6X7m0CklMRolVkHfeCgPK4uAt xvCg== X-Gm-Message-State: AOAM530kHZYXCTAx51Ho0B3F6ut/NCLB+bc8AT8y9nOQitkoNVg1ulIz nS1xSe57QB2lbVI4Ldfd16nRR53VRKsYAaBX X-Received: by 2002:a50:ed14:: with SMTP id j20mr11719765eds.323.1628244864494; Fri, 06 Aug 2021 03:14:24 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id bx11sm2725816ejb.107.2021.08.06.03.14.24 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Aug 2021 03:14:24 -0700 (PDT) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: zynqmp: Wire psgtr for zc1751-xm013 Date: Fri, 6 Aug 2021 12:14:23 +0200 Message-Id: <8c78625f08c16385a4798e0a62d20df7491ac00e.1628244860.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 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. Signed-off-by: Michal Simek --- Based on https://lore.kernel.org/r/cover.1628244703.git.michal.simek@xilinx.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/arch/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 = "ZynqMP zc1751-xm017-dc3 RevA"; @@ -37,6 +38,18 @@ memory@0 { device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; }; + + clock_si5338_2: clk26 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <26000000>; + }; + + clock_si5338_3: clk125 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; }; &fpd_dma_chan1 { @@ -116,6 +129,13 @@ &nand0 { num-cs = <2>; }; +&psgtr { + status = "okay"; + /* usb3, sata */ + clocks = <&clock_si5338_2>, <&clock_si5338_3>; + clock-names = "ref2", "ref3"; +}; + &rtc { status = "okay"; }; @@ -131,6 +151,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 2 PHY_TYPE_SATA 0 3>; }; &sdhci1 { /* emmc with some settings */ @@ -149,6 +171,8 @@ &uart1 { &usb0 { status = "okay"; + phy-names = "usb3-phy"; + phys = <&psgtr 0 PHY_TYPE_USB3 0 2>; }; &dwc3_0 { @@ -161,6 +185,8 @@ &dwc3_0 { /* ULPI SMSC USB3320 */ &usb1 { status = "okay"; + phy-names = "usb3-phy"; + phys = <&psgtr 3 PHY_TYPE_USB3 1 2>; }; &dwc3_1 { -- 2.32.0