Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4077782ybb; Mon, 6 Apr 2020 23:48:00 -0700 (PDT) X-Google-Smtp-Source: APiQypJdEsHEIn7BO3qttWgL9hxjg8DLTEf0Dh6UCAiI4e9cHALklqO6GZ26KmGNIUT8gnBGsta3 X-Received: by 2002:aca:edcf:: with SMTP id l198mr572146oih.97.1586242080172; Mon, 06 Apr 2020 23:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586242080; cv=none; d=google.com; s=arc-20160816; b=lTzKBSnMsuAJU5BeCG9K2uFXr4/lxYear7N0jM7vKzPFhHHC1Ft4nL4N6uWk53e9A6 duLDhMatgRvSadFENZtW8QzznLD1awFXMFXe9Vst0x0D8v77OPyaj8Uwc6PAU0Hzg3U8 I2JRpc3EsiK32lKT0iDtfGOoztX0J0UjS+RewExajqM9coPJE2QUtmJsiQnWJB7riHj/ 48ZPFT8h9cUvs4eLafz1pvABLd8KSgLrDCLzIJNhd9D3eaMHrE465cW9wku2IhC64mFf j+ktFRM7oI8ECT1DEQ1JEeF0defJQyo9tyBgjvdJ1mLuIIIHEXWp3IePvmsPJUNJpAlo J/vA== 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=HItaHHKXr623/ZCrgBSMNJVze4IOAACm4q/D5pfEBd4=; b=C73lA0Ynus5CUKPTGapYtZdxskKU4fcZcz3zGIrx7GSzyhM1mD2IEIUae9+wGt90aP eyRa1ddWoEGWxPVUyEE9pLhAOoRhFi3+aHupjaJtjMM4I+17QxioPDqMmp9pVVajs2i3 vjkEzhyF8mYMqniwgS9a0B9taqXTRtdHKX7DMr7Ppo4owwEmKmz0jRmc2R/oKn1HYjjE ovG0G0D2QDUb0cBhBGvw+itBHhjjKcyfJK/1D6jxgHCHiHnYsLy+Yb8/Nl6V1d+5TyZr zIROLwpk/0pof2O7FJC3xXPYaqfVklTMKkundooC4iYGLu0dc+alLExCEbS1tTpz6euR IRYg== 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 a6si690740ool.29.2020.04.06.23.47.48; Mon, 06 Apr 2020 23:48:00 -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 S1727235AbgDGGqn (ORCPT + 99 others); Tue, 7 Apr 2020 02:46:43 -0400 Received: from inva020.nxp.com ([92.121.34.13]:42392 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbgDGGqn (ORCPT ); Tue, 7 Apr 2020 02:46:43 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C14CC1A1B55; Tue, 7 Apr 2020 08:46:41 +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 753331A1AD9; Tue, 7 Apr 2020 08:46:37 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id BBB5040246; Tue, 7 Apr 2020 14:46:31 +0800 (SGT) From: Biwen Li To: shawnguo@kernel.org, ran.wang_1@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jiafei.pan@nxp.com, Biwen Li Subject: [RESEND 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node Date: Tue, 7 Apr 2020 14:42:48 +0800 Message-Id: <20200407064251.39244-1-biwen.li@oss.nxp.com> X-Mailer: git-send-email 2.17.1 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: Biwen Li The patch adds ftm_alarm0 DT node for Soc LX2160A FlexTimer1 module is used to wakeup the system in deep sleep Signed-off-by: Biwen Li --- arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi index e5ee5591e52b..e0d8d68ce070 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi @@ -16,6 +16,10 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + rtc1 = &ftm_alarm0; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -768,6 +772,20 @@ timeout-sec = <30>; }; + rcpm: rcpm@1e34040 { + compatible = "fsl,lx2160a-rcpm", "fsl,qoriq-rcpm-2.1+"; + reg = <0x0 0x1e34040 0x0 0x1c>; + #fsl,rcpm-wakeup-cells = <7>; + little-endian; + }; + + ftm_alarm0: timer@2800000 { + compatible = "fsl,lx2160a-ftm-alarm"; + reg = <0x0 0x2800000 0x0 0x10000>; + fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>; + interrupts = <0 44 4>; + }; + usb0: usb@3100000 { compatible = "snps,dwc3"; reg = <0x0 0x3100000 0x0 0x10000>; -- 2.17.1