From patchwork Thu May 13 10:18:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1478004 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=W4z7HD2C; dkim-atps=neutral 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)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fgnhs1CTRz9sWD for ; Thu, 13 May 2021 20:19:57 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C977F82E3A; Thu, 13 May 2021 12:19:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=aruba.it header.i=@aruba.it header.b="W4z7HD2C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6EF1781D1B; Thu, 13 May 2021 12:19:16 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from smtpcmd12131.aruba.it (smtpcmd12131.aruba.it [62.149.156.131]) by phobos.denx.de (Postfix) with ESMTP id C9A7D81E77 for ; Thu, 13 May 2021 12:18:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=benettiengineering.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=giulio.benetti@benettiengineering.com Received: from ubuntu.localdomain ([146.241.190.106]) by Aruba Outgoing Smtp with ESMTPSA id h8QelewxePQJJh8QjlLfiv; Thu, 13 May 2021 12:18:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1620901137; bh=j6/WIp+0TD51lc3dvolT3SdT8KrKcuWGbRKykDOJlAw=; h=From:To:Subject:Date:MIME-Version; b=W4z7HD2CrcboZdcXQaO3IxbYV9EQOyTCqzGI5EgoJ08V+E1pO6NzKUM4MWGC0zx+U j38V6SEy6XLROmmMm+5zMU/l4OyTQtSeCZ9VNK1PiW1cGUbpjfUQ4YaVrGLs7FOwVi ZFwtnBHIQxA5dzz12EjLuzuHJPURe7VOm+9yr+HNyqktuUR5klIZcSgJrKv+Hd8T9r oIpBET6mHoCk0sWydjV2OYgFX+4bZ+e6Dua0lFEPKpRruFfiX41alfi9SLv6pnDbiF BUjKuIOTASCko6lgfSCoQ23iKnj8BjaQjS0BBpyigENW3ibK9sXNQXArQyHxOSUvum 05tWFOuzzd0lg== From: Giulio Benetti To: Stefano Babic Cc: Fabio Estevam , "NXP i.MX U-Boot Team" , Lukasz Majewski , Anatolij Gustschin , Simon Glass , Sean Anderson , Rick Chen , Bin Meng , Claudiu Beznea , Jesse Taube , u-boot@lists.denx.de, Giulio Benetti Subject: [PATCH v3 04/22] ARM: dts: imxrt1020: add gpt1 node Date: Thu, 13 May 2021 12:18:33 +0200 Message-Id: <20210513101851.11223-5-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210513101851.11223-1-giulio.benetti@benettiengineering.com> References: <20210513101851.11223-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfI84qX9Ywge0TODIej3vkGG+Qr9KCe6GWEWwwxpN9n3tC7VOkQaApvzB/YQxNb3yZwKgWpGvj1YxXHiLjd+7epFgfU34OFnSx/xnkGhfTp3eEVnAQxr0 Ce9Wm7nEQBrTRqORBVKz0ngz6yJTRIQoD3T2xMJiHZnSCWVaKZ+f7f7oDG9/oxYnXB0KnE4t+KBtKksvwV2aXr1w5zRIBhzjV+kzeZFiRjgLVRRCaUTz79wi WqKrJ+IywNBLoF/gTSqh76JAx4lCmjEXv9AcNlt6sNQQ7MNlY2+bg+QkyA0eQRFmY15EidjJwliRUqvPUpGK7fgJBGN9DAfR7NHz3HY1bVQoEPo5erjpUod8 er1pcH2sgiVFW28V7zsqp0HM5/15QmuSsNKJqVyASVQtZUTQ3sO/eOQdmGupChApdtpYbCith8s234dKcsXQGIjjmWVLhYFvzaQjU+fcjQu+xFeg7ULuE3eQ HnRbmOIzQ9TnsW6QJdyFgR4mmWWmCXvhRJOE2AFxnPqm7FPSuOOC6M0IZx4Q+8/GzCrk+rBQBhFjTfV2hiMALQtIBhnNu3bid7hPtuZZnsb6PwCzidVKslke 5ks= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.4 at phobos.denx.de X-Virus-Status: Clean Add gpt1 node for using it as timer. Signed-off-by: Giulio Benetti --- arch/arm/dts/imxrt1020.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/imxrt1020.dtsi b/arch/arm/dts/imxrt1020.dtsi index 0a3a3b451a..cab608c644 100644 --- a/arch/arm/dts/imxrt1020.dtsi +++ b/arch/arm/dts/imxrt1020.dtsi @@ -129,5 +129,13 @@ interrupt-controller; #interrupt-cells = <2>; }; + + gpt1: gpt1@401ec000 { + compatible = "fsl,imxrt-gpt"; + reg = <0x401ec000 0x4000>; + interrupts = <100>; + clocks = <&osc>; + status = "disabled"; + }; }; };