From patchwork Wed Apr 19 18:13:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 85526 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp580756vqo; Wed, 19 Apr 2023 11:18:00 -0700 (PDT) X-Google-Smtp-Source: AKy350aVpp1PaThALFwQWn2lAy7TP1nAMKfoG5JDE/7yTKo3gIkWjG8O5Xuc6qi1ECRPDVVbVjH0 X-Received: by 2002:a17:90b:3e84:b0:246:c3e1:c931 with SMTP id rj4-20020a17090b3e8400b00246c3e1c931mr3449662pjb.23.1681928279454; Wed, 19 Apr 2023 11:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681928279; cv=none; d=google.com; s=arc-20160816; b=dstC6z8TI3+uMZW+nCSisO+4CF6tRcih/YFdEtO1hw1Jl2/pHtCRQgAnrmnpOAG/wC u+4gsO97+mqyKHqQNhNTBXNicftebhFWbo+23ez+6/tf+TalP4vm3J5ihRhXeVeneIJR AHqDcQDa56aPKVSH6+uHT6PQDR9dFtsMcH3Smnd9+5b/pPynK+6pYFCPnRW//D9lT2jp dOhqLrkJO7c6p4EL09ivMjLIYhSHZLKaZ+ugMqS6T/rVchI3z2kDNwruuoEBPw8gfDcd gEXr1eqrpZP9Qsu4HHYcpAsBy6WQEx1DFJOAEVwF+ZQesIzh5FNXi2pxlxTLeahpBhCM Sh2g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v61OTmYNWOIuIc3SbWEDr0RcvI0jWb8aJI4daUb8L/8=; b=byNfAQeRTR77HBpY6Yi/VneX5x4CfrWlQzQm9cFP2WJFHS2zvJIvc2MAi4qr37xv5U qcvRrBK+WFBnCmDGhFXpGA21IBrm+e5ZOyrEQvIVFBftecTM+zUJ6tLnUaw9fAE6r1V4 tWuDJ0gRsM4uVTJVJM//O3zIZRBU3/qW+u6FhP6sAiQ3iS2/+L6mGMBohqqtoM1rUPLa oy03yeMLQeSckJ1Re442b0mmGLev5xCOyvEquhavm9DevbVAh+KYNvcTULrz9hYV1hrK vuOTjO7+dJOp/zFIs93f4z8ZyfCfCkJgRPaSoom37SybIA1Btmrgc3uLhIO2QXVopaih qY+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EPHgdn9x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z3-20020a63d003000000b005075581074bsi16859682pgf.446.2023.04.19.11.17.44; Wed, 19 Apr 2023 11:17:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EPHgdn9x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233702AbjDSSNe (ORCPT + 99 others); Wed, 19 Apr 2023 14:13:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233597AbjDSSNZ (ORCPT ); Wed, 19 Apr 2023 14:13:25 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E090F93CD; Wed, 19 Apr 2023 11:13:23 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 74CEC6603278; Wed, 19 Apr 2023 19:13:22 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681928002; bh=TQcB5X4iZIViJGyWOJ/d+KxnISkUh4MekvbHwYmTdXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EPHgdn9xYEw+TX61HqfarA0k01TqnECySqCCmWkz3UmAaDCrMvYF6LjC8aB4T5qck 1oKz31mHEYnIUdMTn0BHWz1C40TL9BZL286XofQrvMK3/qgIBFad5UEtATGU9CNjHy U1qVrKOyLM6ivpzWQUWxiHvZmkpc+xbjPy9OZQjOR6xGTnGa2MfRsLhBA3FItQz33b Fm0LlYDAMHqq1CKtsji1uSBrVW1OfQRvSaSFZ6cJeDU7TLQKw4PbD2uvRXQp9Rj6WN pABD7bQuKmdlu7nl0/Do1gB8jd7SODIZzjd9YqV+U5vbmFFZAsxluiad9ySuWaU63J X66EgPO5uW9fA== From: Cristian Ciocaltea To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sebastian Reichel , Sugar Zhang , Shreeya Patel , Kever Yang , Johan Jonker Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH v3 3/3] arm64: dts: rockchip: Add rk3588 timer Date: Wed, 19 Apr 2023 21:13:09 +0300 Message-Id: <20230419181309.338354-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230419181309.338354-1-cristian.ciocaltea@collabora.com> References: <20230419181309.338354-1-cristian.ciocaltea@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763629627454224044?= X-GMAIL-MSGID: =?utf-8?q?1763629627454224044?= Add DT node for Rockchip RK3588/RK3588S SoC timer. Signed-off-by: Cristian Ciocaltea --- arch/arm64/boot/dts/rockchip/rk3588s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi index 657c019d27fa..767084a1ec43 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588s.dtsi @@ -1400,6 +1400,14 @@ i2c5: i2c@fead0000 { status = "disabled"; }; + timer0: timer@feae0000 { + compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer"; + reg = <0x0 0xfeae0000 0x0 0x20>; + interrupts = ; + clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>; + clock-names = "pclk", "timer"; + }; + wdt: watchdog@feaf0000 { compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; reg = <0x0 0xfeaf0000 0x0 0x100>;