From patchwork Mon Jun 14 15:25:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12319309 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD658C2B9F4 for ; Mon, 14 Jun 2021 15:55:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8295B61185 for ; Mon, 14 Jun 2021 15:55:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8295B61185 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=QC5OL5eXwckIUuDuY2pLhlEz5Tx711eCMy4aKePLCCM=; b=z+Yb/H4Gj2w/16 ZwuVEEvZY7jeV8Ksl9etKbb8Gd1NgOltGpy2M5Rfpewo1587YtQ4/wHtZRvl7QhVsNz8CIIwZv0R6 Gd0RimTWxRaUueqcaRrGygF8QWBXkzu2pbhimwHMfDV3h2vu8FG5JN/stnmw31oSQt/WyOz0oVecq gHYV2rSMrpZkmwWaeORxnQ+cc4nukocsCcQ1MutGE1nj16TMVsDy3ZyEEO5I+Hr7QRBKN4hEdu4aK xNcE20U1z+ytqA1gm7547xrKitM5DR7csHCog6S1VbHlVvZRnTTq9M6Nu16XsMiYwPN9v8bTCVbXG HAf8tSwEfHPKOaxG4Qpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsote-00EtFc-8w; Mon, 14 Jun 2021 15:53:09 +0000 Received: from mail-ej1-f48.google.com ([209.85.218.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoUZ-00EjSj-92 for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 15:27:12 +0000 Received: by mail-ej1-f48.google.com with SMTP id c10so17319255eja.11 for ; Mon, 14 Jun 2021 08:27:11 -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=elVcPRyFax/vuSvQa2stk7szZuREtCzIVx2MlOnBUIY=; b=MdDL97PrbbkVMJFMHZGJCq61CW35OvanGwLFGPP2hRiZ3NJ38Rex02sTGoyNOYHwFX YHhCm7FX+RqEksm82OGWyiEh7+//U6wnT2D07YtKth8WvtCIp0XonxO6AVGxJl0eByiX sAXYHRrE++yv3BcaJVBckBjjsMl/A7XKYVzXUEe8S6oWacYH7WX/HlyLdzDJry41Nw4P Y9Fts7ytbqTVCiL+0aWUDJFcvCBqKP5n1ULU9yoENWeatJXrXTJM3xdGmpGW4TC6FTtb 6ViyuCuy5XkTp8UR7St+GzrTOOLPtVUMZgMvbfkhUW3rIeJH5+55Xe5F3QmeYd9EsNvr CqzQ== 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=elVcPRyFax/vuSvQa2stk7szZuREtCzIVx2MlOnBUIY=; b=O9vM/hWFYp+1g4AaXXNwOKFbwwVPrwo23wIk87xZtlSqbIrvm85G7um8JV9uU7/D5O jdx/aK0pulrqAO7Q4rpbO6eeoHBmrlTea+yngBPcjqS0jKJkm4BIy4GvhuwJ2yt8F2L5 vqhgvwGzCXrGkh0cswzcvzHI/cd1/07aOvQn2LWP/zw9B5Wlyy/uik2uziUVJkFUrNE3 wD+vnqZEO+Agky4NxzvtPTxfv7M/nxmvyFgJHymNkR8WHJJHS1rb3fM9kBCoveSSzz4b CGsJT7dTPzgIQ3rdP04EpyoMgwTaUKUWcFWJBHyWT8qvqlvPtdcukLimyTHOfDc4axFw rkgw== X-Gm-Message-State: AOAM532b+6gopIAsUCE72+gcPlMuIqfG51/JHyy7iTvHQ5axrJREbwaI nm2yDzUKV0F1WHIBPgDoQRSRQg== X-Google-Smtp-Source: ABdhPJzZwU4S8wn3K3A+fll5ae9s5u169qVKP5jv3PPz8NWHrTg4UPygaa/vNRzYYv11WJOyhoOfvA== X-Received: by 2002:a17:906:365a:: with SMTP id r26mr16120265ejb.340.1623684370116; Mon, 14 Jun 2021 08:26:10 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id r4sm7537603ejd.105.2021.06.14.08.26.09 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jun 2021 08:26:09 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Krzysztof Kozlowski , Laurent Pinchart , Quanyang Wang , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 18/33] arm64: zynqmp: List reset property for ethernet phy Date: Mon, 14 Jun 2021 17:25:26 +0200 Message-Id: X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_082711_378469_452CB059 X-CRM114-Status: GOOD ( 12.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add information about reset gpio for ethernet phy in case someone wants to use it. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts | 1 + arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts index 339a12b255c1..5ddcfdf48626 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts @@ -204,6 +204,7 @@ phy0: ethernet-phy@21 { ti,tx-internal-delay = <0xa>; ti,fifo-depth = <0x1>; ti,dp83867-rxctrl-strap-quirk; + /* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */ }; }; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts index d9ad8a4b20d3..f7d718ff116b 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dts @@ -2,7 +2,7 @@ /* * dts file for Xilinx ZynqMP ZCU102 RevB * - * (C) Copyright 2016 - 2018, Xilinx, Inc. + * (C) Copyright 2016 - 2021, Xilinx, Inc. * * Michal Simek */ @@ -22,6 +22,7 @@ phyc: ethernet-phy@c { ti,tx-internal-delay = <0xa>; ti,fifo-depth = <0x1>; ti,dp83867-rxctrl-strap-quirk; + /* reset-gpios = <&tca6416_u97 6 GPIO_ACTIVE_LOW>; */ }; /* Cleanup from RevA */ /delete-node/ ethernet-phy@21;