2 * This file is part of the coreboot project.
4 * Copyright (C) 2014 Google Inc.
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.
17 #include <mainboard/google/guado/onboard.h>
23 Name(_HID, EisaId("PNP0C0C"))
28 * LAN connected to Root Port 3, becomes Root Port 1 after coalesce
30 Scope (\_SB.PCI0.RP01)
34 Name (_ADR, 0x00000000)
35 Name (_PRW, Package() { GUADO_NIC_WAKE_GPIO, 3 })
37 Method (_DSW, 3, NotSerialized)
39 Store (GUADO_NIC_WAKE_GPIO, Local0)
41 If (LEqual (Arg0, 1)) {
42 // Enable GPIO as wake source
43 \_SB.PCI0.LPCB.GPIO.GWAK (Local0)
50 * WLAN connected to Root Port 4, becomes Root Port 2 after coalesce
52 Scope (\_SB.PCI0.RP02)
56 Name (_ADR, 0x00000000)
57 Name (_PRW, Package() { GUADO_WLAN_WAKE_GPIO, 3 })
59 Method (_DSW, 3, NotSerialized)
61 Store (GUADO_WLAN_WAKE_GPIO, Local0)
63 If (LEqual (Arg0, 1)) {
64 // Enable GPIO as wake source
65 \_SB.PCI0.LPCB.GPIO.GWAK (Local0)