From patchwork Thu May 23 09:22:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuanhua Han X-Patchwork-Id: 1104033 X-Patchwork-Delegate: prabhakar@freescale.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 458mkm4CjHz9sBK for ; Thu, 23 May 2019 21:00:48 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 52F96C21DED; Thu, 23 May 2019 10:59:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 0E7B4C21E74; Thu, 23 May 2019 10:58:02 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 239FFC21D65; Thu, 23 May 2019 09:20:23 +0000 (UTC) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lists.denx.de (Postfix) with ESMTPS id A2612C21D8E for ; Thu, 23 May 2019 09:20:21 +0000 (UTC) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 764D52001BC; Thu, 23 May 2019 11:20:21 +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 7EBD12002E4; Thu, 23 May 2019 11:20:18 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 75DD7402E7; Thu, 23 May 2019 17:20:14 +0800 (SGT) From: Chuanhua Han To: albert.u.boot@aribaud.net, priyanka.jain@nxp.com, udit.agarwal@nxp.com, hs@denx.de Date: Thu, 23 May 2019 17:22:04 +0800 Message-Id: <20190523092207.41906-4-chuanhua.han@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190523092207.41906-1-chuanhua.han@nxp.com> References: <20190523092207.41906-1-chuanhua.han@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Thu, 23 May 2019 10:57:58 +0000 Cc: u-boot@lists.denx.de, Chuanhua Han Subject: [U-Boot] [PATCH 4/7] armv8: lx2160ardb : Add pcf2127 node X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This patch adds the pcf2127-rtc node under the i2c4 node. Signed-off-by: Chuanhua Han Reviewed-by: Heiko Schocher --- arch/arm/dts/fsl-lx2160a-rdb.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl-lx2160a-rdb.dts index 4b526449a1..ca71fbea42 100644 --- a/arch/arm/dts/fsl-lx2160a-rdb.dts +++ b/arch/arm/dts/fsl-lx2160a-rdb.dts @@ -17,6 +17,16 @@ model = "NXP Layerscape LX2160ARDB Board"; compatible = "fsl,lx2160ardb", "fsl,lx2160a"; + aliases { + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + i2c5 = &i2c5; + i2c6 = &i2c6; + i2c7 = &i2c7; + }; }; &esdhc0 { @@ -27,6 +37,15 @@ status = "okay"; }; +&i2c4 { + status = "okay"; + + rtc@51 { + compatible = "pcf2127-rtc"; + reg = <0x51>; + }; +}; + &sata0 { status = "okay"; };