[Pdbg] [PATCH v2 1/9] dts: Add p10 host device tree

Jordan Niethe jniethe5 at gmail.com
Thu Nov 25 11:41:30 AEDT 2021


Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>
---
 Makefile.am     |  2 +-
 p10-host.dts.m4 | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 p10-host.dts.m4

diff --git a/Makefile.am b/Makefile.am
index ab64c8612aec..90a2ff3ce644 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -63,7 +63,7 @@ DT = fake.dts fake-backend.dts fake2.dts fake2-backend.dts \
      p8-fsi.dts p8-i2c.dts p8-kernel.dts \
      p9w-fsi.dts p9r-fsi.dts p9z-fsi.dts bmc-kernel.dts \
      bmc-sbefifo.dts \
-     p8-host.dts p9-host.dts p8.dts p9.dts p10.dts
+     p8-host.dts p9-host.dts p10-host.dts p8.dts p9.dts p10.dts
 
 DT_sources = $(DT:.dts=.dtb.S)
 DT_headers = $(DT:.dts=.dt.h)
diff --git a/p10-host.dts.m4 b/p10-host.dts.m4
new file mode 100644
index 000000000000..3b4c2b267e1b
--- /dev/null
+++ b/p10-host.dts.m4
@@ -0,0 +1,25 @@
+/dts-v1/;
+
+/ {
+	#address-cells = <0x1>;
+	#size-cells = <0x0>;
+
+	/* Host based debugfs access */
+	pib at 0 {
+	      #address-cells = <0x2>;
+	      #size-cells = <0x1>;
+	      compatible = "ibm,host-pib";
+	      reg = <0x0>;
+	      index = <0x0>;
+	      system-path = "/proc0/pib";
+	};
+
+	pib at 8 {
+	      #address-cells = <0x2>;
+	      #size-cells = <0x1>;
+	      compatible = "ibm,host-pib";
+	      reg = <0x8>;
+	      index = <0x8>;
+	      system-path = "/proc1/pib";
+	};
+};
-- 
2.25.1



More information about the Pdbg mailing list