Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp258003ybv; Wed, 19 Feb 2020 20:56:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzmhtjoMRMzw1Aen2Y5PxCSeJXbET9tb/sbX1PfSbHbLJh1A+hol5ir4zxrwK7znd40vqqg X-Received: by 2002:a05:6830:16d0:: with SMTP id l16mr22742301otr.83.1582174608930; Wed, 19 Feb 2020 20:56:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582174608; cv=none; d=google.com; s=arc-20160816; b=fso/5bXaZ9vZ3aVlT3ZSOWnKE07fkwm6WiZ6p47oBZ3UY0JInqMh2BMlzjQP5lFAwa F1pUy7zLqKj3p6mFojzwaxl11HDokz4uCHTX9oTWuwsuBvSrLegJXgV5GKNKXHGeUXBm hAniQzHCq+34Xl+1VrIHL0SOO/ybGirPVCQZnqNvPOkIHgwoGLSwtxsp2acDbZiH+6Eg lQjUcfSVuBYMO2ODo7c73aX7f86vXGR3+ioweVOFZhG18uLG7bYV7YXP0/FkX9iIQmv/ R/dkb3i0jsXVazUqBvtB+KB6ybXSD07UI6mSohU5+83S0GDaply0kgdwHbpnbFurEmYT QLVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=vyzGchneRWZFuApS6NjcdI7z14YIh08Fj9NOK3VTFn8=; b=X+XvYs/BGuMxEfy3QHRCzo3zx2JG/9Vl+h3ZBTuiivufaGWoYBFSgS6MlM2W3LPtVo yr0U81xyxcOITbGr0xy+DNOTNirkCyaHfseQsz/3Yur+AezFp3xUv10gk9H7hKTo2v65 8q9Sk6pTOcWjgODQPNWKt0i8X652aaWsWJzH+B4ruurlxZrAs4ZN9txBNARxfbMDw80Q piyqyJAj8wBKKBYPk112siVnlaAMCSzCSvoMYTKaaFOs5M53+tYft9Cm1L2qpLrHpl0x 1JVF0VEN4rz1jBhOwURKaGw8UbcE5SYx0S+6v83c/4t5qqnFI+VYntZ0eUKD+2iB+89O AKsA== 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 v24si1066402otn.125.2020.02.19.20.56.35; Wed, 19 Feb 2020 20:56:48 -0800 (PST) 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 S1727952AbgBTE43 (ORCPT + 99 others); Wed, 19 Feb 2020 23:56:29 -0500 Received: from inva021.nxp.com ([92.121.34.21]:46970 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727747AbgBTE42 (ORCPT ); Wed, 19 Feb 2020 23:56:28 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 211A72003B7; Thu, 20 Feb 2020 05:56:27 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D73FA20554F; Thu, 20 Feb 2020 05:56:21 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4D45E402AB; Thu, 20 Feb 2020 12:56:15 +0800 (SGT) From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH] arm64: dts: imx8mp: Add system counter timer node Date: Thu, 20 Feb 2020 12:50:32 +0800 Message-Id: <1582174232-14082-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 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 System counter timer is necessary as broadcast timer for cpu-idle, add support for it. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 61cf373..71b0c8f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -358,6 +358,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