summaryrefslogtreecommitdiffstats
path: root/p8-host.dts.m4
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2017-08-14 14:54:46 +1000
committerAlistair Popple <alistair@popple.id.au>2017-08-14 16:27:19 +1000
commit0bf4a14b4c9765ca3ddb4256bbfdc529d7f9bb95 (patch)
tree44f04b0154e7b84e17195b21b7bcd9aa15a23e1b /p8-host.dts.m4
parent03a3c429598f530cf765cefd845ab2f05ceca1af (diff)
downloadpdbg-0bf4a14b4c9765ca3ddb4256bbfdc529d7f9bb95.tar.gz
pdbg-0bf4a14b4c9765ca3ddb4256bbfdc529d7f9bb95.zip
Add backend for host based debugfs
Linux kernels configured with CONFIG_SCOM_DEBUGFS can be used to access SCOM registers on the PowerPC machine running pdbg. Add a backend which can be use to access SCOM registers via debugfs. Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'p8-host.dts.m4')
-rw-r--r--p8-host.dts.m425
1 files changed, 25 insertions, 0 deletions
diff --git a/p8-host.dts.m4 b/p8-host.dts.m4
new file mode 100644
index 0000000..3197da7
--- /dev/null
+++ b/p8-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";
+ chip-id = <0x0>;
+ index = <0x0>;
+ include(p8-pib.dts.m4)dnl
+ };
+
+ pib@8 {
+ #address-cells = <0x2>;
+ #size-cells = <0x1>;
+ compatible = "ibm,host-pib";
+ chip-id = <0x8>;
+ index = <0x1>;
+ include(p8-pib.dts.m4)dnl
+ };
+};
OpenPOWER on IntegriCloud