]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: dts: p1010: add i2c node
authorBiwen Li <biwen.li@nxp.com>
Sun, 12 Apr 2020 09:05:28 +0000 (17:05 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 4 May 2020 03:42:37 +0000 (09:12 +0530)
Add i2c node of p1010

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/powerpc/dts/p1010rdb-pb.dts
arch/powerpc/dts/p1010rdb-pb_36b.dts
arch/powerpc/dts/p1010rdb.dtsi [new file with mode: 0644]
arch/powerpc/dts/p1010si-post.dtsi

index 2675d5d92b9a15ad18fa9c45522252954100f10c..9ca562534fff284d0e3b037ba8e38eb0059d5d28 100644 (file)
@@ -15,3 +15,4 @@
 };
 
 /include/ "p1010si-post.dtsi"
+/include/ "p1010rdb.dtsi"
index 45ccf91c41d943b648a153b37bc9a5f0a753863c..eeff2a870446d50e2528eaa9807992b05cfd1221 100644 (file)
@@ -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 (file)
index 0000000..4f58ee2
--- /dev/null
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+ OR X11
+/*
+ * P1010RDB Device Tree Source
+ *
+ * Copyright 2020 NXP
+ */
+&soc {
+       i2c@3000 {
+               rtc@68 {
+                       compatible = "pericom,pt7c4338";
+                       reg = <0x68>;
+               };
+       };
+};
index e24b5e4063bd93b45efa234588e69934a0c79803..028944138185830d0bd38f7cff177c964cbb1fcc 100644 (file)
@@ -23,6 +23,8 @@
                single-cpu-affinity;
                last-interrupt-source = <255>;
        };
+/include/ "pq3-i2c-0.dtsi"
+/include/ "pq3-i2c-1.dtsi"
 };
 
 /* controller at 0x9000 */