Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4557228ybi; Tue, 30 Jul 2019 04:11:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwZw3usnlIQ496wDkRVtISnGBt7mCDr9hhkc15V+v3mi5lnzPfl4oT2amsnTPhufQNJorGA X-Received: by 2002:a63:db47:: with SMTP id x7mr107903204pgi.375.1564485083528; Tue, 30 Jul 2019 04:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564485083; cv=none; d=google.com; s=arc-20160816; b=YZx6IfhUMawfUi+XEMAVQNa6B485EmlS3XWEZpSpFeJDtnPynSx6e73PV775AKl9Uh NES0o8MDxMqJZcs92lpKvF1RFb/DRegAQ4kz2mPJ01aC4kfSNjRQ3dzCQjgBBTos6w4i oOOP1R/a0eHXPK+gBrUlf/dFZZu2N+5pDJGDV6JdLVAwNBMnr8Nem+mwjWW+qnd85hWd K4M6iZ0cckBybU3HJpPTh2kSi4gVXufBv81mJJd31ifts7SdBcw6bkIQ0DcIQXt0HqPa +/MqBHgSahcRoZfdaQuqTPc1zEIVkd99dKOh79QYua7fsXw0KqGanp06YxHjqbmMcW4j mSgQ== 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=ZzQo4kB2zhf8q5cTqjTZ7bIGnkxQOnC0SjmGCY/OM1Y=; b=sSxKQK3HuSRfGV8+YYBzIycksGxaiYo3JEO9LTqnHy83I38mfKWGi6UkcWCe0+UmVQ XcC6+VAgQI8IzMQZR6y2Fcq7IZvP8jnHokxiYiTE0fZc6osxfRlMeBhPzXh2fYVzU4Ug v9lxOa4yTK3CL0qU1HJiFqZClYJ/becOQskUk+SDP+6rrBdo4eDuGK3QQ4Cp1A1dquov 43BGfMDO6y5Kg66E4H2XT8UXqL6AUcTNrpcyJ/6pYMqLZ+pZfcwumzWSmLyJxvNBc/uq R0Ga4c++aERlznVehEdjRSTYig44o0VrYikmxxTq3O2kiJrgkIERgjAPevEKojhxhcBy DVZQ== 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 1si26082501plz.129.2019.07.30.04.11.09; Tue, 30 Jul 2019 04:11:23 -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 S1729714AbfG3JQJ (ORCPT + 99 others); Tue, 30 Jul 2019 05:16:09 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36270 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbfG3JQJ (ORCPT ); Tue, 30 Jul 2019 05:16:09 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 4A55320061B; Tue, 30 Jul 2019 11:16:07 +0200 (CEST) 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 C242B20062A; Tue, 30 Jul 2019 11:16:03 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id EEC0C402F3; Tue, 30 Jul 2019 17:15:58 +0800 (SGT) From: Biwen Li To: robh+dt@kernel.org, mark.rutland@arm.com, leoyang.li@nxp.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Biwen Li Subject: [PATCH 1/3] arm64: dts: ls1028a: Add ftm_alarm0 DT node Date: Tue, 30 Jul 2019 17:06:32 +0800 Message-Id: <20190730090634.25070-1-biwen.li@nxp.com> X-Mailer: git-send-email 2.9.5 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 The patch adds ftm_alarm0 DT node for LS1028ARDB board FlexTimer1 module is used to wakeup the system Signed-off-by: Biwen Li --- 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 7975519b4f56..3c66d1e1d196 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>; @@ -543,6 +547,19 @@ little-endian; }; }; + + rcpm: rcpm@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.17.1