From patchwork Fri Nov 4 15:11:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 15632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp470511wru; Fri, 4 Nov 2022 08:25:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM64lpIubUTVxXPNScGUuRNYh+KVnYh4rWN//MjEEYBLhZVBGHKcIXocPz/CZX7rgmazgzIF X-Received: by 2002:a50:fb95:0:b0:463:526:308b with SMTP id e21-20020a50fb95000000b004630526308bmr34083726edq.424.1667575514881; Fri, 04 Nov 2022 08:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667575514; cv=none; d=google.com; s=arc-20160816; b=s/Tjt7U5lKJbFxpTh1MHIpvoAZhVq5QOI1ffFesbENsZpSHjaCieD1yZbk7IhmDRmC SULzH3citu57gnhaWZLgDW/YV7fr8sSSImp17XnXqAIuYMAtnJ1fvTCcY75GMpjQVq0J svjM6cyPgKAI1ojdtJ8ZRf64rpEev7flFK4UBJTczB46uRYgZ3MSKUyrqNaAJqDY/o7A l2nXyIfWiFWmAFIh+kjeK7o6thkPaRrp57tcT/0uML9O9g4BNqExPsrtG86kB2R+5SIZ Vv45BkoO8l4JPjVyGgK6boG6XN7TMmuYfXUTxJE9UheSzu2l/24s+ZDwzF7nMOZfnVbN aEBg== 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=q9evOsavg/e6cqMOswqH0+lyRBWTsgPPhATe36gWVV0=; b=WJxt3flPkNOZXo80VAokmueHtxZSXSVNtQ6LEPa6qcwEIfvB33AyCy7ZBqDQXIwtay OMnj3/hVHRXJVDM2sMoTVwJoyvY4ruzD1bndz9f86M5nN5wvU7a5o8LU9oNieXXyFVFH kvI8Nd9yQ8b7SOIUZEDAyl9iYO2d0NsVygD7Dm1Is2QIsphx+uBT6txTdBxv4O1mXU/4 d9atSJHRsxYEb0fXc3OHVfMlIDxOCcFMhmx4KhgC0qgEFFoa3S6boBl/YITf+6igrBXS /xYTB0VGnYP/gRSvmcnN/WKa1BBTxmetewPqVCN0lOAdosT1RgJt6YvdHrI4jgTtz9AW 21Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=ljZvny4C; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq32-20020a1709073f2000b007ae3958c7besi2114034ejc.97.2022.11.04.08.24.48; Fri, 04 Nov 2022 08:25: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=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=ljZvny4C; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232444AbiKDPLy (ORCPT + 99 others); Fri, 4 Nov 2022 11:11:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232416AbiKDPLt (ORCPT ); Fri, 4 Nov 2022 11:11:49 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C9E1A823 for ; Fri, 4 Nov 2022 08:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=JOVuoroMmclj85 IdPx8hDa/26Hnz5KqcoiWVRS45MSw=; b=ljZvny4C80LiKFPIQlZIs7dlGy6jJS 5TT68va5uSwL0c1PCNUA94EetM730zSgcWz4YqKv2dx0fOjj173yn28b2oL4+Mbm VNa7b3PGQ2bp8Li/3VHsbTY5yJrfLs6luFfOp6MCQ4GXHPcqAw0M/5nm+NMvA6s6 d88S4fri3//js= Received: (qmail 3148262 invoked from network); 4 Nov 2022 16:11:45 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 4 Nov 2022 16:11:45 +0100 X-UD-Smtp-Session: l3s3148p1@VtfrfabsGS1ZD+8G From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Thanh Quan , Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] arm64: dts: renesas: r8a779g0: Add CMT node Date: Fri, 4 Nov 2022 16:11:34 +0100 Message-Id: <20221104151135.4706-3-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221104151135.4706-1-wsa+renesas@sang-engineering.com> References: <20221104151135.4706-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no 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?1748579663255771645?= X-GMAIL-MSGID: =?utf-8?q?1748579663255771645?= From: Thanh Quan Signed-off-by: Thanh Quan [wsa: merged the fixes into this one and rebased] Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a779g0.dtsi | 70 +++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi index fbab9817cc8c..0ea48fa18df3 100644 --- a/arch/arm64/boot/dts/renesas/r8a779g0.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a779g0.dtsi @@ -214,6 +214,76 @@ gpio8: gpio@e6068180 { #interrupt-cells = <2>; }; + cmt0: timer@e60f0000 { + compatible = "renesas,r8a779g0-cmt0", + "renesas,rcar-gen4-cmt0"; + reg = <0 0xe60f0000 0 0x1004>; + interrupts = , + ; + clocks = <&cpg CPG_MOD 910>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 910>; + status = "disabled"; + }; + + cmt1: timer@e6130000 { + compatible = "renesas,r8a779g0-cmt1", + "renesas,rcar-gen4-cmt1"; + reg = <0 0xe6130000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 911>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 911>; + status = "disabled"; + }; + + cmt2: timer@e6140000 { + compatible = "renesas,r8a779g0-cmt1", + "renesas,rcar-gen4-cmt1"; + reg = <0 0xe6140000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 912>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 912>; + status = "disabled"; + }; + + cmt3: timer@e6148000 { + compatible = "renesas,r8a779g0-cmt1", + "renesas,rcar-gen4-cmt1"; + reg = <0 0xe6148000 0 0x1004>; + interrupts = , + , + , + , + , + , + , + ; + clocks = <&cpg CPG_MOD 913>; + clock-names = "fck"; + power-domains = <&sysc R8A779G0_PD_ALWAYS_ON>; + resets = <&cpg 913>; + status = "disabled"; + }; + cpg: clock-controller@e6150000 { compatible = "renesas,r8a779g0-cpg-mssr"; reg = <0 0xe6150000 0 0x4000>;