support for C6678 and C6657 added
authorAravind Batni <aravindbr@ti.com>
Thu, 15 Oct 2015 21:05:28 +0000 (17:05 -0400)
committerAravind Batni <aravindbr@ti.com>
Thu, 15 Oct 2015 21:05:28 +0000 (17:05 -0400)
13 files changed:
build/buildlib.xs
device/c6657/global-resource-list.c [new file with mode: 0644]
device/c6657/global-resource-list.dtb [new file with mode: 0644]
device/c6657/global-resource-list.dts [new file with mode: 0644]
device/c6657/policy_dsp-only.c [new file with mode: 0644]
device/c6657/policy_dsp-only.dtb [new file with mode: 0644]
device/c6657/policy_dsp-only.dts [new file with mode: 0644]
device/c6678/global-resource-list.c [new file with mode: 0644]
device/c6678/global-resource-list.dtb [new file with mode: 0644]
device/c6678/global-resource-list.dts [new file with mode: 0644]
device/c6678/policy_dsp-only.c [new file with mode: 0644]
device/c6678/policy_dsp-only.dtb [new file with mode: 0644]
device/c6678/policy_dsp-only.dts [new file with mode: 0644]

index 822f99a845989b04740dc10f9e57d58a22ad9950..8bbee0e6159e4ab90b680d0e3adf369cff0fce25 100644 (file)
@@ -115,6 +115,8 @@ function createMake(makefile)
       \r
       makefile.writeLine("\n# Output for prebuilt generated libraries");\r
       makefile.writeLine("export LIBDIR ?= ./lib");\r
+      /* use sectti.exe from path */\r
+      makefile.writeLine("export SECTTI ?= sectti");\r
 \r
       /* Create INCDIR from XDCPATH */\r
     \r
@@ -155,7 +157,7 @@ function createMake(makefile)
       makefile.writeLine("export ROOTDIR := "+pkgroot);\r
     \r
       makefile.writeLine("\n# INCLUDE Directory");\r
-      makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR)");       \r
+      makefile.writeLine("export INCDIR := "+getxdcpath+";$(ROOTDIR);$(C6X_GEN_INSTALL_PATH)/include");       \r
     \r
       makefile.writeLine("\n# Common Macros used in make");  \r
       makefile.writeLine("\nifndef RM");     \r
@@ -459,11 +461,29 @@ function buildLibrary (libOptions, libName, target, libFiles)
     /* Create the Epilogue; which executes after all the builds are completed. \r
      * This is used to generate the benchmark information for the built library. \r
      * Also add the benchmarking information file to the package. */\r
-    Pkg.makeEpilogue += ".libraries: benchmarking_" + target.suffix + "\n";\r
-    Pkg.makeEpilogue += "benchmarking_" + target.suffix + ":";\r
-    Pkg.makeEpilogue += "\n\t ofd6x.exe -x " + lldFullLibraryPath + ".a" + target.suffix + " > tmp.xml";\r
-    Pkg.makeEpilogue += "\n\t sectti.exe tmp.xml > " + lldFullLibraryPath + ".a" + target.suffix +  "_size.txt";\r
-    Pkg.makeEpilogue += "\n\t $(RM) tmp.xml\n\n";\r
+\r
+    /* Put the temp file in object directory since javascript doesn't have a built in tmpname, \r
+     * and don't want --jobs=# with # > 1 to result in collisions */\r
+    var libFullName = lldFullLibraryPath + ".a" + target.suffix;\r
+    var tempFile = libFullName + ".xml";\r
+    Pkg.makeEpilogue += ".libraries: " + libFullName +  "_size.txt\n";\r
+    Pkg.makeEpilogue += libFullName +  "_size.txt: " + libFullName + "\n";\r
+    if ( java.lang.String(target.name).contains('66') )\r
+    {    \r
+        Pkg.makeEpilogue += "\n\t $(C6X_GEN_INSTALL_PATH)/bin/ofd6x -x " + libFullName + " > " + tempFile;\r
+        Pkg.makeEpilogue += "\n\t $(SECTTI) " + tempFile + " > " + libFullName +  "_size.txt";\r
+        Pkg.makeEpilogue += "\n\t $(RM) " + tempFile + "\n\n";\r
+    }   \r
+    else if (target.name == "M4")\r
+    {\r
+        Pkg.makeEpilogue += "\n\t $(TOOLCHAIN_PATH_M4)/bin/armofd -x " + libFullName + " > " + tempFile;\r
+        Pkg.makeEpilogue += "\n\t $(SECTTI) " + tempFile + " > " + libFullName +  "_size.txt";\r
+        Pkg.makeEpilogue += "\n\t $(RM) " + tempFile + "\n\n";\r
+    }\r
+    else\r
+    {\r
+        Pkg.makeEpilogue += "\n\t $(TOOLCHAIN_PATH_A15)/bin/$(CROSS_TOOL_PRFX)size " + libFullName + " > " + libFullName + "_size.txt";\r
+    }                \r
     Pkg.otherFiles[Pkg.otherFiles.length++] = lldFullLibraryPath + ".a" + target.suffix + "_size.txt";\r
     Pkg.otherFiles[Pkg.otherFiles.length++] = lldFullBuildPath + ".a" + target.suffix + ".mk";\r
     Pkg.otherFiles[Pkg.otherFiles.length++] = lldFullLibraryPath + ".a" + target.suffix;\r
