Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4714708pxf; Tue, 23 Mar 2021 18:58:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDx5wn1nzEqeCcpVEVL8g2qcGHbAdiU7RRh4lA9X8CbV8S4tQTDiTrpYNW1P/RlpRacqdC X-Received: by 2002:a17:906:f247:: with SMTP id gy7mr1115215ejb.183.1616551124942; Tue, 23 Mar 2021 18:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616551124; cv=none; d=google.com; s=arc-20160816; b=AvWbX9k9WTAhEUXDksP5NQeDkNkpzJsEN83b6WHwertW1nAjuKzPuNxbqii++wVyzP OVUq626APcEBjIANi3fQDnyWsSKdZwrp2KzUVfPU7h6VZcZ7QOjoZ3ZyZp1NE1r1qRQ6 26JVJhpvzrNMgNf7K4vo6ULipSUxZxvxH2u/nVH8nw9YPcjs778es/5qHBWptLM9No3T iKQXoCnpwcXVlKpaRqomihEiE6+Q59rcYRvg4q2wAeZ9znLzECdl7S124Ffupe1zCta1 LVZaJ21mLGOMup/GAK48sMMV7kneLK4tM4czGlnO6C0IoeZfyjxGyL0DzNCpU7mZUQmM 7Y+w== 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:dkim-signature; bh=k9Vaz9gbCiGzDFxbKD8l0JESGomqtwi3Gvy71+upcT0=; b=rz+/RJz/EIyDRYAEgBnziRtKGkhWRE84Sx7ON+8bWy1ZQxcZofhN55g+Wf2HKZ5myZ ZIMebz3gGir2mo+OLk4z5VwK/TwFyXn3NZZmCsRGR74fWSry2VJZRIaSaAhdzVkQ5qt+ aSrZ3kmMQdJ6pJlAnC4WaLrJ76qE6ATqFH668s8R4scpWbUyyQQbG6svTy1jf4f0wN40 lf9mnOBdPLkwd5irTf4Idkrb2TPzhYF0lsoQ2GjUjuhj1Ed09UN30Squ6rqPRLZfKOev mkUWonm0xltdh7eK4R2iP+ttqeThweFMHShI+lqzkSBYzaLBUV9qMy/KKvWvQczUEeYP 3IZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OQC4TgtT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si695431edj.156.2021.03.23.18.58.22; Tue, 23 Mar 2021 18:58:44 -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=@gmail.com header.s=20161025 header.b=OQC4TgtT; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbhCWOBK (ORCPT + 99 others); Tue, 23 Mar 2021 10:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231920AbhCWOAm (ORCPT ); Tue, 23 Mar 2021 10:00:42 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9F1C061763; Tue, 23 Mar 2021 07:00:41 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id b9so20889284wrt.8; Tue, 23 Mar 2021 07:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k9Vaz9gbCiGzDFxbKD8l0JESGomqtwi3Gvy71+upcT0=; b=OQC4TgtTuKoOM1fGAto4orkg/MPJxi/XDk8Krl4qpA3moYNKEScvfXNe1APkuhurBW aEmJh8QjeYATUy3VDxke5opEmlPKwg39+JyNClY9t0CTanVhxy6hyPE5FenxviDS+kUu XDRm5DFJ5g2fK0kCxWVO39tbh5mHP2qrmw+03V9Ktv4NsfLQLMI5DzhLufUp4rqSqdKQ GMwm3zGa7oFlnkANiuxO8WRIgDRkfgVQMcXa0fbin6QqWGKm9vSf8gYpi6PW6l8TaBvo sMPpexQa2/DL4UppxsvQxdj0vUH3A+RrxqWAvty2gb8/4qzFKF55MpA8X5kRACUvIgPP 0MnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=k9Vaz9gbCiGzDFxbKD8l0JESGomqtwi3Gvy71+upcT0=; b=s1KwaMmmec0fY4p6nOIdwFqY4OF/jv6Evb+CBQp8kFbZPLxOX9iGryknBU/jCiXzz5 e8HQ34Y0Wk+LgUQe9UAsKS+hqHCwThvtH6ifd84EhECwyGZoKzJdfJIMLvlA+IY4AWi1 E7PxO/xSYkrJd4+tTkKX93+DXxN3dPf6XjLOgZmWwgLFd/PrgGP1gVXZMI2ok2/aKX+c yGMLt18I9UGGfDyDNBblQzD/LM4mWyRIvKBfAaR1dzM/mJR/WKuMHvtBgKT04Oqboffu RNuEEfZlpy6vc9gYV4UepSEgOVnNf/vK8ch/3aqPOSA3zmL8HmHcVyIJMDQEvoOYoP6D t7Ng== X-Gm-Message-State: AOAM532xAq+f1bboXybioHJH2FyC97OkQmyeqwa49WnMtQHy0mbmn5a8 4nhKo6od0sKuFlxCJVraY7a7xS+beIsQLnGS X-Received: by 2002:adf:b313:: with SMTP id j19mr4115195wrd.188.1616508039650; Tue, 23 Mar 2021 07:00:39 -0700 (PDT) Received: from hthiery.fritz.box (ip1f1322f8.dynamic.kabel-deutschland.de. [31.19.34.248]) by smtp.gmail.com with ESMTPSA id 7sm2616070wmk.8.2021.03.23.07.00.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 07:00:38 -0700 (PDT) From: Heiko Thiery To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Michael Walle , Heiko Thiery Subject: [PATCH v2] arm64: dts: imx8mq-kontron-pitx-imx8m: pass phy reset delays Date: Tue, 23 Mar 2021 15:00:21 +0100 Message-Id: <20210323140019.14388-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TI DP83867 PHY datasheet says: T1: Post RESET stabilization time == 195us T3: Hardware configuration pins transition to output drivers == 64us T4: RESET pulse width == 1us So with a little overhead set 'reset-assert-us' to 10us (T4) and 'reset-deassert-us' to 280us (T1+T3). Without these reset delays the board will hang during startup when bootargs has ip=dhcp set. Fixes: 1dc7f3d79a1a ("arm64: dts: fsl: add support for Kontron pitx-imx8m board") Signed-off-by: Heiko Thiery --- v2: - add desciption what issue will be fixed - add Fixes tag arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts b/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts index 91a9ceb10305..f593e4ff62e1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-kontron-pitx-imx8m.dts @@ -90,6 +90,8 @@ ethphy0: ethernet-phy@0 { ti,tx-internal-delay = ; ti,fifo-depth = ; reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; + reset-assert-us = <10>; + reset-deassert-us = <280>; }; }; }; -- 2.30.0