[PATCH] powerpc: dts: p1010: add i2c node

Biwen Li biwen.li at nxp.com
Sun Apr 12 14:57:06 CEST 2020


Hi Priyanka,

The patch depend on dts patch of zhiqiang.

Best Regards,
Biwen Li
> -----Original Message-----
> From: Biwen Li <biwen.li at oss.nxp.com>
> Sent: 2020年4月12日 17:05
> To: Jagdish Gediya <jagdish.gediya at nxp.com>; Priyanka Jain
> <priyanka.jain at nxp.com>; hs at denx.de; jagan at amarulasolutions.com;
> aford173 at gmail.com; Alison Wang <alison.wang at nxp.com>;
> jh80.chung at samsung.com; Pramod Kumar <pramod.kumar_1 at nxp.com>;
> Rajesh Bhagat <rajesh.bhagat at nxp.com>; Ruchika Gupta
> <ruchika.gupta at nxp.com>; olteanv at gmail.com
> Cc: Xiaobo Xie <xiaobo.xie at nxp.com>; Jiafei Pan <jiafei.pan at nxp.com>;
> u-boot at lists.denx.de; Z.q. Hou <zhiqiang.hou at nxp.com>; Biwen Li
> <biwen.li at nxp.com>
> Subject: [PATCH] powerpc: dts: p1010: add i2c node
> 
> From: Biwen Li <biwen.li at nxp.com>
> 
> Add i2c node of p1010
> 
> Signed-off-by: Biwen Li <biwen.li at nxp.com>
> ---
>  arch/powerpc/dts/p1010rdb-pb.dts     |  1 +
>  arch/powerpc/dts/p1010rdb-pb_36b.dts |  1 +
>  arch/powerpc/dts/p1010rdb.dtsi       | 14 ++++++++++++++
>  arch/powerpc/dts/p1010si-post.dtsi   |  2 ++
>  4 files changed, 18 insertions(+)
>  create mode 100644 arch/powerpc/dts/p1010rdb.dtsi
> 
> diff --git a/arch/powerpc/dts/p1010rdb-pb.dts
> b/arch/powerpc/dts/p1010rdb-pb.dts
> index 2675d5d92b..9ca562534f 100644
> --- a/arch/powerpc/dts/p1010rdb-pb.dts
> +++ b/arch/powerpc/dts/p1010rdb-pb.dts
> @@ -15,3 +15,4 @@
>  };
> 
>  /include/ "p1010si-post.dtsi"
> +/include/ "p1010rdb.dtsi"
> diff --git a/arch/powerpc/dts/p1010rdb-pb_36b.dts
> b/arch/powerpc/dts/p1010rdb-pb_36b.dts
> index 45ccf91c41..eeff2a8704 100644
> --- a/arch/powerpc/dts/p1010rdb-pb_36b.dts
> +++ b/arch/powerpc/dts/p1010rdb-pb_36b.dts
> @@ -15,3 +15,4 @@
>  };
> 
>  /include/ "p1010si-post.dtsi"
> +/include/ "p1010rdb.dtsi"
> diff --git a/arch/powerpc/dts/p1010rdb.dtsi
> b/arch/powerpc/dts/p1010rdb.dtsi new file mode 100644 index
> 0000000000..4f58ee2446
> --- /dev/null
> +++ b/arch/powerpc/dts/p1010rdb.dtsi
> @@ -0,0 +1,14 @@
> +// SPDX-License-Identifier: GPL-2.0+ OR X11
> +/*
> + * P1010RDB Device Tree Source
> + *
> + * Copyright 2020 NXP
> + */
> +&soc {
> +	i2c at 3000 {
> +		rtc at 68 {
> +			compatible = "pericom,pt7c4338";
> +			reg = <0x68>;
> +		};
> +	};
> +};
> diff --git a/arch/powerpc/dts/p1010si-post.dtsi
> b/arch/powerpc/dts/p1010si-post.dtsi
> index e24b5e4063..0289441381 100644
> --- a/arch/powerpc/dts/p1010si-post.dtsi
> +++ b/arch/powerpc/dts/p1010si-post.dtsi
> @@ -23,6 +23,8 @@
>  		single-cpu-affinity;
>  		last-interrupt-source = <255>;
>  	};
> +/include/ "pq3-i2c-0.dtsi"
> +/include/ "pq3-i2c-1.dtsi"
>  };
> 
>  /* controller at 0x9000 */
> --
> 2.17.1



More information about the U-Boot mailing list