[rtl, dv] added fusesoc core files

Added several fusesoc core files to reorg the sources. This has been
done to support #1565

Signed-off-by: Srikrishna Iyer <sriyer@google.com>
diff --git a/hw/ip/pinmux/pinmux.core b/hw/ip/pinmux/pinmux.core
index 593d5ad..7320f3d 100644
--- a/hw/ip/pinmux/pinmux.core
+++ b/hw/ip/pinmux/pinmux.core
@@ -8,31 +8,16 @@
 filesets:
   files_rtl:
     depend:
-      - lowrisc:ip:tlul
-      - lowrisc:prim:all
-    files:
-      - rtl/pinmux_reg_pkg.sv
-      - rtl/pinmux_reg_top.sv
-      - rtl/pinmux.sv
-    file_type: systemVerilogSource
+      - lowrisc:ip:pinmux_reg
+      - lowrisc:ip:pinmux_component
 
   files_verilator_waiver:
     depend:
-      # common waivers
-      - lowrisc:lint:common
-      - lowrisc:lint:comportable
-    files:
-      - lint/pinmux.vlt
-    file_type: vlt
+      - lowrisc:ip:pinmux_component
 
   files_ascentlint_waiver:
     depend:
-      # common waivers
-      - lowrisc:lint:common
-      - lowrisc:lint:comportable
-    files:
-      - lint/pinmux.waiver
-    file_type: waiver
+      - lowrisc:ip:pinmux_component
 
 
 parameters:
diff --git a/hw/ip/pinmux/pinmux_component.core b/hw/ip/pinmux/pinmux_component.core
new file mode 100644
index 0000000..e60b3d5
--- /dev/null
+++ b/hw/ip/pinmux/pinmux_component.core
@@ -0,0 +1,41 @@
+CAPI=2:
+# Copyright lowRISC contributors.
+# Licensed under the Apache License, Version 2.0, see LICENSE for details.
+# SPDX-License-Identifier: Apache-2.0
+name: "lowrisc:ip:pinmux_component:0.1"
+description: "Pin Multiplexer component without the CSRs"
+
+filesets:
+  files_rtl:
+    depend:
+      - lowrisc:ip:tlul
+      - lowrisc:prim:all
+    files:
+      - rtl/pinmux.sv
+    file_type: systemVerilogSource
+
+  files_verilator_waiver:
+    depend:
+      # common waivers
+      - lowrisc:lint:common
+      - lowrisc:lint:comportable
+    files:
+      - lint/pinmux.vlt
+    file_type: vlt
+
+  files_ascentlint_waiver:
+    depend:
+      # common waivers
+      - lowrisc:lint:common
+      - lowrisc:lint:comportable
+    files:
+      - lint/pinmux.waiver
+    file_type: waiver
+
+
+targets:
+  default: &default_target
+    filesets:
+      - tool_verilator  ? (files_verilator_waiver)
+      - tool_ascentlint ? (files_ascentlint_waiver)
+      - files_rtl
diff --git a/hw/ip/pinmux/pinmux_reg.core b/hw/ip/pinmux/pinmux_reg.core
new file mode 100644
index 0000000..6744972
--- /dev/null
+++ b/hw/ip/pinmux/pinmux_reg.core
@@ -0,0 +1,21 @@
+CAPI=2:
+# Copyright lowRISC contributors.
+# Licensed under the Apache License, Version 2.0, see LICENSE for details.
+# SPDX-License-Identifier: Apache-2.0
+name: "lowrisc:ip:pinmux_reg:0.1"
+description: "Auto-generated pinmux register sources with default parameters."
+filesets:
+  files_rtl:
+    depend:
+      - lowrisc:tlul:headers
+
+    files:
+      - rtl/pinmux_reg_pkg.sv
+      - rtl/pinmux_reg_top.sv
+    file_type: systemVerilogSource
+
+
+targets:
+  default: &default_target
+    filesets:
+      - files_rtl