Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp210824ybt; Tue, 23 Jun 2020 19:52:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoQ+vIwaSsOFozgrjjlImSDwmIbDon0YQXJCykbj+gnutkPKoUnAykyO5j4fGPQ3nQ9ENY X-Received: by 2002:a17:906:e0c7:: with SMTP id gl7mr9716721ejb.264.1592967124550; Tue, 23 Jun 2020 19:52:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592967124; cv=none; d=google.com; s=arc-20160816; b=KmxC9xmOHPhz8hFLT46I6Et004209/EvMsNDymD3y0uVOz0RGyUDoq562HHZ3IQ45i nespGYFf74lPjz9ZPKvsMokKdRXEPk/JZeJTHlVDqBWlaghsQYYyBjRNVbWKG6QKuQ7F JKsxt2NDCDUVj6u01zrjM+dmx9rgFv32K1zFo0bT5z6AYREfUjvIEW7ZdY5P4oHilXVG R5Nv2DZRIeA2kGNbcCPrVCXApepVAyg3fQ1lAgWjql9ZCSQHTXk8eBA3j7xLXdfHGqz+ d5NpERkXxuwR4JbOsd1YV3Vb/+AbYeUz6CDbuR7flBFWVRtm9QAhXDELSiQZEJ+RYhbg RMaA== 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=DsFE9kbNJJgfMpWYmvkDlS26EU/RJIbbHyh8Kym/GVA=; b=UOTNu/3u3WmVWBWCiIBV2bXPlG7jSgK+Hd1KQqGY15OOhKkUcvRjqXlfCF/lXTpoq+ 63W651q0IalJ2owhHtN2wFfxOCJ9xfNTAvE+3Il3L2H6kRG2qEArKx/UXkk+kMhMdlKb HQ1XXlqvy5QyjGJvyACHqYo/qGbeMgFvHnvwfbHcbiaB4CkeP6JOnncV70Mkk5/2s0mA 2EgfY5bMHz6gi15GrVi1q7HQ+7UYbNbFIM+LOVAOPhaQVLrBQSozPcTCNNrpdWIFXdNg 77UWDYpYrt/AZ2ZFuZ4BktcBOi5ETbWaTEyOn/nImysRME/I2nQz+HLv1dpTU07PIyyV L/pA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id d22si4071844edq.274.2020.06.23.19.51.41; Tue, 23 Jun 2020 19:52:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2388337AbgFXCu4 (ORCPT + 99 others); Tue, 23 Jun 2020 22:50:56 -0400 Received: from inva020.nxp.com ([92.121.34.13]:43660 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387985AbgFXCuz (ORCPT ); Tue, 23 Jun 2020 22:50:55 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 33E481A0173; Wed, 24 Jun 2020 04:50:54 +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 AECAF1A0163; Wed, 24 Jun 2020 04:50:50 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 199EE402BB; Wed, 24 Jun 2020 10:50:46 +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: [v3 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node Date: Wed, 24 Jun 2020 10:44:58 +0800 Message-Id: <20200624024501.15974-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 --- Change in v3: - none Change in v2: - use generic name - use definition 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 abaeb58..d571b7d 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>; @@ -888,6 +892,20 @@ timeout-sec = <30>; }; + rcpm: power-controller@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 = ; + }; + usb0: usb@3100000 { compatible = "snps,dwc3"; reg = <0x0 0x3100000 0x0 0x10000>; -- 2.7.4