Add support for Intel Panther Point PCH
[coreboot.git] / src / southbridge / intel / bd82x6x / acpi / usb.asl
1 /*
2  * This file is part of the coreboot project.
3  *
4  * Copyright (C) 2007-2009 coresystems GmbH
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; version 2 of
9  * 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  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
19  * MA 02110-1301 USA
20  */
21
22 /* Intel Cougar Point USB support */
23
24 // EHCI Controller 0:1d.0
25
26 Device (EHC1)
27 {
28         Name(_ADR, 0x001d0000)
29
30         Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake
31
32         // Leave USB ports on for to allow Wake from USB
33
34         Method(_S3D,0)  // Highest D State in S3 State
35         {
36                 Return (2)
37         }
38
39         Method(_S4D,0)  // Highest D State in S4 State
40         {
41                 Return (2)
42         }
43
44         Device (HUB7)
45         {
46                 Name (_ADR, 0x00000000)
47
48                 // How many are there?
49                 Device (PRT1) { Name (_ADR, 1) } // USB Port 0
50                 Device (PRT2) { Name (_ADR, 2) } // USB Port 1
51                 Device (PRT3) { Name (_ADR, 3) } // USB Port 2
52                 Device (PRT4) { Name (_ADR, 4) } // USB Port 3
53                 Device (PRT5) { Name (_ADR, 5) } // USB Port 4
54                 Device (PRT6) { Name (_ADR, 6) } // USB Port 5
55         }
56 }
57
58 // EHCI #2 Controller 0:1a.0
59
60 Device (EHC2)
61 {
62         Name(_ADR, 0x001a0000)
63
64         Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake
65
66         // Leave USB ports on for to allow Wake from USB
67
68         Method(_S3D,0)  // Highest D State in S3 State
69         {
70                 Return (2)
71         }
72
73         Method(_S4D,0)  // Highest D State in S4 State
74         {
75                 Return (2)
76         }
77
78         Device (HUB7)
79         {
80                 Name (_ADR, 0x00000000)
81
82                 // How many are there?
83                 Device (PRT1) { Name (_ADR, 1) } // USB Port 0
84                 Device (PRT2) { Name (_ADR, 2) } // USB Port 1
85                 Device (PRT3) { Name (_ADR, 3) } // USB Port 2
86                 Device (PRT4) { Name (_ADR, 4) } // USB Port 3
87                 Device (PRT5) { Name (_ADR, 5) } // USB Port 4
88                 Device (PRT6) { Name (_ADR, 6) } // USB Port 5
89         }
90 }
91