Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8814050ybi; Tue, 9 Jul 2019 23:43:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqysQNDfWqMqAJEIvj3VsSGYJ0Ogdc0EHsMQ6/uCe8m8C4e20kyXJycWXw0wjtx/F5AOk84C X-Received: by 2002:a17:902:9688:: with SMTP id n8mr36296058plp.227.1562740998533; Tue, 09 Jul 2019 23:43:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562740998; cv=none; d=google.com; s=arc-20160816; b=RPPmsNLWo8enaaqQm4UeV3bwEdHU7689iPigjUWem/hvonbTL8y4Azr8FuTj2mg2bx Ar7FL1robxQCqv+dWozCwHz++UwMAAuZOWdtHEfFb5AO0hh02ZM91ALKf7NQMAZGUG/C sluJrZO9MnvAXvomatsFwy0Rx6iCGHMrN57X9EoScRbQMNt6rJEJV7/GKabWs0/PbZHe gBukUJBysTEPmK4ThNDXbgNyTW9mgOBppEpL95/epu51f3lOlORLUcwtxPPqNDqotLcA Wv5FfdCi5cMNHzjhnu8zS8YGOJKywCyol1ku7u7ebk0gXZOes/OykjrbKyhqQZAANkiV bR9g== 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=IVPHX0n+KqJJF0meDc2/josR76u363E+NjLLxcix7ZQ=; b=BMyEvoBj6Dv/7HvT75mBcy/8YBvAEtc0blutGPGo49s/oSYPmj/fkkzKK5YLTtg5MN 5WXNMNMHDSREhYgQARBl97rTkAdy13EN7TfriGnsRnsVFAITJBlgskTTzBYMQeJ/Eewp PhrHnYCPo9n67VMkeX/b1PWSxh+hP9rk+BtItcxarzL+2CFtUIdi1yChvWPP9rhko0gj TYPIdCH6d0zqPWaWNIkzbn9Itb5qfR7TGVhi1mmol/HJJPGxXyUrhY0yycLYdsHgh4tA 9UeQ/X8B52eNAQ+l1Ys50gHurUQciXfbUHZbOYOjYTHmVA8bl43FroMaTz/b99iyXmQd 7Zuw== 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 e80si1395431pfh.121.2019.07.09.23.43.03; Tue, 09 Jul 2019 23:43:18 -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 S1727136AbfGJGkb (ORCPT + 99 others); Wed, 10 Jul 2019 02:40:31 -0400 Received: from inva020.nxp.com ([92.121.34.13]:57758 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727101AbfGJGk2 (ORCPT ); Wed, 10 Jul 2019 02:40:28 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 4A4BD1A0293; Wed, 10 Jul 2019 08:40:27 +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 4818B1A0192; Wed, 10 Jul 2019 08:40:14 +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 7C3BD402DB; Wed, 10 Jul 2019 14:40:00 +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 3/5] arm64: dts: imx8mm: Add system counter node Date: Wed, 10 Jul 2019 14:30:54 +0800 Message-Id: <20190710063056.35689-3-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.MX8MM 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/imx8mm.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index b5637f8..8cf7f34 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -560,6 +560,14 @@ #pwm-cells = <2>; status = "disabled"; }; + + system_counter: timer@306a0000 { + compatible = "nxp,sysctr-timer"; + reg = <0x306a0000 0x20000>; + interrupts = ; + clocks = <&osc_24m>; + clock-names = "per"; + }; }; aips3: bus@30800000 { -- 2.7.4