diff mbox series

[12/19] dts: Remove unused device tree file

Message ID 20200702033918.708013-13-amitay@ozlabs.org
State Accepted
Headers show
Series Fixes and cleanup before release | expand

Commit Message

Amitay Isaacs July 2, 2020, 3:39 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 Makefile.am   |  3 +-
 p9-pib.dts.m4 | 99 ---------------------------------------------------
 2 files changed, 1 insertion(+), 101 deletions(-)
 delete mode 100644 p9-pib.dts.m4
diff mbox series

Patch

diff --git a/Makefile.am b/Makefile.am
index a53f9cb..d606e56 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,7 +59,6 @@  EXTRA_DIST = \
 	p9-fsi.dtsi.m4 \
 	p9-host.dts.m4 \
 	bmc-kernel.dts.m4 \
-	p9-pib.dts.m4 \
 	p9r-fsi.dts.m4 \
 	p9w-fsi.dts.m4 \
 	p9z-fsi.dts.m4 \
@@ -311,7 +310,7 @@  RAGEL_V_0 = @echo "  RAGEL   " $@;
 %.dtsi: %.dtsi.m4
 	$(M4_V)$(M4) -I$(dir $<) $< > $@
 
-p9-fsi.dtsi: p9-fsi.dtsi.m4 p9-pib.dts.m4
+p9-fsi.dtsi: p9-fsi.dtsi.m4
 p9w-fsi.dts: p9w-fsi.dts.m4 p9-fsi.dtsi
 p9r-fsi.dts: p9r-fsi.dts.m4 p9-fsi.dtsi
 p9z-fsi.dts: p9z-fsi.dts.m4 p9-fsi.dtsi
diff --git a/p9-pib.dts.m4 b/p9-pib.dts.m4
deleted file mode 100644
index b13a57e..0000000
--- a/p9-pib.dts.m4
+++ /dev/null
@@ -1,99 +0,0 @@ 
-define(`CONCAT', `$1$2')dnl
-define(`HEX', `CONCAT(0x, $1)')dnl
-define(`CORE_BASE', `eval(0x20000000 + $1 * 0x1000000, 16)')dnl
-define(`CORE', `chiplet@CORE_BASE($1) {
-#address-cells = <0x2>;
-#size-cells = <0x1>;
-compatible = "ibm,power9-chiplet";
-index = <HEX(eval($2, 16))>;
-reg = <0x0 HEX(CORE_BASE($1)) 0xfffff>;
-
-core@0 {
-       #address-cells = <0x1>;
-       #size-cells = <0x0>;
-       compatible = "ibm,power9-core";
-       index = <HEX(eval($2, 16))>;
-       reg = <0x0 0x0 0xfffff>;
-
-       THREAD(0);
-       THREAD(1);
-       THREAD(2);
-       THREAD(3);
-};
-}')dnl
-define(`THREAD_BASE', `eval($1, 16)')dnl
-define(`THREAD',`thread@THREAD_BASE($1) {
-compatible = "ibm,power9-thread";
-reg = <0x0>;
-tid = <HEX(eval($1, 16))>;
-index = <HEX(eval($1, 16))>;
-}')dnl
-define(`CHIPLET_BASE', `eval(0x1000000 * $1, 16)')dnl
-define(`CHIPLET', `chiplet@CHIPLET_BASE($1) {
-compatible = "ibm,power9-chiplet";
-index = <HEX(eval($1, 16))>;
-reg = <0x0 HEX(CHIPLET_BASE($1)) 0xfffff>;
-}')dnl
-
-adu@90000 {
-	compatible = "ibm,power9-adu";
-	reg = <0x0 0x90000 0x50>;
-	system-path = "CONCAT(/mem,PROC_ID)";
-};
-
-htm@5012880 {
-	compatible = "ibm,power9-nhtm";
-	reg = <0x0 0x5012880 0x40>;
-	index = <0x0>;
-};
-
-htm@50128C0 {
-	compatible = "ibm,power9-nhtm";
-	reg = <0x0 0x50128C0 0x40>;
-	index = <0x1>;
-};
-
-CORE(0, 0);
-CORE(1, 1);
-CORE(2, 2);
-CORE(3, 3);
-CORE(4, 4);
-CORE(5, 5);
-CORE(6, 6);
-CORE(7, 7);
-CORE(8, 8);
-CORE(9, 9);
-CORE(10, 10);
-CORE(11, 11);
-CORE(12, 12);
-CORE(13, 13);
-CORE(14, 14);
-CORE(15, 15);
-CORE(16, 16);
-CORE(17, 17);
-CORE(18, 18);
-CORE(19, 19);
-CORE(20, 20);
-CORE(21, 21);
-CORE(22, 22);
-CORE(23, 23);
-
-CHIPLET(1);
-CHIPLET(2);
-CHIPLET(3);
-CHIPLET(4);
-CHIPLET(5);
-CHIPLET(6);
-CHIPLET(7);
-CHIPLET(8);
-CHIPLET(9);
-CHIPLET(12);
-CHIPLET(13);
-CHIPLET(14);
-CHIPLET(15);
-CHIPLET(16);
-CHIPLET(17);
-CHIPLET(18);
-CHIPLET(19);
-CHIPLET(20);
-CHIPLET(21);