From patchwork Mon May 10 16:36:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 12248733 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=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 8279CC433B4 for ; Mon, 10 May 2021 16:38:56 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 0B5B361155 for ; Mon, 10 May 2021 16:38:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B5B361155 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=b4PDXIk2QFNj/Nl81OaZaIKWxJOBUM7boZH4U1dJREo=; b=p03/UFgdf9b4Ip4oFH/dBaw695 OSER78tkFmRCjFhVT/mDhN8IaxFoYZ16zTMkBGRcMRCXUS7CBISbZb5wJi+4TVD4dV2UIc68tdHTn Xt5+yh56BJsvZLfDGpIx98x4DpkQVAM1fufFjCAbxAo5xhYKH90JAxA+n8z3nlF4DsY54D2gWTfHd etAhlroIVBbS+xPYNFsQNydveuSvDrMyUr7ek3u7za42lRUJzK85mBi2uLCR5FP3EvUTRGDMr4Y5r 28OvDcQEldP2WSvG/veQnxdfOp7Oht3srT01jTver3w6Id04XBfVllU/HxV/0UVPoF5PnLG57/Kns DRzo1GMA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lg8uR-00EzzM-41; Mon, 10 May 2021 16:37:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg8uO-00Ezyy-Sb for linux-arm-kernel@desiato.infradead.org; Mon, 10 May 2021 16:37:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=azFO5ST2Nn2MQauTLMiqCfhjldm/wHJbC2Icruyek7s=; b=I8QpvCkhWug/0QOJk9T+Rhjasj P5eemyaMTNyS7IFIBYcuuAEPidyF+JAALw7l6yWhhepGN+bBCgKMevtbuRvLRAGtSb8vL48dUxHnn niVqnwrX3t3iOvxAR9GCrPiAtDV2BI6pLO7TeVll3uV8nVr2lJ4N1SC4e7gBXymXU0IAhPnTPUJHU KjjcaO4QqEpsEv4yqRv9LtJeF6Dn0KvhuBs1SBrdhEGYVL9NwTN/+gWJVQX9hcO/249igTmae5VoN 0dTRkHDDD5+83x3z9RIaadZUGIBklXk9kGJrLoYVWeiby0V2qY0i8sWEPdJrm+F0/CJLgOIrFTUR/ q9+i19kA==; Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lg8uL-008viS-GS for linux-arm-kernel@lists.infradead.org; Mon, 10 May 2021 16:37:27 +0000 Received: by mail-wm1-x335.google.com with SMTP id i128so9541540wma.5 for ; Mon, 10 May 2021 09:37:24 -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=azFO5ST2Nn2MQauTLMiqCfhjldm/wHJbC2Icruyek7s=; b=qUbwdwHV8iU3Hs2PvJt0bUxjTD+9Pp6RQaIz8ON4YBbuEaaQQi4Ea21kIlbRV2HFJ1 GX0zf57HtFNYCGCY/hiYDhf81TgdJLATSOUSO2gG65d1gais6S3ScJU2VAaRZs5zp1GJ dYO2DWD/8xbH9MT2GPOYd1FK5C2hACQDFwYwTU3LfesuL93O05g5y9rLV3HSC4kej3Z5 DtAAwreS5RIzSRSQ4foePi+u8i1DFzRRiT8yPX96WjVR5COv0DnCYQIfNSWJoqj4GI7h BCSpR7covmbavfN1nCeDc0vpWJezob0AxIKFmH7ymwBCOjwsAJyOQM3TREGXGi+ri8BV JKyQ== 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=azFO5ST2Nn2MQauTLMiqCfhjldm/wHJbC2Icruyek7s=; b=pgX8B0YZOCl6G6rQidqdPzXjIyMVMKB4i3owLbEHiV/LvGqkP1p4sE/J6ZgT4LgQow 6HKZCGBPzPtRdPY2treqXz+o8BKw4jfw6zj652Rw7ApAO8y1jVLn2r7GTOxudcCu0Y1s OPTS7lf8ZmenJOgl/VpUZyL6V/w7QfZTemT2qEqwzyoqzlCu6u5/RTiZiecs3KZ9f5fd C10qtMbF+4P4F3/DuxnRyOIXz4wo8RMiUkqt4BSj5fYgY7zZl4lSsD/tChlfwMmDLkus 40GvLWEqlR4G8R9UC5F/9S5VZRbGh4j99T/PAORdqx0V6KEZjSRsuTo8TWu0k5b6/EZ0 VCAA== X-Gm-Message-State: AOAM530K4ucYy/gXWiguDdhCvelmmtzCg0WXmipvSldioZvbou/k6jTr tJaiXGlFgfhTOFfzFmFkEZT48NVJLboRmA== X-Google-Smtp-Source: ABdhPJwMv8QoW5gXAbJ+zle4pP74S96CpwWQk5lyg9rQS1WkUZe5HzIxh1SY2zcBknhRWJo0kgtfcg== X-Received: by 2002:a1c:e345:: with SMTP id a66mr37904184wmh.109.1620664643727; Mon, 10 May 2021 09:37:23 -0700 (PDT) Received: from kista.localdomain (cpe-86-58-17-133.cable.triera.net. [86.58.17.133]) by smtp.gmail.com with ESMTPSA id s10sm22775253wru.55.2021.05.10.09.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 09:37:23 -0700 (PDT) From: Jernej Skrabec To: mripard@kernel.org, wens@csie.org Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, jernej.skrabec@gmail.com Subject: [PATCH] ARM: dts: sun8i: r40: Add timer node Date: Mon, 10 May 2021 18:36:47 +0200 Message-Id: <20210510163647.2731675-1-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_093725_579020_8D0834F2 X-CRM114-Status: GOOD ( 10.77 ) 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 Allwinner R40 has a timer. Add a node for it. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-r40.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 03e054c0bac4..291f4784e86c 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -691,6 +691,18 @@ uart7_pi_pins: uart7-pi-pins { }; }; + timer@1c20c00 { + compatible = "allwinner,sun4i-a10-timer"; + reg = <0x01c20c00 0x90>; + interrupts = , + , + , + , + , + ; + clocks = <&osc24M>; + }; + wdt: watchdog@1c20c90 { compatible = "allwinner,sun4i-a10-wdt"; reg = <0x01c20c90 0x10>;