From: Chuanhua Han Date: Wed, 10 Jul 2019 21:05:13 +0800 Subject: [U-Boot] [PATCH v3 2/2] armv8: lx2160aqds : Add pcf2127 node In-Reply-To: <20190710130513.28131-1-chuanhua.han@nxp.com> References: <20190710130513.28131-1-chuanhua.han@nxp.com> Message-ID: <20190710130513.28131-2-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 i2c0->i2c-mux at 77->i2c at 3 for lx2160aqds boards. Signed-off-by: Chuanhua Han --- depends on: - https://patchwork.ozlabs.org/project/uboot/list/?series=117203 - https://patchwork.ozlabs.org/project/uboot/list/?series=114242 Changes in v3: - No change. Changes in v2: - Add dependency patch links. arch/arm/dts/fsl-lx2160a-qds.dts | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch/arm/dts/fsl-lx2160a-qds.dts index 99836c4..34df0f5 100644 --- a/arch/arm/dts/fsl-lx2160a-qds.dts +++ b/arch/arm/dts/fsl-lx2160a-qds.dts @@ -23,6 +23,29 @@ status = "okay"; }; +&i2c0 { + status = "okay"; + u-boot,dm-pre-reloc; + + i2c-mux at 77 { + compatible = "nxp,pca9547"; + reg = <0x77>; + #address-cells = <1>; + #size-cells = <0>; + + i2c at 3 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x3>; + + rtc at 51 { + compatible = "pcf2127-rtc"; + reg = <0x51>; + }; + }; + }; +}; + &sata0 { status = "okay"; }; -- 1.7.1