Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp552899rdh; Tue, 19 Dec 2023 06:59:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IFL/NWIaFZmh0Fz1BikNbqv0MyuqxIUUgsMWnOB68Z5AVqs7VlDV+GaFm9Y9n44r2BjRkVO X-Received: by 2002:a17:903:2442:b0:1d3:5645:fbd0 with SMTP id l2-20020a170903244200b001d35645fbd0mr6077346pls.134.1702997974775; Tue, 19 Dec 2023 06:59:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702997974; cv=none; d=google.com; s=arc-20160816; b=WHOdfDwtRK9RbjfjJP3eDX5dR8YweE/otxIWDzwejyfNsLy/iTQecm/Y4ozAHmGQZy l8Ugv239YGWdNUydXhaSHbqifxgXsugD95/QtdV4fS0aFe5oKiRAn7rR7gr4emYZ3CWq 7E5E4pHA8px2yoJJHGy60YXh/FKipkIFGukBYZ+gJqSCG6WZjQnnvbhKUQJhyVrIzFtn 5Rmq36sz2CamaXMGNljVB8Km9KCdwNveXrM8974HuWrEigOmdRWow4LAFfqh6wj79Ru7 YLLUCSakH+cUk68QRlA2zfyrRTatMYZl3rJzKKLg5iKXOgSRuUeUNkatoBjc5NGT+t6B Eu6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=GWhSlDd6amYp0dqMBlMLTzEjgYNhTl4CRXt6TmXU7lA=; fh=6IUnnv9uwkBrfAtoVniyYWJWHbkQfzj6U5gW0z7Gy4M=; b=fC9buj9UAT1Ll45b0KPR+M1r5uIBKWetsYLkA8VcIzkRaEMA4m+VRg9/0mq9R1NLGW GpzoWj8pI7enOAeP+OCjPe6NFiAZnproIYMXq91lSa8TjdAA9wUclRWO/g8U1FA8gR+g vdrP+zrZHoSUZ/DXbOmPC/q7Lg8wWk15p7Si+/bbZnkOW7eTytrBkzdl0HduQV2i2Z95 5FIa10ZwZahyls8LIJaxCu8aBQP+sUYDzJkA4g2kylRDWegHqUiZZ9eBSMXP1Rjd7jcr gkf7SFjg4Arz12h9QXXqfpogu+YRWUn0yCTz1uUhQh1RvwywOfKNXbqFVMf4GcXule7Y rx8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5418-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a22-20020a170902b59600b001d0b24ebfc2si19346739pls.586.2023.12.19.06.59.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 06:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-5418-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5418-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EE672284250 for ; Tue, 19 Dec 2023 14:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5A0E51C68C; Tue, 19 Dec 2023 14:54:18 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CF4E1C6BB; Tue, 19 Dec 2023 14:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id BCFDD7FEE; Tue, 19 Dec 2023 22:54:05 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 19 Dec 2023 22:54:05 +0800 Received: from localhost.localdomain (113.72.145.47) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 19 Dec 2023 22:54:04 +0800 From: Xingyu Wu To: Daniel Lezcano , Thomas Gleixner , Emil Renner Berthing , Christophe JAILLET CC: , , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Walker Chen , Xingyu Wu , , Conor Dooley Subject: [PATCH v8 3/3] riscv: dts: jh7110: starfive: Add timer node Date: Tue, 19 Dec 2023 22:54:02 +0800 Message-ID: <20231219145402.7879-4-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231219145402.7879-1-xingyu.wu@starfivetech.com> References: <20231219145402.7879-1-xingyu.wu@starfivetech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: EXCAS061.cuchost.com (172.16.6.21) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: quoted-printable Add the timer node for the Starfive JH7110 SoC. Reviewed-by: Emil Renner Berthing Reviewed-by: Walker Chen Signed-off-by: Xingyu Wu --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/d= ts/starfive/jh7110.dtsi index 45213cdf50dc..46836da9940f 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -904,6 +904,26 @@ sysgpio: pinctrl@13040000 { #gpio-cells =3D <2>; }; =20 + timer@13050000 { + compatible =3D "starfive,jh7110-timer"; + reg =3D <0x0 0x13050000 0x0 0x10000>; + interrupts =3D <69>, <70>, <71>, <72>; + clocks =3D <&syscrg JH7110_SYSCLK_TIMER_APB>, + <&syscrg JH7110_SYSCLK_TIMER0>, + <&syscrg JH7110_SYSCLK_TIMER1>, + <&syscrg JH7110_SYSCLK_TIMER2>, + <&syscrg JH7110_SYSCLK_TIMER3>; + clock-names =3D "apb", "ch0", "ch1", + "ch2", "ch3"; + resets =3D <&syscrg JH7110_SYSRST_TIMER_APB>, + <&syscrg JH7110_SYSRST_TIMER0>, + <&syscrg JH7110_SYSRST_TIMER1>, + <&syscrg JH7110_SYSRST_TIMER2>, + <&syscrg JH7110_SYSRST_TIMER3>; + reset-names =3D "apb", "ch0", "ch1", + "ch2", "ch3"; + }; + watchdog@13070000 { compatible =3D "starfive,jh7110-wdt"; reg =3D <0x0 0x13070000 0x0 0x10000>; --=20 2.25.1