From 5ad939679f40f77d7a8dec8541ab71143b4f8267 Mon Sep 17 00:00:00 2001
From: Nicola Corna <nicola@corna.info>
Date: Sun, 2 Apr 2017 09:57:48 +0200
Subject: mainboard/sapphire/pureplatinumh61: Enable EuP and PME

With EuP and PME enabled the USB power turns off during S5.

Change-Id: I8b9fd7bb308f544401f90f8aa5ffaec61251b2b3
Signed-off-by: Nicola Corna <nicola@corna.info>
Reviewed-on: https://review.coreboot.org/19073
Tested-by: build bot (Jenkins)
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
---
 src/mainboard/sapphire/pureplatinumh61/devicetree.cb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
index a44e19d700..710004f3b5 100644
--- a/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
+++ b/src/mainboard/sapphire/pureplatinumh61/devicetree.cb
@@ -135,7 +135,8 @@ chip northbridge/intel/sandybridge
 						io 0x60 = 0xa00
 					end
 					device pnp 4e.8 off end	# CIR
-					device pnp 4e.a off	# PME, ACPI, EUP
+					device pnp 4e.a on	# PME, ACPI, EUP
+						irq 0xe0 = 0x90
 						irq 0xf8 = 0x00
 						irq 0xf9 = 0x09
 						irq 0xfa = 0x00
-- 
cgit v1.2.3