Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp210576ybt; Tue, 23 Jun 2020 19:51:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5Z4WV0IPSCAY2mnySYfrnkAHt7hARH4mIumGTIaTqbfP9L1KdpNbBi6cxmP6EtompdD7o X-Received: by 2002:a17:906:69c3:: with SMTP id g3mr24252380ejs.47.1592967094947; Tue, 23 Jun 2020 19:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592967094; cv=none; d=google.com; s=arc-20160816; b=VgzptspYXr+2v1PA/D/Cw/aHeEddBVmZXZmDc8xEnDGTAFyPFNkf6vNVm4NporbQKn JhRKqAY6DC2SO0SpRhWzG9GGMdMBYzGKNw2d7PljG1s/20sTmfNYN65EuCgOaPYmkZxA kVK5BmO6lTYc35lS8EBIPUDG97dzBL9eaNN7qds4kWqbPBZrVwrF5VvP53HHSSQcTBmt uUwSTOAPzUxWMLWNedj6WuHgtlHG2e86CfQtFZXGpVQJoWEiFQoXHdHsJqoFZx0OaiEI 4jwzCbmd1I2zHpacXwbZvc4FRVJwDELUujypumyIn0yJ8rSAUPGjmKL24onoG6ehg1s8 ETrQ== 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=/5kGJLQtdN7UZUx42+AWAQj7BzWD66vIHfPPG1UAtfc=; b=03S3G37MDH0aCKViALTk/+Wy1uNcy+SWXgxPgmcx1i8oRplWMazvyimEeF/O9frKKl 5E3aJs1DIixP86HYMm1ZcS379GutSd2ZK8UmWNCsLXba24l4sFS+M2oElBEypZcqfREP w4qUF3Lcx5TODclCPKmmOgIFsEo6MOGCDIbsKQRAmXSZsR69dClkKrlLfevrkCSf0LGc m8bRNb3jBk3gze18cXoX6HYBpowY6p8Re+7h2bN31qwVpkTUmg1i66PGEa/B3GlvGML8 LMK4jMA8/N4srrLPvronoFEHWjyzzEUa5lnlaT4Bt1HRfm33lUHxiA0mwYMOY2kydOPr WHsg== 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 b30si6111793edj.204.2020.06.23.19.51.11; Tue, 23 Jun 2020 19:51:34 -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 S2388466AbgFXCu6 (ORCPT + 99 others); Tue, 23 Jun 2020 22:50:58 -0400 Received: from inva020.nxp.com ([92.121.34.13]:43676 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388166AbgFXCu4 (ORCPT ); Tue, 23 Jun 2020 22:50:56 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1EA551A0163; Wed, 24 Jun 2020 04:50:55 +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 A43951A016F; Wed, 24 Jun 2020 04:50:51 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 03C94402CA; 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 2/4] arm64: dts: ls1028a: Add ftm_alarm0 DT node Date: Wed, 24 Jun 2020 10:44:59 +0800 Message-Id: <20200624024501.15974-2-biwen.li@oss.nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200624024501.15974-1-biwen.li@oss.nxp.com> References: <20200624024501.15974-1-biwen.li@oss.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: Biwen Li The patch adds ftm_alarm0 DT node for LS1028ARDB board FlexTimer1 module is used to wakeup the system Signed-off-by: Biwen Li --- Change in v3: - none Change in v2: - use generic name - use definition arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 055f114..7bcb225 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -17,6 +17,10 @@ #address-cells = <2>; #size-cells = <2>; + aliases { + rtc1 = &ftm_alarm0; + }; + cpus { #address-cells = <1>; #size-cells = <0>; @@ -983,6 +987,19 @@ }; }; }; + + rcpm: power-controller@1e34040 { + compatible = "fsl,ls1028a-rcpm", "fsl,qoriq-rcpm-2.1+"; + reg = <0x0 0x1e34040 0x0 0x1c>; + #fsl,rcpm-wakeup-cells = <7>; + }; + + ftm_alarm0: timer@2800000 { + compatible = "fsl,ls1028a-ftm-alarm"; + reg = <0x0 0x2800000 0x0 0x10000>; + fsl,rcpm-wakeup = <&rcpm 0x0 0x0 0x0 0x0 0x4000 0x0 0x0>; + interrupts = ; + }; }; malidp0: display@f080000 { -- 2.7.4