From patchwork Tue Apr 18 09:53:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 84721 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2719070vqo; Tue, 18 Apr 2023 02:56:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YKz4DotQiPuyzj1tRi3A+h6VA0mDBd76GB4XRHG85qvrvq71IDmkPl86PeHEH2QmDigBjF X-Received: by 2002:a05:6a00:2186:b0:635:1770:beb7 with SMTP id h6-20020a056a00218600b006351770beb7mr18411998pfi.14.1681811772725; Tue, 18 Apr 2023 02:56:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681811772; cv=none; d=google.com; s=arc-20160816; b=PYR986jC/ho3O6ZIR8WuXc8gP/PZTlN5nBAZjGByBYDAJTuqBq3BEpxwYTNvCuFwkQ U6XYzcvmo+UHxnFxGLDWbTrJoSwpxDiHpypDdhDpo7qAQFog+F+frKaTnvZs9UeRFHor Zl/8AWe/NRSQp1gDIdVP44f6643Cw6GHcM4C1FdbtJGKKTozRvedK/jKGLR5KWsPKH1m Pnxxkx+wScOJhQzbFMyPoCj6HY9IHNX0GZonTBp8Fxtb3SZFdks3pI4ekgdJS3PcG+om TLFKxSkJdjeEfy1oSfSNHzbesSNxqyVl2HDhaP5XGzcslSsoWaFGXwJ2Hb1lfl//HmJe WdpQ== 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=dN1+kxGFApYjxY45bDna0H1CagyZaIp/2D+4DVWAtQM=; b=xtLkhKxAQ+X9SlLEmyv5jxLrTW3/oJnEX8mHpHXp8gpHj6R0B8RO5QFuPQ6bvGGbDN ZGqrtMW8BnscSmHDvc3lfnLkwduVbg6Z8cnkdJMLwmcmkFSKm4LSzy/xi6oQyrX/GAGF 879nsNVV1VQbgTHlt8KeiIrW/t7ebzXv5OrS4D+ZJDQ//Mfe80A5+mwH0X2+bayq1a1A gL0LLwLFqmj7JusZ/UPLVeJ36LFnehxymVuSZk0lLYrH7aGW21u4WGnSfgOrea7riXM+ kYw81dIB1J2UdZ01ctGSrDS8gPwDOjLX/bKgOXQqA4MByYQKL9RSU5F4Dptx5Ny+G3x7 aRFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=TjbuKj8n; 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 y18-20020aa78f32000000b0063b239ab96asi3638216pfr.360.2023.04.18.02.56.00; Tue, 18 Apr 2023 02:56:12 -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=TjbuKj8n; 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 S231335AbjDRJyJ (ORCPT + 99 others); Tue, 18 Apr 2023 05:54:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231305AbjDRJyF (ORCPT ); Tue, 18 Apr 2023 05:54:05 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 091E87686; Tue, 18 Apr 2023 02:54:00 -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 88EF56603244; Tue, 18 Apr 2023 10:53:59 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681811639; bh=v003HEWWtLqoOjeAVr+uR6+doRjgZBOm8N/Wl6TsWrw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TjbuKj8nXuULJILdNs+8F8G72jRvHDa4gO8zPUEU4rNlkRP5bnjsjhtOBPlr76fMc yMSTMxxVK/CIGaetvbDHjEWFgI7l6c9JiiwEC8c4rHbBTZlpDvXbeCh5WVUGRlR5MJ wmpkyybFd/mzdQTKaKblAtIVfUSHQ/8G1TPW1wn6Vlg5eY66WTKNYRea5b5wh6ND4h zoRR4YGZlWF058tGkiNtBGhj3sDC/FFK5B1CXFcWeyH1KMxzSDofOtqcjtdbX9ab26 vmBlgLJih51IN8F0ipl/cvfOWQzCa+pLD5foqHjFBJt0cri1QOy5UubQM61k3pyCuZ Jc5e4/JN/0tdA== From: Cristian Ciocaltea To: Daniel Lezcano , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sebastian Reichel , Sugar Zhang , Shreeya Patel , Kever Yang 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 3/3] arm64: dts: rockchip: Add rk3588 timer Date: Tue, 18 Apr 2023 12:53:44 +0300 Message-Id: <20230418095344.274025-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418095344.274025-1-cristian.ciocaltea@collabora.com> References: <20230418095344.274025-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?1763507461518876883?= X-GMAIL-MSGID: =?utf-8?q?1763507461518876883?= 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..acd89a55374a 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"; }; + rktimer: timer@feae0000 { + compatible = "rockchip,rk3588-timer", "rockchip,rk3288-timer"; + reg = <0x0 0xfeae0000 0x0 0x20>; + clocks = <&cru PCLK_BUSTIMER0>, <&cru CLK_BUSTIMER0>; + clock-names = "pclk", "timer"; + interrupts = ; + }; + wdt: watchdog@feaf0000 { compatible = "rockchip,rk3588-wdt", "snps,dw-wdt"; reg = <0x0 0xfeaf0000 0x0 0x100>;