[Pdbg] [PATCH 1/2] Add checkstop FIR support via DTS
Balbir Singh
bsingharora at gmail.com
Tue Feb 13 15:58:28 AEDT 2018
Use nodes in the device-tree to create nodes and
compatible properties for checkstop processing.
Currently it's a single level only.
Signed-off-by: Balbir Singh <bsingharora at gmail.com>
---
p9-fir.dtsi.m4 | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
p9-fsi.dtsi.m4 | 1 +
p9-host.dts.m4 | 1 +
p9-kernel.dts.m4 | 1 +
4 files changed, 83 insertions(+)
create mode 100644 p9-fir.dtsi.m4
diff --git a/p9-fir.dtsi.m4 b/p9-fir.dtsi.m4
new file mode 100644
index 0000000..339d5ae
--- /dev/null
+++ b/p9-fir.dtsi.m4
@@ -0,0 +1,80 @@
+global_fir {
+
+ reg = <0x0 0x570f001c 0x0>;
+
+ compatible = "ibm,xstop-scom";
+};
+
+
+tp {
+ fir_mask=<0x40000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+n0 {
+ fir_mask=<0x20000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+n1 {
+ fir_mask=<0x10000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+n2 {
+ fir_mask=<0x8000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+n3 {
+ fir_mask=<0x4000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+xb {
+ fir_mask=<0x2000000 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+mc {
+ fir_mask=<0x1800000 0x0>;
+ instances=<0x0 0x1>;
+ compatible="ibm,chiplet-fir";
+};
+
+ob {
+ fir_mask=<0x780000 0x0>;
+ instances=<0x0 0x3>;
+ compatible="ibm,chiplet-fir";
+};
+
+pci0 {
+ fir_mask=<0x40000 0x0>;
+ instances=<0x0 0x0>;
+ compatible="ibm,chiplet-fir";
+};
+
+pci1 {
+ fir_mask=<0x20000 0x0>;
+ instances=<0x1 0x1>;
+ compatible="ibm,chiplet-fir";
+};
+
+pci2 {
+ fir_mask=<0x10000 0x0>;
+ instances=<0x2 0x2>;
+ compatible="ibm,chiplet-fir";
+};
+
+eq {
+ fir_mask=<0xfc00 0x0>;
+ instances=<0x0 0x5>;
+ compatible="ibm,chiplet-fir";
+};
+
+ec {
+ fir_mask=<0x0 0xffffff00>;
+ instances=<0x0 0x17>;
+ compatible="ibm,chiplet-fir";
+};
+
diff --git a/p9-fsi.dtsi.m4 b/p9-fsi.dtsi.m4
index fde71e4..bea7b9f 100644
--- a/p9-fsi.dtsi.m4
+++ b/p9-fsi.dtsi.m4
@@ -32,6 +32,7 @@
include(p9-pib.dts.m4)dnl
};
};
+ include(p9-fir.dtsi.m4)
};
};
diff --git a/p9-host.dts.m4 b/p9-host.dts.m4
index 5566acd..31ebed2 100644
--- a/p9-host.dts.m4
+++ b/p9-host.dts.m4
@@ -18,4 +18,5 @@
index = <0x1>;
include(p9-pib.dts.m4)dnl
};
+ include(p9-fir.dtsi.m4)
};
diff --git a/p9-kernel.dts.m4 b/p9-kernel.dts.m4
index ff19779..b30eaa9 100644
--- a/p9-kernel.dts.m4
+++ b/p9-kernel.dts.m4
@@ -33,5 +33,6 @@
include(p9-pib.dts.m4)dnl
};
};
+ include(p9-fir.dtsi.m4)
};
};
--
2.13.6
More information about the Pdbg
mailing list