Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4558446ybi; Tue, 30 Jul 2019 04:12:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrql/eNEyb9p4gYGSTjNFvgt4x1bCcpFZTaUj5B8vq53551RmKBz6p8Z6agg5x0yxXv0Vg X-Received: by 2002:a62:1515:: with SMTP id 21mr42366992pfv.100.1564485156446; Tue, 30 Jul 2019 04:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564485156; cv=none; d=google.com; s=arc-20160816; b=T2+dbYeCp4XhwQ9e3Nb3NAK+pdTFV7AMpfS6Yh7E/nfKlY4WtCbBzfOmhiscEzV+eh RZrOGpVo54HLRAr35jRfOSVlhzIQvxcnd3pYUlj4vyuo14DZGfIziCBi+csl3aWUfnq5 sIkLq63gHDExcDM8gOKojuVT6qfM4A6/jSWcTDZARvCVnB66hvLbJzeE1bmwryZ3C485 qvVacLFRzQSrbK1MBmy5Mv8fT4t6HDqLJuphI17ClhsKPTOByOAuhwKELek9a6C1SOox 6gh5NB11wOk/8VJiWy4rnKlC6n9eTc5zSZIMhV80N0WHFgQHDBC/eO8ccHcTlchlNpBk CXoA== 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=ebGwSNvGAm9dwZWJOFsqUvmHnWlE47NBby7q9zUrFhg=; b=I6Et4KPHNk+WEKTMprYLUvD4MIceE1NYXBZaKOxmObNkha7KwvD/EtCSOcnoYtxmt8 BtFloTQDo+Bbc+i+9PpSPmNYA5l2Cc6/xmap3dxCoGGjA2O+qjPVvB1AIbogIqwiwJIe IFNPuHG1LFbnTnP7FYJzVIHEcE91KMtK+KNoEdiC6SdC0HpYuir6LuMDzA6VncWqzktP QrbMFqHLuXFbTEDNLJmJp2MBGxdh9PQ/7n7MM4H0eZdicGredtKyHzyZg53YU8NUUkxS dv/PB0a1yenhE28/qyIbFCIbuFwP/e2pXkh+IUWHpbaSWmL1bEOinMy40+hHpR9mHURe 45Gw== 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 d12si28820265pla.121.2019.07.30.04.12.22; Tue, 30 Jul 2019 04:12:36 -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 S1729852AbfG3JQO (ORCPT + 99 others); Tue, 30 Jul 2019 05:16:14 -0400 Received: from inva021.nxp.com ([92.121.34.21]:36294 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729186AbfG3JQK (ORCPT ); Tue, 30 Jul 2019 05:16:10 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AC7B6200197; Tue, 30 Jul 2019 11:16:08 +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 3052A20018A; Tue, 30 Jul 2019 11:16:05 +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 7DDCD402E8; Tue, 30 Jul 2019 17:16:00 +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 3/3] arm: dts: ls1021a: add ftm_alarm0 DT node Date: Tue, 30 Jul 2019 17:06:34 +0800 Message-Id: <20190730090634.25070-3-biwen.li@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190730090634.25070-1-biwen.li@nxp.com> References: <20190730090634.25070-1-biwen.li@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 The patch add ftm_alarm0 DT node - add rcpm node - add ftm_alarm0 node - aliases ftm_alarm0 as rtc1 Signed-off-by: Biwen Li --- arch/arm/boot/dts/ls1021a.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 464df4290ffc..2a14a1fdd2da 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -66,6 +66,7 @@ serial4 = &lpuart4; serial5 = &lpuart5; sysclk = &sysclk; + rtc1 = &ftm_alarm0; }; cpus { @@ -985,5 +986,19 @@ big-endian; }; + rcpm: rcpm@1ee2140 { + compatible = "fsl,ls1021a-rcpm", "fsl,qoriq-rcpm-2.1+"; + reg = <0x0 0x1ee2140 0x0 0x8>; + #fsl,rcpm-wakeup-cells = <2>; + }; + + ftm_alarm0: timer0@29d0000 { + compatible = "fsl,ls1021a-ftm-alarm"; + reg = <0x0 0x29d0000 0x0 0x10000>; + reg-names = "ftm"; + fsl,rcpm-wakeup = <&rcpm 0x20000 0x0>; + interrupts = ; + big-endian; + }; }; }; -- 2.17.1