Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8814893ybi; Tue, 9 Jul 2019 23:44:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqygGU292eqBo2qGRVOqw7RuYGkb2YYCwTaHAfeMro7eXP1s6BXAcUVmS3C2lXRGXJsOIHZC X-Received: by 2002:a17:902:a606:: with SMTP id u6mr34451696plq.275.1562741061375; Tue, 09 Jul 2019 23:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562741061; cv=none; d=google.com; s=arc-20160816; b=W1P84omXfZTvBpDUqboue+LSD+IhCmuCXojJhVV+irZFYm/V88tJMgP3+4pEaReNFK lYSDtDwQ5el//jHiVPflYT/Tl/dh+tS1LNY0FnrmXcZr2A7uz6RE4IzcrNk7t0h/qvrF FTgfMmUlZ9zAqFqEgwqKQLnDUe0lvFzjNcP2/2nGoDmt764+nQXtW75EoWbh9SrA+aPc DRMriK01Vs5qbpXX4N3jRSXm/boebNaEDWFsRvYrT/xCIBoHKtaiPbo2VTRYz2uhXKig 0mTTCfjkWTs9zO4L3QTxtVU6qurhplXcgjXGU78WUIgNBhoWMXEZSJz7egBPsuySPKy8 LZXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Eu+9C+0hci8Ik5ni/05pQPRl1h8cUFtjd+7oWRGefdw=; b=QNU3d/RO1WJT00nEQuSWonNN3fyIpkj/r4q76SNWIE2xPs7gQh6FHyU7N+TghdR67Y sS/86QzDq0t0H5yEvnVa0cbrW71koplGi8XHZdsXldNYY56xCnHRF/BuesCng2UvH+rz f8kK8iR4q1mKqJ27n4Vc3ugl2+DPeA8jrRDNGEkjgza4JlDOeiIwzA9BCgkGf4jfOsLm 6o/TYfOGh/+2e5edUC9SuJwFCDtnIvT6x8Pm9tkPPH+GPbV/Yg3Hyzr9sO6FKHEt2GFP frc7kwm5YCWR9b+DV6+vkO8r+41UpCyKWmQXAqdXs3VwSAnOJyakpuzfRXDy2QEWzJJ9 xNfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c38si1376051pgc.65.2019.07.09.23.44.06; Tue, 09 Jul 2019 23:44:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727165AbfGJGkf (ORCPT + 99 others); Wed, 10 Jul 2019 02:40:35 -0400 Received: from inva020.nxp.com ([92.121.34.13]:57912 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727128AbfGJGkc (ORCPT ); Wed, 10 Jul 2019 02:40:32 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E2FEF1A029D; Wed, 10 Jul 2019 08:40:30 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 225361A001F; Wed, 10 Jul 2019 08:40:18 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AE08E4030D; Wed, 10 Jul 2019 14:40:02 +0800 (SGT) From: Anson.Huang@nxp.com To: catalin.marinas@arm.com, will@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, daniel.lezcano@linaro.org, tglx@linutronix.de, leonard.crestez@nxp.com, aisheng.dong@nxp.com, daniel.baluta@nxp.com, ping.bai@nxp.com, l.stach@pengutronix.de, abel.vesa@nxp.com, andrew.smirnov@gmail.com, ccaione@baylibre.com, angus@akkea.ca, agx@sigxcpu.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH V5 4/5] arm64: dts: imx8mq: Add system counter node Date: Wed, 10 Jul 2019 14:30:55 +0800 Message-Id: <20190710063056.35689-4-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190710063056.35689-1-Anson.Huang@nxp.com> References: <20190710063056.35689-1-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang Add i.MX8MQ system counter node to enable timer-imx-sysctr broadcast timer driver. Signed-off-by: Anson Huang --- Changes since V4: - update the clock info using fixed clock node; - correct the reg range; - update the interrupt number as the system counter driver ONLY uses 1 irq now. --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index a1bbd80..2991172 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -644,6 +644,14 @@ #pwm-cells = <2>; status = "disabled"; }; + + system_counter: timer@306a0000 { + compatible = "nxp,sysctr-timer"; + reg = <0x306a0000 0x20000>; + interrupts = ; + clocks = <&osc_25m>; + clock-names = "per"; + }; }; bus@30800000 { /* AIPS3 */ -- 2.7.4