Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2817027ybd; Thu, 27 Jun 2019 20:41:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmlyps8T7SoKTW23Yvqps4PmBo2YoJ63fp/5wNe5V/snzobS6eFmzlvNo3LTgVvFM5QTtN X-Received: by 2002:a63:2249:: with SMTP id t9mr7200999pgm.149.1561693313845; Thu, 27 Jun 2019 20:41:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561693313; cv=none; d=google.com; s=arc-20160816; b=q7FIv2i4Ctl50MwY2aqLofP9ZrDxfXBKdpoPg3vP2JqqVbIevUmReaChlqbwfZRjXO vLHuwVXNsCLWDaF8x/a2hzBMSumWFSNwISCqkUOIU4XCHa+iEl9dIvgOFtlt/tgVCG6I 1oCEobhbYRnchYE9uepjduxbdD6G5C2OXke+Ba2E7YKcgC5hGD0meggFpOxBcpWxErok Fujj5KuCB9xB7s4DnTNcKXPnT5kZLKAUB6qaFEzWxDTWWrjD5I7fDO6YACsRY9TlFsIy 95B8ST1/9fM+9m9uPYL4UF9gIW2zAAXwekV/UM1B45jPneYGQHz9Y71gjcbFteh5xCLt UuVQ== 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=T1flN8rj7uLo4RkmLxsbsJ/wVXf/OssaPavUHvrE+Lc=; b=gDayTOjr0GtOVL1hjyXK/m45dan2WUyNi3StiL8cCfdI70+/zwF5L+Wax9WDrjSCgS 6PuaOsgBN3DA5dyvPb3yAXZVgrKsi9Rbmq2YCvuXLtXnpUSIBXeVfH9bdLq/rllqG5Cy SXXmZQzYlZ/lDrA3rAu5FlTK2d7GwkwYw1ykGX7lmAGItD15e7ECyWmnepho3ebyjl5S jLXdHIfGea9jxqvw8Pvir7U87dtwfNawpLdAyGTD0g2P3wDkk4Dgx14eSwFA/i84tJGB BjT4wn//5GV7IdDk78g868ypeuwSQjVQgAzBknQkIHZRGlphZ6FW6XIaT3OZLRaUl3f5 2z4Q== 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 j2si1062604pff.230.2019.06.27.20.41.37; Thu, 27 Jun 2019 20:41:53 -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 S1727257AbfF1DkO (ORCPT + 99 others); Thu, 27 Jun 2019 23:40:14 -0400 Received: from inva020.nxp.com ([92.121.34.13]:52406 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726817AbfF1DkN (ORCPT ); Thu, 27 Jun 2019 23:40:13 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 778DB1A02E9; Fri, 28 Jun 2019 05:40:11 +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 BD7131A02D8; Fri, 28 Jun 2019 05:40:00 +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 A72F740318; Fri, 28 Jun 2019 11:39:37 +0800 (SGT) From: Anson.Huang@nxp.com To: daniel.lezcano@linaro.org, tglx@linutronix.de, robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, leonard.crestez@nxp.com, viresh.kumar@linaro.org, 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-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linux-imx@nxp.com Subject: [PATCH V3 5/5] arm64: dts: imx8mm: Add system counter node Date: Fri, 28 Jun 2019 11:30:41 +0800 Message-Id: <20190628033041.8513-5-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20190628033041.8513-1-Anson.Huang@nxp.com> References: <20190628033041.8513-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 --- New patch: - As i.MX8MM clock driver will be soon moved to using platform driver model, so the patch series I sent out for i.MX8MM system counter driver support will need rework accordingly, so I add the i.MX8MM DT support in this patch series, it uses same method as i.MX8MQ's system counter driver. --- 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 63f4731..aa985a0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -528,6 +528,14 @@ #pwm-cells = <2>; status = "disabled"; }; + + system_counter: timer@306a0000 { + compatible = "nxp,sysctr-timer"; + reg = <0x306a0000 0x30000>; + interrupts = , + ; + clock-frequency = <8000000>; + }; }; aips3: bus@30800000 { -- 2.7.4