From: Naresh Bhat naresh.bhat@linaro.org
Add the Debug Port Table 2 (DBG2) template across all the platforms.
Signed-off-by: Naresh Bhat naresh.bhat@linaro.org --- platforms/exynos5250-arndale.acpi/dbg2.asl | 106 ++++++++++++++++++++++++++++ platforms/foundation-v8.acpi/dbg2.asl | 106 ++++++++++++++++++++++++++++ platforms/rtsm_ve-aemv8a.acpi/dbg2.asl | 106 ++++++++++++++++++++++++++++ 3 files changed, 318 insertions(+) create mode 100644 platforms/exynos5250-arndale.acpi/dbg2.asl create mode 100644 platforms/foundation-v8.acpi/dbg2.asl create mode 100644 platforms/rtsm_ve-aemv8a.acpi/dbg2.asl
diff --git a/platforms/exynos5250-arndale.acpi/dbg2.asl b/platforms/exynos5250-arndale.acpi/dbg2.asl new file mode 100644 index 0000000..16c9fdd --- /dev/null +++ b/platforms/exynos5250-arndale.acpi/dbg2.asl @@ -0,0 +1,106 @@ +/* + * Copyright (c) 2013, Naresh Bhat naresh.bhat@linaro.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * NB: This License is also known as the "BSD 2-Clause License". + * + * + * [DBG2] Debug Port Table 2 + * Format: [ByteLength] FieldName : HexFieldValue + */ + +[0004] Signature : "DBG2" [Debug Port table type 2] +[0004] Table Length : 000000B2 +[0001] Revision : 01 +[0001] Checksum : BA +[0006] Oem ID : "LNRO " +[0008] Oem Table ID : "TEMPLATE" +[0004] Oem Revision : 00000000 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20131115 + +[0004] Info Offset : 0000002C +[0004] Info Count : 00000002 + +[0001] Revision : EE +[0002] Length : 003F +[0001] Register Count : 02 +[0002] Namepath Length : 0009 +[0002] Namepath Offset : 0036 +[0002] OEM Data Length : 0000 [Optional field not present] +[0002] OEM Data Offset : 0000 [Optional field not present] +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 002E + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 32 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 03 [DWord Access:32] +[0008] Address : 1122334455667788 + + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : 76543210 +[0004] Address Size : FEDCBA98 + +[0009] Namepath : "MyDevice" + +[0001] Revision : EE +[0002] Length : 0047 +[0001] Register Count : 01 +[0002] Namepath Length : 0011 +[0002] Namepath Offset : 0026 +[0002] OEM Data Length : 0010 +[0002] OEM Data Offset : 0037 +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 0022 + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : FEDCBA98 + +[0017] Namepath : "\_SB_.PCI0.DBGP" + +[0016] OEM Data : 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 diff --git a/platforms/foundation-v8.acpi/dbg2.asl b/platforms/foundation-v8.acpi/dbg2.asl new file mode 100644 index 0000000..16c9fdd --- /dev/null +++ b/platforms/foundation-v8.acpi/dbg2.asl @@ -0,0 +1,106 @@ +/* + * Copyright (c) 2013, Naresh Bhat naresh.bhat@linaro.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * NB: This License is also known as the "BSD 2-Clause License". + * + * + * [DBG2] Debug Port Table 2 + * Format: [ByteLength] FieldName : HexFieldValue + */ + +[0004] Signature : "DBG2" [Debug Port table type 2] +[0004] Table Length : 000000B2 +[0001] Revision : 01 +[0001] Checksum : BA +[0006] Oem ID : "LNRO " +[0008] Oem Table ID : "TEMPLATE" +[0004] Oem Revision : 00000000 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20131115 + +[0004] Info Offset : 0000002C +[0004] Info Count : 00000002 + +[0001] Revision : EE +[0002] Length : 003F +[0001] Register Count : 02 +[0002] Namepath Length : 0009 +[0002] Namepath Offset : 0036 +[0002] OEM Data Length : 0000 [Optional field not present] +[0002] OEM Data Offset : 0000 [Optional field not present] +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 002E + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 32 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 03 [DWord Access:32] +[0008] Address : 1122334455667788 + + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : 76543210 +[0004] Address Size : FEDCBA98 + +[0009] Namepath : "MyDevice" + +[0001] Revision : EE +[0002] Length : 0047 +[0001] Register Count : 01 +[0002] Namepath Length : 0011 +[0002] Namepath Offset : 0026 +[0002] OEM Data Length : 0010 +[0002] OEM Data Offset : 0037 +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 0022 + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : FEDCBA98 + +[0017] Namepath : "\_SB_.PCI0.DBGP" + +[0016] OEM Data : 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 diff --git a/platforms/rtsm_ve-aemv8a.acpi/dbg2.asl b/platforms/rtsm_ve-aemv8a.acpi/dbg2.asl new file mode 100644 index 0000000..16c9fdd --- /dev/null +++ b/platforms/rtsm_ve-aemv8a.acpi/dbg2.asl @@ -0,0 +1,106 @@ +/* + * Copyright (c) 2013, Naresh Bhat naresh.bhat@linaro.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * + * NB: This License is also known as the "BSD 2-Clause License". + * + * + * [DBG2] Debug Port Table 2 + * Format: [ByteLength] FieldName : HexFieldValue + */ + +[0004] Signature : "DBG2" [Debug Port table type 2] +[0004] Table Length : 000000B2 +[0001] Revision : 01 +[0001] Checksum : BA +[0006] Oem ID : "LNRO " +[0008] Oem Table ID : "TEMPLATE" +[0004] Oem Revision : 00000000 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20131115 + +[0004] Info Offset : 0000002C +[0004] Info Count : 00000002 + +[0001] Revision : EE +[0002] Length : 003F +[0001] Register Count : 02 +[0002] Namepath Length : 0009 +[0002] Namepath Offset : 0036 +[0002] OEM Data Length : 0000 [Optional field not present] +[0002] OEM Data Offset : 0000 [Optional field not present] +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 002E + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 32 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 03 [DWord Access:32] +[0008] Address : 1122334455667788 + + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : 76543210 +[0004] Address Size : FEDCBA98 + +[0009] Namepath : "MyDevice" + +[0001] Revision : EE +[0002] Length : 0047 +[0001] Register Count : 01 +[0002] Namepath Length : 0011 +[0002] Namepath Offset : 0026 +[0002] OEM Data Length : 0010 +[0002] OEM Data Offset : 0037 +[0002] Port Type : 8000 +[0002] Port Subtype : 0000 +[0002] Reserved : 0000 +[0002] Base Address Offset : 0016 +[0002] Address Size Offset : 0022 + +[0012] Base Address Register : [Generic Address Structure] +[0001] Space ID : 01 [SystemIO] +[0001] Bit Width : 64 +[0001] Bit Offset : 00 +[0001] Encoded Access Width : 04 [QWord Access:64] +[0008] Address : AABBCCDDEEFF0011 + +[0004] Address Size : FEDCBA98 + +[0017] Namepath : "\_SB_.PCI0.DBGP" + +[0016] OEM Data : 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56