mb: Set coreboot as DSDT's manufacturer model ID
[coreboot.git] / src / mainboard / bap / ode_e20XX / acpi / usb_oc.asl
blobc0202167dacd1e801e82632635df67b121ef5c51
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2012 Advanced Micro Devices, Inc.
5  * Copyright (C) 2013 Sage Electronic Engineering, LLC
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; version 2 of the License.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  */
17 /* simple name description */
19 #include <arch/acpi.h>
20 DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001
21                 )
22         {
23                 #include "usb.asl"
24         }
27 /* USB overcurrent mapping pins.   */
28 Name(UOM0, 0)
29 Name(UOM1, 2)
30 Name(UOM2, 0)
31 Name(UOM3, 7)
32 Name(UOM4, 2)
33 Name(UOM5, 2)
34 Name(UOM6, 6)
35 Name(UOM7, 2)
36 Name(UOM8, 6)
37 Name(UOM9, 6)
39 /* USB Overcurrent GPEs */
41 #if 0 /* TODO: Update */
42 Method(UCOC, 0) {
43         Sleep(20)
44         Store(0x13,CMTI)
45         Store(0,GPSL)
48 /* USB Port 0 overcurrent uses Gpm 0 */
49 If(LLessEqual(UOM0,9)) {
50         Scope (\_GPE) {
51                 Method (_L13) {
52                 }
53         }
56 /* USB Port 1 overcurrent uses Gpm 1 */
57 If (LLessEqual(UOM1,9)) {
58         Scope (\_GPE) {
59                 Method (_L14) {
60                 }
61         }
64 /* USB Port 2 overcurrent uses Gpm 2 */
65 If (LLessEqual(UOM2,9)) {
66         Scope (\_GPE) {
67                 Method (_L15) {
68                 }
69         }
72 /* USB Port 3 overcurrent uses Gpm 3 */
73 If (LLessEqual(UOM3,9)) {
74         Scope (\_GPE) {
75                 Method (_L16) {
76                 }
77         }
80 /* USB Port 4 overcurrent uses Gpm 4 */
81 If (LLessEqual(UOM4,9)) {
82         Scope (\_GPE) {
83                 Method (_L19) {
84                 }
85         }
88 /* USB Port 5 overcurrent uses Gpm 5 */
89 If (LLessEqual(UOM5,9)) {
90         Scope (\_GPE) {
91                 Method (_L1A) {
92                 }
93         }
96 /* USB Port 6 overcurrent uses Gpm 6 */
97 If (LLessEqual(UOM6,9)) {
98         Scope (\_GPE) {
99                 /* Method (_L1C) { */
100                 Method (_L06) {
101                 }
102         }
105 /* USB Port 7 overcurrent uses Gpm 7 */
106 If (LLessEqual(UOM7,9)) {
107         Scope (\_GPE) {
108                 /* Method (_L1D) { */
109                 Method (_L07) {
110                 }
111         }
114 /* USB Port 8 overcurrent uses Gpm 8 */
115 If (LLessEqual(UOM8,9)) {
116         Scope (\_GPE) {
117                 Method (_L17) {
118                 }
119         }
122 /* USB Port 9 overcurrent uses Gpm 9 */
123 If (LLessEqual(UOM9,9)) {
124         Scope (\_GPE) {
125                 Method (_L0E) {
126                 }
127         }
129 #endif