diff mbox series

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

Message ID 20211125004138.120917-2-jniethe5@gmail.com
State Accepted
Headers show
Series Add P10 HTM support | expand

Commit Message

Jordan Niethe Nov. 25, 2021, 12:41 a.m. UTC
Signed-off-by: Jordan Niethe <jniethe5@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 mbox series

Patch

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@0 {
+	      #address-cells = <0x2>;
+	      #size-cells = <0x1>;
+	      compatible = "ibm,host-pib";
+	      reg = <0x0>;
+	      index = <0x0>;
+	      system-path = "/proc0/pib";
+	};
+
+	pib@8 {
+	      #address-cells = <0x2>;
+	      #size-cells = <0x1>;
+	      compatible = "ibm,host-pib";
+	      reg = <0x8>;
+	      index = <0x8>;
+	      system-path = "/proc1/pib";
+	};
+};