[Pdbg] [PATCH] p8: Add support for second processor on Firestone

Alistair Popple alistair at popple.id.au
Wed May 23 11:27:14 AEST 2018


The second processor module on Firestone is connected to a different HMFSI
port than Garrison. In theory we should/could probe every HMFSI port but
for simplicitly we really only need to probe the ones that we know to
actually be in use on various systems so just add the port used by
Firestone.

Signed-off-by: Alistair Popple <alistair at popple.id.au>
---
 p8-fsi.dts.m4 | 16 ++++++++++++++++
 p8-i2c.dts.m4 | 16 ++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/p8-fsi.dts.m4 b/p8-fsi.dts.m4
index 7b004ac..c92bffc 100644
--- a/p8-fsi.dts.m4
+++ b/p8-fsi.dts.m4
@@ -46,5 +46,21 @@
 			};
 
 		};
+
+		hmfsi at 180000 {
+			compatible = "ibm,power8-opb-hmfsi";
+			reg = <0x180000 0x80000>;
+			port = <0x2>;
+			index = <0x2>;
+
+			pib at 1000 {
+				#address-cells = <0x2>;
+				#size-cells = <0x1>;
+				reg = <0x0 0x1000 0x7>;
+				compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+				index = <0x2>;
+				include(p8-pib.dts.m4)dnl
+			};
+		};
 	};
 };
diff --git a/p8-i2c.dts.m4 b/p8-i2c.dts.m4
index 1e794bf..35dcbd2 100644
--- a/p8-i2c.dts.m4
+++ b/p8-i2c.dts.m4
@@ -36,6 +36,22 @@
 					include(p8-pib.dts.m4)dnl
 				};
 			};
+
+			hmfsi at 180000 {
+				compatible = "ibm,power8-opb-hmfsi";
+				reg = <0x180000 0x80000>;
+				port = <0x2>;
+				index = <0x2>;
+
+				pib at 1000 {
+					#address-cells = <0x2>;
+					#size-cells = <0x1>;
+					reg = <0x0 0x1000 0x7>;
+					compatible = "ibm,fsi-pib", "ibm,power8-fsi-pib";
+					index = <0x2>;
+					include(p8-pib.dts.m4)dnl
+				};
+			};
 		};
 	};
 };
-- 
2.11.0



More information about the Pdbg mailing list