Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1018537ybt; Sun, 14 Jun 2020 07:39:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUpH6mTdx/UNphluJVAyufoCHStYyDpS951St1Z0x5OYkZvt/3wxPIWWcB99rILmuWXHjO X-Received: by 2002:a17:906:3154:: with SMTP id e20mr22429975eje.171.1592145588507; Sun, 14 Jun 2020 07:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592145588; cv=none; d=google.com; s=arc-20160816; b=PENoy4RPBT6VLhuCEYkGtQVwMLvAt7al8Ok+UARNqLLQlvBQobb7K0GmAW2OPKRV9P MJ953nLQEx2Vj7pGSV3nXk8BG6K8aSG8otRQLZl2v6uS3w9fmAWa6fCg3kEkYKGYDogR wsiEew7T4IgaA9Au7mA6PsYbaa/dZD9sdBWrFEz0/WtI92EUtYIKXmr6nPFqjD3UXSjH IPGeYMgeElyR1vFhuFdM046RUJmSvyqPyskYQ4HO7oQkXS61gPg5KDNtreOfGG8UNaqK JHLDI9HUUMvB7tYaV1GCxTTJ+WVN9EYx9Z/n7ZCyclmpOsfetSO1sxUKASOEv73YrqsG AT4w== 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=/8Vpff9q+6xfLlqSE4N42v1T/ColI++SQNYeq/FQp4E=; b=v1Y6PbKm/fenRPXt6EQpuN1yHd25AUo3YdTrpgG2tpiVVkcxinzJrxm4P49x4KINcY 7sOLZ+o3lhB96EutMquLDuK8Rh8/V6L96DkLI1WkzGFaiABs5OAPLuMKtiupL1fap4tx P5e1WR2xZOwwX3uBmJW7kwEwo+CK2IyyJ+HYJkQOXPVJt9XRzokJznvregD0dL5YEsaa 2XMjST0xD2V+IdecStWrh4LDJMJfUebG1mXgulVu15oVmZPid5W0sWAYbhM9CWLqsFKa TiLgB0nkFxUsYoe1u7hniYX9pBz2QYV2+dvU0cJ51kb/gwcHCecd2s/p98BzDQ1nVZC/ 3q/g== 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 nh1si7031083ejb.255.2020.06.14.07.39.26; Sun, 14 Jun 2020 07:39:48 -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 S1726970AbgFNOhp (ORCPT + 99 others); Sun, 14 Jun 2020 10:37:45 -0400 Received: from inva020.nxp.com ([92.121.34.13]:39460 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgFNOho (ORCPT ); Sun, 14 Jun 2020 10:37:44 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 43D731A1343; Sun, 14 Jun 2020 16:37:43 +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 C5A361A023A; Sun, 14 Jun 2020 16:37:39 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 31C3D402BF; Sun, 14 Jun 2020 22:37:35 +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: [v2 1/4] arm64: dts: lx2160a: add ftm_alarm0 DT node Date: Sun, 14 Jun 2020 22:32:03 +0800 Message-Id: <20200614143206.24993-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 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