diff --git a/device/c6657/global-resource-list.c b/device/c6657/global-resource-list.c
new file mode 100644 (file)
index 0000000..32085ce
--- /dev/null
@@ -0,0 +1,1540 @@
+#pragma DATA_SECTION (rmGlobalResourceList, ".sharedGRL");
+#pragma DATA_ALIGN (rmGlobalResourceList, 128)
+const char rmGlobalResourceList[] = {
+0xd0,
+0x0d,
+0xfe,
+0xed,
+0x00,
+0x00,
+0x05,
+0xb7,
+0x00,
+0x00,
+0x00,
+0x38,
+0x00,
+0x00,
+0x05,
+0xa8,
+0x00,
+0x00,
+0x00,
+0x28,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x0f,
+0x00,
+0x00,
+0x05,
+0x70,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x69,
+0x6e,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x65,
+0x78,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x07,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6d,
+0x65,
+0x6d,
+0x6f,
+0x72,
+0x79,
+0x2d,
+0x72,
+0x65,
+0x67,
+0x69,
+0x6f,
+0x6e,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x4c,
+0x4f,
+0x57,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x54,
+0x43,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x96,
+0x00,
+0x00,
+0x00,
+0x0a,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x52,
+0x49,
+0x4f,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xa0,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x48,
+0x49,
+0x47,
+0x48,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x54,
+0x41,
+0x52,
+0x56,
+0x41,
+0x54,
+0x49,
+0x4f,
+0x4e,
+0x5f,
+0x43,
+0x4f,
+0x55,
+0x4e,
+0x54,
+0x45,
+0x52,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xe0,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x46,
+0x52,
+0x41,
+0x53,
+0x54,
+0x52,
+0x55,
+0x43,
+0x54,
+0x55,
+0x52,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x20,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x54,
+0x52,
+0x41,
+0x46,
+0x46,
+0x49,
+0x43,
+0x5f,
+0x53,
+0x48,
+0x41,
+0x50,
+0x49,
+0x4e,
+0x47,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x40,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x47,
+0x45,
+0x4e,
+0x45,
+0x52,
+0x41,
+0x4c,
+0x5f,
+0x50,
+0x55,
+0x52,
+0x50,
+0x4f,
+0x53,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x80,
+0x00,
+0x00,
+0x1c,
+0x80,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x2d,
+0x70,
+0x64,
+0x73,
+0x70,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x61,
+0x63,
+0x63,
+0x75,
+0x6d,
+0x75,
+0x6c,
+0x61,
+0x74,
+0x6f,
+0x72,
+0x30,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x30,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x70,
+0x70,
+0x69,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x64,
+0x69,
+0x6f,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x6d,
+0x61,
+0x70,
+0x70,
+0x69,
+0x6e,
+0x67,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x6c,
+0x73,
+0x75,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x69,
+0x6e,
+0x69,
+0x74,
+0x2d,
+0x68,
+0x77,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x09,
+0x72,
+0x65,
+0x73,
+0x6f,
+0x75,
+0x72,
+0x63,
+0x65,
+0x2d,
+0x72,
+0x61,
+0x6e,
+0x67,
+0x65,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+};
diff --git a/device/c6657/global-resource-list.dtb b/device/c6657/global-resource-list.dtb
new file mode 100644 (file)
index 0000000..df97c43
Binary files /dev/null and b/device/c6657/global-resource-list.dtb differ
diff --git a/device/c6657/global-resource-list.dts b/device/c6657/global-resource-list.dts
new file mode 100644 (file)
index 0000000..08fa1fe
--- /dev/null
@@ -0,0 +1,113 @@
+/dts-v1/;
+
+/ {
+    /* Device resource definitions based on current supported QMSS, CPPI, and 
+     * PA LLD resources */
+       
+    qmss {
+        /* QMSS in joint mode affects only -qm1 resource */
+        control-qm1 {
+            resource-range = <0 1>;
+        };
+        
+        /* QMSS in joint mode affects only -qm1 resource */
+        linkram-control-qm1 {
+            resource-range = <0 1>;
+        };
+
+        /* QMSS in joint mode affects only -qm1 resource */
+        linkram-int-qm1 {
+            /* hw allows max of 16K "internal" descriptors */
+            resource-range = <0x00000000 0x00004000>;
+        };
+        linkram-ext-qm1 {
+            /* hw allows max of 512K "external" descriptors */
+            resource-range = <0x00004000 0x0007C000>;
+        };
+
+        /* QMSS in joint mode affects only -qm1 resource */
+        memory-regions-qm1 {
+            resource-range = <0 20>;
+        };
+
+        /* Queues match device specification and/or csl_qm_queue.h regardless of split or joint mode */
+        LOW_PRIORITY_QUEUE-qm1 {
+            resource-range = <0 512>;
+        };
+        INTC_QUEUE-qm1 {
+            resource-range = <662 10>;
+        }; 
+        SRIO_QUEUE-qm1 {
+            resource-range = <672 16>;
+        }; 
+        HIGH_PRIORITY_QUEUE-qm1 {
+            resource-range = <704 32>;
+        };       
+        STARVATION_COUNTER_QUEUE-qm1 {
+            resource-range = <736 64>;
+        };  
+        INFRASTRUCTURE_QUEUE-qm1 {
+            resource-range = <800 32>;
+        }; 
+        TRAFFIC_SHAPING_QUEUE-qm1 {
+            resource-range = <832 32>;
+        };         
+        GENERAL_PURPOSE_QUEUE-qm1 {
+            resource-range = <896 7296>;
+        };    
+
+        firmware-pdsp {
+            resource-range = <0 8>;
+        };        
+        accumulator0-ch { /* accumulator using first INTD */
+            resource-range = <0 48>;          
+        };              
+    }; /* qmss */
+
+    cppi {
+        srio-hw-open {
+            resource-range = <0 1>;
+        };
+        srio-rx-ch {
+            resource-range = <0 16>;
+        };
+        srio-tx-ch {
+            resource-range = <0 16>;
+        };
+        srio-rx-flow-id {
+            resource-range = <0 20>;
+        };   
+
+        qmss-qm1-hw-open {
+            resource-range = <0 1>;
+        };
+        qmss-qm1-rx-ch {
+            resource-range = <0 32>;
+        };
+        qmss-qm1-tx-ch {
+            resource-range = <0 32>;
+        };
+        qmss-qm1-rx-flow-id {
+            resource-range = <0 64>;
+        };   
+
+    }; /* cppi */
+
+    srio {
+        srio-dio-sockets {
+            resource-range = <0 8>;
+        };
+        srio-type9-type11-sockets {
+            resource-range = <0 64>;
+        };
+        srio-type9-type11-mappings {
+            resource-range = <0 64>;
+        };
+        srio-lsus {
+            resource-range = <0 8>;
+        };
+        srio-init-hw {
+            resource-range = <0 1>;
+        };
+    };
+};
diff --git a/device/c6657/policy_dsp-only.c b/device/c6657/policy_dsp-only.c
new file mode 100644 (file)
index 0000000..ebc335b
--- /dev/null
@@ -0,0 +1,2052 @@
+#pragma DATA_SECTION (rmDspOnlyPolicy, ".sharedPolicy");
+#pragma DATA_ALIGN (rmDspOnlyPolicy, 128)
+const char rmDspOnlyPolicy[] = {
+0xd0,
+0x0d,
+0xfe,
+0xed,
+0x00,
+0x00,
+0x07,
+0xb8,
+0x00,
+0x00,
+0x00,
+0x38,
+0x00,
+0x00,
+0x07,
+0x9c,
+0x00,
+0x00,
+0x00,
+0x28,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x1c,
+0x00,
+0x00,
+0x07,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x62,
+0x00,
+0x00,
+0x00,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x53,
+0x65,
+0x72,
+0x76,
+0x65,
+0x72,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x30,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x31,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x32,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x33,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x34,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x35,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x36,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x37,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x69,
+0x6e,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x65,
+0x78,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x07,
+0xc0,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6d,
+0x65,
+0x6d,
+0x6f,
+0x72,
+0x79,
+0x2d,
+0x72,
+0x65,
+0x67,
+0x69,
+0x6f,
+0x6e,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x4c,
+0x4f,
+0x57,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x54,
+0x43,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0x96,
+0x00,
+0x00,
+0x00,
+0x0a,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x52,
+0x49,
+0x4f,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xa0,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x48,
+0x49,
+0x47,
+0x48,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x54,
+0x41,
+0x52,
+0x56,
+0x41,
+0x54,
+0x49,
+0x4f,
+0x4e,
+0x5f,
+0x43,
+0x4f,
+0x55,
+0x4e,
+0x54,
+0x45,
+0x52,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xe0,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x46,
+0x52,
+0x41,
+0x53,
+0x54,
+0x52,
+0x55,
+0x43,
+0x54,
+0x55,
+0x52,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x20,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x54,
+0x52,
+0x41,
+0x46,
+0x46,
+0x49,
+0x43,
+0x5f,
+0x53,
+0x48,
+0x41,
+0x50,
+0x49,
+0x4e,
+0x47,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x40,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x47,
+0x45,
+0x4e,
+0x45,
+0x52,
+0x41,
+0x4c,
+0x5f,
+0x50,
+0x55,
+0x52,
+0x50,
+0x4f,
+0x53,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x46,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x80,
+0x00,
+0x00,
+0x0c,
+0x7f,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x0f,
+0xff,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x65,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x0f,
+0xff,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x1f,
+0xff,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x65,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x2d,
+0x70,
+0x64,
+0x73,
+0x70,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x61,
+0x63,
+0x63,
+0x75,
+0x6d,
+0x75,
+0x6c,
+0x61,
+0x74,
+0x6f,
+0x72,
+0x30,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x30,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x70,
+0x70,
+0x69,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x64,
+0x69,
+0x6f,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x6d,
+0x61,
+0x70,
+0x70,
+0x69,
+0x6e,
+0x67,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x6c,
+0x73,
+0x75,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x69,
+0x6e,
+0x69,
+0x74,
+0x2d,
+0x68,
+0x77,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x09,
+0x76,
+0x61,
+0x6c,
+0x69,
+0x64,
+0x2d,
+0x69,
+0x6e,
+0x73,
+0x74,
+0x61,
+0x6e,
+0x63,
+0x65,
+0x73,
+0x00,
+0x61,
+0x73,
+0x73,
+0x69,
+0x67,
+0x6e,
+0x6d,
+0x65,
+0x6e,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+};
diff --git a/device/c6657/policy_dsp-only.dtb b/device/c6657/policy_dsp-only.dtb
new file mode 100644 (file)
index 0000000..c5717ab
Binary files /dev/null and b/device/c6657/policy_dsp-only.dtb differ
diff --git a/device/c6657/policy_dsp-only.dts b/device/c6657/policy_dsp-only.dts
new file mode 100644 (file)
index 0000000..26c747e
--- /dev/null
@@ -0,0 +1,123 @@
+/dts-v1/;
+
+/* Policy assigning all resources to RM instances running on DSP. */
+
+/ {
+    /* Valid instance list contains instance names used within TI example projects
+     * utilizing RM.  The list can be modified as needed by applications integrating
+     * RM.  For an RM instance to be given permissions the name used to initialize it
+     * must be present in this list */
+    valid-instances = "RM_Server",
+                      "RM_Client0",
+                      "RM_Client1",
+                      "RM_Client2",
+                      "RM_Client3",
+                      "RM_Client4",
+                      "RM_Client5",
+                      "RM_Client6",
+                      "RM_Client7";
+       
+    qmss {
+        control-qm1 {
+            assignments = <0 1>, "iu = (*)";
+        };
+        
+        linkram-control-qm1 {
+            assignments = <0 1>, "iu = (*)";
+        };
+        linkram-int-qm1 {
+            /* hw allows max of 16K "internal" descriptors */
+            assignments = <0x00000000 0x00004000>, "iu = (*)";
+        };
+        linkram-ext-qm1 {
+            /* hw allows max of 512K "external" descriptors */
+            assignments = <0x00004000 0x0007C000>, "iu = (*)";
+        };
+        
+        memory-regions-qm1 {
+            assignments = <0 20>, "iu = (*)";
+        };
+        /* Queues match device specification and/or csl_qm_queue.h regardless of split or joint mode */
+        LOW_PRIORITY_QUEUE-qm1 {
+            assignments = <0 512>, "iu = (*)";
+        };
+        INTC_QUEUE-qm1 {
+            assignments = <662 10>, "iu = (*)";
+        }; 
+        SRIO_QUEUE-qm1 {
+            assignments = <672 16>, "iu = (*)";
+        }; 
+        HIGH_PRIORITY_QUEUE-qm1 {
+            assignments = <704 32>, "iu = (*)";
+        };       
+        STARVATION_COUNTER_QUEUE-qm1 {
+            assignments = <736 64>, "iu = (*)";
+        };  
+        INFRASTRUCTURE_QUEUE-qm1 {
+            assignments = <800 32>, "iu = (*)";
+        }; 
+        TRAFFIC_SHAPING_QUEUE-qm1 {
+            assignments = <832 32>, "iu = (*)";
+        };         
+        GENERAL_PURPOSE_QUEUE-qm1 {
+            assignments = <896 3199>, "iu = (*)",
+                          <4095 1>, "iue = (*)", /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+                          <4096 4095>, "iu = (*)",
+                          <8191 1>, "iue = (*)"; /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+        };    
+        
+        firmware-pdsp {
+            assignments = <0 8>, "iu = (*)";
+        };
+        accumulator0-ch { /* accumulator using first INTD */
+            assignments = <0 48>, "iu = (*)";          
+        };             
+    }; /* qmss */
+
+    cppi {
+        srio-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
+        srio-rx-ch {
+            assignments = <0 16>, "iu = (*)";
+        };
+        srio-tx-ch {
+            assignments = <0 16>, "iu = (*)";
+        };
+        srio-rx-flow-id {
+            assignments = <0 20>, "iu = (*)";
+        };   
+
+        qmss-qm1-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
+        qmss-qm1-rx-ch {
+            assignments = <0 32>, "iu = (*)";
+        };
+        qmss-qm1-tx-ch {
+            assignments = <0 32>, "iu = (*)";
+        };
+        qmss-qm1-rx-flow-id {
+            assignments = <0 64>, "iu = (*)";
+        };   
+
+    }; /* cppi */
+
+    srio {
+        srio-dio-sockets {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-type9-type11-sockets {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-type9-type11-mappings {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-lsus {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-init-hw {
+            assignments = <0 1>, "iu = (*)";
+        };
+    };
+};
diff --git a/device/c6678/global-resource-list.c b/device/c6678/global-resource-list.c
new file mode 100644 (file)
index 0000000..522cf44
--- /dev/null
@@ -0,0 +1,1924 @@
+#pragma DATA_SECTION (rmGlobalResourceList, ".sharedGRL");
+#pragma DATA_ALIGN (rmGlobalResourceList, 128)
+const char rmGlobalResourceList[] = {
+0xd0,
+0x0d,
+0xfe,
+0xed,
+0x00,
+0x00,
+0x07,
+0x3b,
+0x00,
+0x00,
+0x00,
+0x38,
+0x00,
+0x00,
+0x07,
+0x2c,
+0x00,
+0x00,
+0x00,
+0x28,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x0f,
+0x00,
+0x00,
+0x06,
+0xf4,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x69,
+0x6e,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x65,
+0x78,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x07,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6d,
+0x65,
+0x6d,
+0x6f,
+0x72,
+0x79,
+0x2d,
+0x72,
+0x65,
+0x67,
+0x69,
+0x6f,
+0x6e,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x4c,
+0x4f,
+0x57,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x50,
+0x41,
+0x53,
+0x53,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x80,
+0x00,
+0x00,
+0x00,
+0x09,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x54,
+0x43,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x8c,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x52,
+0x49,
+0x4f,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xa0,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x48,
+0x49,
+0x47,
+0x48,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x54,
+0x41,
+0x52,
+0x56,
+0x41,
+0x54,
+0x49,
+0x4f,
+0x4e,
+0x5f,
+0x43,
+0x4f,
+0x55,
+0x4e,
+0x54,
+0x45,
+0x52,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0xe0,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x46,
+0x52,
+0x41,
+0x53,
+0x54,
+0x52,
+0x55,
+0x43,
+0x54,
+0x55,
+0x52,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x20,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x54,
+0x52,
+0x41,
+0x46,
+0x46,
+0x49,
+0x43,
+0x5f,
+0x53,
+0x48,
+0x41,
+0x50,
+0x49,
+0x4e,
+0x47,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x40,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x47,
+0x45,
+0x4e,
+0x45,
+0x52,
+0x41,
+0x4c,
+0x5f,
+0x50,
+0x55,
+0x52,
+0x50,
+0x4f,
+0x53,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x80,
+0x00,
+0x00,
+0x1c,
+0x80,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x2d,
+0x70,
+0x64,
+0x73,
+0x70,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x61,
+0x63,
+0x63,
+0x75,
+0x6d,
+0x75,
+0x6c,
+0x61,
+0x74,
+0x6f,
+0x72,
+0x30,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x30,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x70,
+0x70,
+0x69,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x18,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x09,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x6c,
+0x75,
+0x74,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x05,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x33,
+0x32,
+0x62,
+0x55,
+0x73,
+0x72,
+0x53,
+0x74,
+0x61,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x36,
+0x34,
+0x62,
+0x55,
+0x73,
+0x72,
+0x53,
+0x74,
+0x61,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x64,
+0x69,
+0x6f,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x6d,
+0x61,
+0x70,
+0x70,
+0x69,
+0x6e,
+0x67,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x6c,
+0x73,
+0x75,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x69,
+0x6e,
+0x69,
+0x74,
+0x2d,
+0x68,
+0x77,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x08,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x09,
+0x72,
+0x65,
+0x73,
+0x6f,
+0x75,
+0x72,
+0x63,
+0x65,
+0x2d,
+0x72,
+0x61,
+0x6e,
+0x67,
+0x65,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+};
diff --git a/device/c6678/global-resource-list.dtb b/device/c6678/global-resource-list.dtb
new file mode 100644 (file)
index 0000000..d9c9abc
Binary files /dev/null and b/device/c6678/global-resource-list.dtb differ
diff --git a/device/c6678/global-resource-list.dts b/device/c6678/global-resource-list.dts
new file mode 100644 (file)
index 0000000..8cbfe44
--- /dev/null
@@ -0,0 +1,145 @@
+/dts-v1/;
+
+/ {
+    /* Device resource definitions based on current supported QMSS, CPPI, and 
+     * PA LLD resources */
+       
+    qmss {
+        /* QMSS in joint mode affects only -qm1 resource */
+        control-qm1 {
+            resource-range = <0 1>;
+        };
+        
+        /* QMSS in joint mode affects only -qm1 resource */
+        linkram-control-qm1 {
+            resource-range = <0 1>;
+        };
+
+        /* QMSS in joint mode affects only -qm1 resource */
+        linkram-int-qm1 {
+            /* hw allows max of 16K "internal" descriptors */
+            resource-range = <0x00000000 0x00004000>;
+        };
+        linkram-ext-qm1 {
+            /* hw allows max of 512K "external" descriptors */
+            resource-range = <0x00004000 0x0007C000>;
+        };
+
+        /* QMSS in joint mode affects only -qm1 resource */
+        memory-regions-qm1 {
+            resource-range = <0 20>;
+        };
+
+        /* Queues match device specification and/or csl_qm_queue.h regardless of split or joint mode */
+        LOW_PRIORITY_QUEUE-qm1 {
+            resource-range = <0 512>;
+        };
+        PASS_QUEUE-qm1 {
+            resource-range = <640 9>;
+        };
+        INTC_QUEUE-qm1 {
+            resource-range = <652 20>;
+        }; 
+        SRIO_QUEUE-qm1 {
+            resource-range = <672 16>;
+        }; 
+        HIGH_PRIORITY_QUEUE-qm1 {
+            resource-range = <704 32>;
+        };       
+        STARVATION_COUNTER_QUEUE-qm1 {
+            resource-range = <736 64>;
+        };  
+        INFRASTRUCTURE_QUEUE-qm1 {
+            resource-range = <800 32>;
+        }; 
+        TRAFFIC_SHAPING_QUEUE-qm1 {
+            resource-range = <832 32>;
+        };         
+        GENERAL_PURPOSE_QUEUE-qm1 {
+            resource-range = <896 7296>;
+        };    
+
+        firmware-pdsp {
+            resource-range = <0 8>;
+        };        
+        accumulator0-ch { /* accumulator using first INTD */
+            resource-range = <0 48>;          
+        };              
+    }; /* qmss */
+
+    cppi {
+        srio-hw-open {
+            resource-range = <0 1>;
+        };
+        srio-rx-ch {
+            resource-range = <0 16>;
+        };
+        srio-tx-ch {
+            resource-range = <0 16>;
+        };
+        srio-rx-flow-id {
+            resource-range = <0 20>;
+        };   
+
+        
+        pass-hw-open {
+            resource-range = <0 1>;
+        };
+        pass-rx-ch {
+            resource-range = <0 24>;
+        };
+        pass-tx-ch {
+            resource-range = <0 9>;
+        };
+        pass-rx-flow-id {
+            resource-range = <0 32>;
+        };   
+
+        qmss-qm1-hw-open {
+            resource-range = <0 1>;
+        };
+        qmss-qm1-rx-ch {
+            resource-range = <0 32>;
+        };
+        qmss-qm1-tx-ch {
+            resource-range = <0 32>;
+        };
+        qmss-qm1-rx-flow-id {
+            resource-range = <0 64>;
+        };   
+
+    }; /* cppi */
+
+    pa {
+        pa-lut { 
+            resource-range = <0 5>;
+        };
+        pa-firmware {
+            resource-range = <0 1>;
+        };
+        pa-32bUsrStats {
+            resource-range = <0 512>;
+        };
+        pa-64bUsrStats {
+            resource-range = <0 256>;
+        };
+    }; /* pa */
+
+    srio {
+        srio-dio-sockets {
+            resource-range = <0 8>;
+        };
+        srio-type9-type11-sockets {
+            resource-range = <0 64>;
+        };
+        srio-type9-type11-mappings {
+            resource-range = <0 64>;
+        };
+        srio-lsus {
+            resource-range = <0 8>;
+        };
+        srio-init-hw {
+            resource-range = <0 1>;
+        };
+    };
+};
diff --git a/device/c6678/policy_dsp-only.c b/device/c6678/policy_dsp-only.c
new file mode 100644 (file)
index 0000000..2c0d705
--- /dev/null
@@ -0,0 +1,2564 @@
+#pragma DATA_SECTION (rmDspOnlyPolicy, ".sharedPolicy");
+#pragma DATA_ALIGN (rmDspOnlyPolicy, 128)
+const char rmDspOnlyPolicy[] = {
+0xd0,
+0x0d,
+0xfe,
+0xed,
+0x00,
+0x00,
+0x09,
+0xa8,
+0x00,
+0x00,
+0x00,
+0x38,
+0x00,
+0x00,
+0x09,
+0x8c,
+0x00,
+0x00,
+0x00,
+0x28,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x1c,
+0x00,
+0x00,
+0x09,
+0x54,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x62,
+0x00,
+0x00,
+0x00,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x53,
+0x65,
+0x72,
+0x76,
+0x65,
+0x72,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x30,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x31,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x32,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x33,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x34,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x35,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x36,
+0x00,
+0x52,
+0x4d,
+0x5f,
+0x43,
+0x6c,
+0x69,
+0x65,
+0x6e,
+0x74,
+0x37,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x63,
+0x6f,
+0x6e,
+0x74,
+0x72,
+0x6f,
+0x6c,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x69,
+0x6e,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6c,
+0x69,
+0x6e,
+0x6b,
+0x72,
+0x61,
+0x6d,
+0x2d,
+0x65,
+0x78,
+0x74,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x40,
+0x00,
+0x00,
+0x07,
+0xc0,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x6d,
+0x65,
+0x6d,
+0x6f,
+0x72,
+0x79,
+0x2d,
+0x72,
+0x65,
+0x67,
+0x69,
+0x6f,
+0x6e,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x4c,
+0x4f,
+0x57,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x50,
+0x41,
+0x53,
+0x53,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0x80,
+0x00,
+0x00,
+0x00,
+0x09,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x54,
+0x43,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0x8c,
+0x00,
+0x00,
+0x00,
+0x14,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x52,
+0x49,
+0x4f,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xa0,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x48,
+0x49,
+0x47,
+0x48,
+0x5f,
+0x50,
+0x52,
+0x49,
+0x4f,
+0x52,
+0x49,
+0x54,
+0x59,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xc0,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x53,
+0x54,
+0x41,
+0x52,
+0x56,
+0x41,
+0x54,
+0x49,
+0x4f,
+0x4e,
+0x5f,
+0x43,
+0x4f,
+0x55,
+0x4e,
+0x54,
+0x45,
+0x52,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x02,
+0xe0,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x49,
+0x4e,
+0x46,
+0x52,
+0x41,
+0x53,
+0x54,
+0x52,
+0x55,
+0x43,
+0x54,
+0x55,
+0x52,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x20,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x54,
+0x52,
+0x41,
+0x46,
+0x46,
+0x49,
+0x43,
+0x5f,
+0x53,
+0x48,
+0x41,
+0x50,
+0x49,
+0x4e,
+0x47,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x40,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x47,
+0x45,
+0x4e,
+0x45,
+0x52,
+0x41,
+0x4c,
+0x5f,
+0x50,
+0x55,
+0x52,
+0x50,
+0x4f,
+0x53,
+0x45,
+0x5f,
+0x51,
+0x55,
+0x45,
+0x55,
+0x45,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x46,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x03,
+0x80,
+0x00,
+0x00,
+0x0c,
+0x7f,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x0f,
+0xff,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x65,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x0f,
+0xff,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x1f,
+0xff,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x65,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x2d,
+0x70,
+0x64,
+0x73,
+0x70,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x61,
+0x63,
+0x63,
+0x75,
+0x6d,
+0x75,
+0x6c,
+0x61,
+0x74,
+0x6f,
+0x72,
+0x30,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x30,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x63,
+0x70,
+0x70,
+0x69,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x10,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x14,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x18,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x09,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x73,
+0x73,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x68,
+0x77,
+0x2d,
+0x6f,
+0x70,
+0x65,
+0x6e,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x74,
+0x78,
+0x2d,
+0x63,
+0x68,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x20,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x71,
+0x6d,
+0x73,
+0x73,
+0x2d,
+0x71,
+0x6d,
+0x31,
+0x2d,
+0x72,
+0x78,
+0x2d,
+0x66,
+0x6c,
+0x6f,
+0x77,
+0x2d,
+0x69,
+0x64,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x6c,
+0x75,
+0x74,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x05,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x66,
+0x69,
+0x72,
+0x6d,
+0x77,
+0x61,
+0x72,
+0x65,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x33,
+0x32,
+0x62,
+0x55,
+0x73,
+0x72,
+0x53,
+0x74,
+0x61,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x70,
+0x61,
+0x2d,
+0x36,
+0x34,
+0x62,
+0x55,
+0x73,
+0x72,
+0x53,
+0x74,
+0x61,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x00,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x64,
+0x69,
+0x6f,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x73,
+0x6f,
+0x63,
+0x6b,
+0x65,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x39,
+0x2d,
+0x74,
+0x79,
+0x70,
+0x65,
+0x31,
+0x31,
+0x2d,
+0x6d,
+0x61,
+0x70,
+0x70,
+0x69,
+0x6e,
+0x67,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x40,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x6c,
+0x73,
+0x75,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x08,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x01,
+0x73,
+0x72,
+0x69,
+0x6f,
+0x2d,
+0x69,
+0x6e,
+0x69,
+0x74,
+0x2d,
+0x68,
+0x77,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x03,
+0x00,
+0x00,
+0x00,
+0x11,
+0x00,
+0x00,
+0x00,
+0x10,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x01,
+0x69,
+0x75,
+0x20,
+0x3d,
+0x20,
+0x28,
+0x2a,
+0x29,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x02,
+0x00,
+0x00,
+0x00,
+0x09,
+0x76,
+0x61,
+0x6c,
+0x69,
+0x64,
+0x2d,
+0x69,
+0x6e,
+0x73,
+0x74,
+0x61,
+0x6e,
+0x63,
+0x65,
+0x73,
+0x00,
+0x61,
+0x73,
+0x73,
+0x69,
+0x67,
+0x6e,
+0x6d,
+0x65,
+0x6e,
+0x74,
+0x73,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+0x00,
+};
diff --git a/device/c6678/policy_dsp-only.dtb b/device/c6678/policy_dsp-only.dtb
new file mode 100644 (file)
index 0000000..ad92ac4
Binary files /dev/null and b/device/c6678/policy_dsp-only.dtb differ
diff --git a/device/c6678/policy_dsp-only.dts b/device/c6678/policy_dsp-only.dts
new file mode 100644 (file)
index 0000000..799ebf3
--- /dev/null
@@ -0,0 +1,155 @@
+/dts-v1/;
+
+/* Policy assigning all resources to RM instances running on DSP. */
+
+/ {
+    /* Valid instance list contains instance names used within TI example projects
+     * utilizing RM.  The list can be modified as needed by applications integrating
+     * RM.  For an RM instance to be given permissions the name used to initialize it
+     * must be present in this list */
+    valid-instances = "RM_Server",
+                      "RM_Client0",
+                      "RM_Client1",
+                      "RM_Client2",
+                      "RM_Client3",
+                      "RM_Client4",
+                      "RM_Client5",
+                      "RM_Client6",
+                      "RM_Client7";
+       
+    qmss {
+        control-qm1 {
+            assignments = <0 1>, "iu = (*)";
+        };
+        
+        linkram-control-qm1 {
+            assignments = <0 1>, "iu = (*)";
+        };
+        linkram-int-qm1 {
+            /* hw allows max of 16K "internal" descriptors */
+            assignments = <0x00000000 0x00004000>, "iu = (*)";
+        };
+        linkram-ext-qm1 {
+            /* hw allows max of 512K "external" descriptors */
+            assignments = <0x00004000 0x0007C000>, "iu = (*)";
+        };
+        
+        memory-regions-qm1 {
+            assignments = <0 20>, "iu = (*)";
+        };
+        /* Queues match device specification and/or csl_qm_queue.h regardless of split or joint mode */
+        LOW_PRIORITY_QUEUE-qm1 {
+            assignments = <0 512>, "iu = (*)";
+        };
+        PASS_QUEUE-qm1 {
+            assignments = <640 9>, "iu = (*)";
+        };
+        INTC_QUEUE-qm1 {
+            assignments = <652 20>, "iu = (*)";
+        }; 
+        SRIO_QUEUE-qm1 {
+            assignments = <672 16>, "iu = (*)";
+        }; 
+        HIGH_PRIORITY_QUEUE-qm1 {
+            assignments = <704 32>, "iu = (*)";
+        };       
+        STARVATION_COUNTER_QUEUE-qm1 {
+            assignments = <736 64>, "iu = (*)";
+        };  
+        INFRASTRUCTURE_QUEUE-qm1 {
+            assignments = <800 32>, "iu = (*)";
+        }; 
+        TRAFFIC_SHAPING_QUEUE-qm1 {
+            assignments = <832 32>, "iu = (*)";
+        };         
+        GENERAL_PURPOSE_QUEUE-qm1 {
+            assignments = <896 3199>, "iu = (*)",
+                          <4095 1>, "iue = (*)", /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+                          <4096 4095>, "iu = (*)",
+                          <8191 1>, "iue = (*)"; /* Queues ending in 0xfff can't be used as return queue (hw reserved) */
+        };    
+        
+        firmware-pdsp {
+            assignments = <0 8>, "iu = (*)";
+        };
+        accumulator0-ch { /* accumulator using first INTD */
+            assignments = <0 48>, "iu = (*)";          
+        };             
+    }; /* qmss */
+
+    cppi {
+        srio-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
+        srio-rx-ch {
+            assignments = <0 16>, "iu = (*)";
+        };
+        srio-tx-ch {
+            assignments = <0 16>, "iu = (*)";
+        };
+        srio-rx-flow-id {
+            assignments = <0 20>, "iu = (*)";
+        };   
+
+        
+        pass-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
+        pass-rx-ch {
+            assignments = <0 24>, "iu = (*)";
+        };
+        pass-tx-ch {
+            assignments = <0 9>, "iu = (*)";
+        };
+        pass-rx-flow-id {
+            assignments = <0 32>, "iu = (*)";
+        };   
+
+        qmss-qm1-hw-open {
+            assignments = <0 1>, "iu = (*)";
+        };
+        qmss-qm1-rx-ch {
+            assignments = <0 32>, "iu = (*)";
+        };
+        qmss-qm1-tx-ch {
+            assignments = <0 32>, "iu = (*)";
+        };
+        qmss-qm1-rx-flow-id {
+            assignments = <0 64>, "iu = (*)";
+        };   
+
+    }; /* cppi */
+
+    pa {
+        pa-lut { 
+            assignments = <0 5>, "iu = (*)";
+        };
+        pa-firmware {
+            assignments = <0 1>, "iu = (*)";           
+        };
+        pa-32bUsrStats {
+            assignments = <0 512>, "iu = (*)";
+        };
+        pa-64bUsrStats {
+            assignments = <0 256>, "iu = (*)";
+        };
+    }; /* pa */
+
+    srio {
+        srio-dio-sockets {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-type9-type11-sockets {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-type9-type11-mappings {
+            assignments = <0 64>, "iu = (*)";
+        };
+        srio-lsus {
+            assignments = <0 8>, "iu = (*)";
+        };
+        srio-init-hw {
+            assignments = <0 1>, "iu = (*)";
+        };
+    };
+};