From patchwork Thu Nov 18 12:42:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1556610 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=bzu/Jk1/; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HvzwH4xkJz9s5P for ; Thu, 18 Nov 2021 23:42:39 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 44B5A82982; Thu, 18 Nov 2021 13:42:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="bzu/Jk1/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1913F82F87; Thu, 18 Nov 2021 13:42:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D98E782982 for ; Thu, 18 Nov 2021 13:42:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wm1-x32b.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso4690409wme.3 for ; Thu, 18 Nov 2021 04:42:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sAC+4/6yItKSaVy4MdKDh+6kJSac4egZc2o5LLwZsK4=; b=bzu/Jk1/I1mKvxblTcN51+oeU2XQLh12iwbcxdcXguVB8AuqN5Jh4KQdrnuKHEMSMm EepSMEMwG6DB0n4dqsPOErmwiopzhcszau8lah5MGXhoOjkCqsaaVc6tfyKSCU/G7YOH LaH7jSHrjSkHn201AmVc4gvLncGEhB1RuHIofcAueS1759ZrUHdzZlUjgYmQIUQqSjjK FbYdgRRPF6GZDx2Arnejjhz5oWTuU7yg9kFmxV999CAMbT7rWspLENLFx/EUbr21HWbA BHl/R+K/B13biVke46DZYVDireFxelxxpM6KgQhgUS7ddH0t0kl1K7yBVeyk8AJXjbw7 +RgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=sAC+4/6yItKSaVy4MdKDh+6kJSac4egZc2o5LLwZsK4=; b=L7a6Jt3tiZcE0HXAgTOSt9BX1Qt5J13/M6oHqF4ONX0HBH8naFkP/gWWNfHnouibfp Wm9TwHdmRlO1/fPgr5ORZ9Ck/mdv4Fp0F08Elpx4jiTupC19vJyC8aF7IegKQyDCmRg1 N3Lma8j90EHv0lOtwqcRI8aGewNxl/0jnSz1Rr0lyZoVJ5cHtR6LvEkh1Ysn6nhURvwR LaD3pQhoE0ZlFs7ENYDtaY4YI50vdLBZOF+eDIqWVQlzaBGRtggqoZcf65E/Gv6uzh/K 8MoT935/gIY7Ec4KxZ91aEsvbuuevU02b/ml/aYR2Z3M2TIK4Xgxm6Ub+fQ1Sc5ddXJo gclQ== X-Gm-Message-State: AOAM532y6mWZ0x2BnV5/uD4CIWDx9okHbi2Deusq5F6TJFqWMmIlPgyN Ck048+V/qq0DuQJCXYBGsXJj6Z1EX2yqUQ== X-Google-Smtp-Source: ABdhPJyV/zYGrue5z8YOJEDZdWSbRuB7EMWMbysmpFdCPGipEFknDrCc4E1lPc9Frtv5KmzjrfJeFg== X-Received: by 2002:a1c:5414:: with SMTP id i20mr9748910wmb.88.1637239349305; Thu, 18 Nov 2021 04:42:29 -0800 (PST) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id g198sm3213691wme.23.2021.11.18.04.42.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Nov 2021 04:42:28 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Amit Kumar Mahapatra , Srinivas Neeli , Stefano Stabellini Subject: [PATCH 1/2] arm64: zynqmp: Add resets to all GEMs Date: Thu, 18 Nov 2021 13:42:27 +0100 Message-Id: <041362197e8de8e9c696da64429107505bdc0c73.1637239345.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean There is a need to get IP out of reset to operate properly. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 07d4d4b91201..2264a80e3312 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts/zynqmp.dtsi @@ -533,6 +533,7 @@ #stream-id-cells = <1>; iommus = <&smmu 0x874>; power-domains = <&zynqmp_firmware PD_ETH_0>; + resets = <&zynqmp_reset ZYNQMP_RESET_GEM0>; }; gem1: ethernet@ff0c0000 { @@ -547,6 +548,7 @@ #stream-id-cells = <1>; iommus = <&smmu 0x875>; power-domains = <&zynqmp_firmware PD_ETH_1>; + resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>; }; gem2: ethernet@ff0d0000 { @@ -561,6 +563,7 @@ #stream-id-cells = <1>; iommus = <&smmu 0x876>; power-domains = <&zynqmp_firmware PD_ETH_2>; + resets = <&zynqmp_reset ZYNQMP_RESET_GEM2>; }; gem3: ethernet@ff0e0000 { @@ -575,6 +578,7 @@ #stream-id-cells = <1>; iommus = <&smmu 0x877>; power-domains = <&zynqmp_firmware PD_ETH_3>; + resets = <&zynqmp_reset ZYNQMP_RESET_GEM3>; }; gpio: gpio@ff0a0000 {