2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
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
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.
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,
22 /* Intel i82801G USB support */
24 // USB Controller 0:1d.0
28 Name(_ADR, 0x001d0000)
30 OperationRegion(U01P, PCI_Config, 0, 256)
31 Field(U01P, DWordAcc, NoLock, Preserve)
34 U1WE, 2 // USB Wake Enable
37 Name (_PRW, Package(){ 3, 4 }) // Power Resources for Wake
39 Method (_PSW, 1) // Power State Wake method
41 // USB Controller can wake OS from Sleep State
49 // Leave USB ports on for to allow Wake from USB
51 Method(_S3D,0) // Highest D State in S3 State
56 Method(_S4D,0) // Highest D State in S4 State
63 // USB Controller 0:1d.1
67 Name(_ADR, 0x001d0001)
69 OperationRegion(U02P, PCI_Config, 0, 256)
70 Field(U02P, DWordAcc, NoLock, Preserve)
73 U2WE, 2 // USB Wake Enable
76 Name (_PRW, Package(){ 3, 4 }) // Power Resources for Wake
78 Method (_PSW, 1) // Power State Wake method
80 // USB Controller can wake OS from Sleep State
88 // Leave USB ports on for to allow Wake from USB
90 Method(_S3D,0) // Highest D State in S3 State
95 Method(_S4D,0) // Highest D State in S4 State
103 // USB Controller 0:1d.2
107 Name(_ADR, 0x001d0002)
109 OperationRegion(U03P, PCI_Config, 0, 256)
110 Field(U03P, DWordAcc, NoLock, Preserve)
113 U3WE, 2 // USB Wake Enable
116 Name (_PRW, Package(){ 3, 4 }) // Power Resources for Wake
118 Method (_PSW, 1) // Power State Wake method
120 // USB Controller can wake OS from Sleep State
128 // Leave USB ports on for to allow Wake from USB
130 Method(_S3D,0) // Highest D State in S3 State
135 Method(_S4D,0) // Highest D State in S4 State
143 // USB Controller 0:1d.3
147 Name(_ADR, 0x001d0003)
149 OperationRegion(U04P, PCI_Config, 0, 256)
150 Field(U04P, DWordAcc, NoLock, Preserve)
153 U4WE, 2 // USB Wake Enable
156 Name (_PRW, Package(){ 3, 4 }) // Power Resources for Wake
158 Method (_PSW, 1) // Power State Wake method
160 // USB Controller can wake OS from Sleep State
168 // Leave USB ports on for to allow Wake from USB
170 Method(_S3D,0) // Highest D State in S3 State
175 Method(_S4D,0) // Highest D State in S4 State
183 // EHCI Controller 0:1d.7
187 Name(_ADR, 0x001d0007)
189 Name (_PRW, Package(){ 13, 4 }) // Power Resources for Wake
191 // Leave USB ports on for to allow Wake from USB
193 Method(_S3D,0) // Highest D State in S3 State
198 Method(_S4D,0) // Highest D State in S4 State
205 Name (_ADR, 0x00000000)
207 // How many are there?
208 Device (PRT1) { Name (_ADR, 1) } // USB Port 0
209 Device (PRT2) { Name (_ADR, 2) } // USB Port 1
210 Device (PRT3) { Name (_ADR, 3) } // USB Port 2
211 Device (PRT4) { Name (_ADR, 4) } // USB Port 3
212 Device (PRT5) { Name (_ADR, 5) } // USB Port 4
213 Device (PRT6) { Name (_ADR, 6) } // USB Port 5