diff mbox series

powerpc: dts: p1010: add i2c node

Message ID 20200412090528.27678-1-biwen.li@oss.nxp.com
State New
Headers show
Series powerpc: dts: p1010: add i2c node | expand

Commit Message

Biwen Li (OSS) April 12, 2020, 9:05 a.m. UTC
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

Comments

Biwen Li (OSS) April 14, 2020, 9:39 a.m. UTC | #1
> Hi Priyanka,
> 
> The patch depend on dts patch of zhiqiang.
The patch depend on dts patch(powerpc: Enable device tree support for P1010RDB) of zhiqiang as follows,
https://patchwork.ozlabs.org/project/uboot/patch/20200414093022.24132-2-Zhiqiang.Hou at nxp.com
> 
> 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
Priyanka Jain (OSS) May 6, 2020, 6:45 a.m. UTC | #2
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Biwen Li
>Sent: Sunday, April 12, 2020 2:35 PM
>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>
>---
Patch applied on u-boot-mpc85xx.

Thanks
Priyanka
diff mbox series

Patch

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 */