From patchwork Tue Apr 18 12:06:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 84818 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2795860vqo; Tue, 18 Apr 2023 05:12:15 -0700 (PDT) X-Google-Smtp-Source: AKy350aCdTXvYeulW3Z0SwS5rNoTHTbsYevZErp0/yhcX/nBmuiF7hnU9XG5Y/i8mu6YE331SfRb X-Received: by 2002:a05:6a20:29a4:b0:ea:fd64:6a60 with SMTP id f36-20020a056a2029a400b000eafd646a60mr16534140pzh.57.1681819934650; Tue, 18 Apr 2023 05:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681819934; cv=none; d=google.com; s=arc-20160816; b=P8pwsXO6J2R/HMcu8LEUTanF3xc8rcfRd8zwHjqQM7M1pEysnXCyrbQLRFrixPOUEd /ufMsK0rcvVs+qj10XHq6xZRuAegpWQRi8Q+6AjYOgYjmNbsJQSeKmZvsVY22DO2kwT+ +lkuPxki6j15u+bheTJ/naEgyU/UJbzrZEmz5MvHZ/MNjTLSdrxwDhseAa/V2cIaTQJm neMp5L8djuKjVmAo8vkgenPe8WuDeqqOUHAENRz4EW5FD+clzj82+7odSAuqlofKw0Nw ZY828aYYMX5xbGnSM4+DrXuWTwQyvCdcrRaoYgyM3ozGNbXSWuLLg0ID70wKPxkLpIAQ SAVQ== 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=mxSlP5D8o1R1CqdtHOXnwOpb81MTa+xt8oHHoLQfru04Xm6s8U32W9UfxEZXpOAndB pf5+cUmFDwb1Dwl0v6IVVuBIKqtITkUyO4+yiRcCwTSY2bePxtMMWkDECrMvaCDfRO3R olrszLzOZSWychieEY3fpFZzegXIZfOuTSLMdZVmFhlAv7laFx0AIneZuXzVnQZ7bnBk 4wD1S2w8EmsyeFcBDoAZ/ylzJtRRFBJUFQhSfw9PElAvCUr9QWO2OTe6sqd/I25w4Lws xpHnmyBX/XZRnxX4u6bulvgx+5RioqygzH6EvEsPZnqQJjrb/8dO0y8hBpuvxrZTuqfV //4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=oFDWMnpZ; 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 g6-20020a635206000000b0051892919b7csi13926233pgb.420.2023.04.18.05.11.59; Tue, 18 Apr 2023 05:12:14 -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=oFDWMnpZ; 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 S231642AbjDRMI6 (ORCPT + 99 others); Tue, 18 Apr 2023 08:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231536AbjDRMIg (ORCPT ); Tue, 18 Apr 2023 08:08:36 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20192B75A; Tue, 18 Apr 2023 05:06:39 -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 C125E660320E; Tue, 18 Apr 2023 13:06:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681819598; bh=TQcB5X4iZIViJGyWOJ/d+KxnISkUh4MekvbHwYmTdXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oFDWMnpZdoO3UisFSu/SMZB0jfMFuAlpH18h+bsJa8M+zrtPMfDOCYA6Whd8lcZTY rRPbnp2pBY1oFfAtEi52kGJnz3moIECfOzNLDViBcUfevkKAIQCy1TLUYxw6SGwsnq IFsMYYrSIy50dnRLUZoGxhbcWukNgm3/mDGe+lkKVlrWlgeo0i1asK6Se+NHdOYkMz QG8aT1X/GC36M9hz+E+s0qmIVwt7pdecBa2NACIskLnH67ITi1RcsqkLcDPwxLmZCv KLV8M13KYk/fo0TLTrHz9kbBmzYQ9UvItdZTtYnb0OkoFs9wv1sYjyqGDyclq9LF5b 2jlEX/8tWz6SQ== 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 v2 3/3] arm64: dts: rockchip: Add rk3588 timer Date: Tue, 18 Apr 2023 15:06:24 +0300 Message-Id: <20230418120624.284551-4-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230418120624.284551-1-cristian.ciocaltea@collabora.com> References: <20230418120624.284551-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?1763516019483547886?= X-GMAIL-MSGID: =?utf-8?q?1763516019483547886?= 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>;