From: Chuanhua Han Date: Thu, 23 May 2019 17:22:04 +0800 Subject: [U-Boot] [PATCH 4/7] armv8: lx2160ardb : Add pcf2127 node In-Reply-To: <20190523092207.41906-1-chuanhua.han@nxp.com> References: <20190523092207.41906-1-chuanhua.han@nxp.com> Message-ID: <20190523092207.41906-4-chuanhua.han@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch adds the pcf2127-rtc node under the i2c4 node. Signed-off-by: Chuanhua Han --- 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 at 51 { + compatible = "pcf2127-rtc"; + reg = <0x51>; + }; +}; + &sata0 { status = "okay"; }; -- 2.17.1