1/* SPDX-License-Identifier: GPL-2.0-only */ 2 3#include <variant/onboard.h> 4 5/* 6 * WLAN on Buddy connected to RP4, becomes RP2 after coalesce 7 */ 8#if CONFIG(BOARD_GOOGLE_BUDDY) 9Scope (\_SB.PCI0.RP02) 10#else 11Scope (\_SB.PCI0.RP01) 12#endif 13{ 14 Device (WLAN) 15 { 16 Name (_ADR, 0x00000000) 17 18 Name (_PRW, Package() { BOARD_WLAN_WAKE_GPIO, 3 }) 19 20 Method (_DSW, 3, NotSerialized) 21 { 22 Local0 = BOARD_WLAN_WAKE_GPIO 23 If (Arg0 == 1) { 24 // Enable GPIO as wake source 25 \_SB.PCI0.LPCB.GPIO.GWAK (Local0) 26 } 27 } 28 } 29} 30 31#include <variant/acpi/mainboard.asl> 32 33/* USB port entries */ 34#include <variant/acpi/usb.asl> 35