summaryrefslogtreecommitdiff
path: root/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
diff options
context:
space:
mode:
Diffstat (limited to 'Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl')
-rw-r--r--Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl70
1 files changed, 70 insertions, 0 deletions
diff --git a/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
new file mode 100644
index 0000000000..2fcc45742c
--- /dev/null
+++ b/Platform/BroxtonPlatformPkg/Common/Acpi/AcpiTablesPCAT/PlatformSsdt/SueCreek/SueCreekLeds.asl
@@ -0,0 +1,70 @@
+/** @file
+
+Copyright (c) 2017 Intel Corporation.
+
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution. The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+Scope(\_SB.PCI0.I2C5) {
+ Device (LED0) {
+ Name (_HID, "PCA9956")
+ Name (_DDN, "SueCreekLed, CS0")
+ Name (SBUF, ResourceTemplate () {
+ I2cSerialBus (
+ 0x0065,
+ ControllerInitiated,
+ 400000,
+ AddressingMode7Bit,
+ "\\_SB.PCI0.I2C5",
+ 0x00,
+ ResourceConsumer,
+ ,
+ )
+ })
+ Method (_CRS, 0, NotSerialized)
+ {
+ Return (SBUF)
+ }
+ Method (_STA, 0x0, NotSerialized) {
+ If (LEqual (SUCE, 0)) {
+ Return (0x0)
+ } else {
+ Return (0xF)
+ }
+ }
+ }
+ Device (LED1) {
+ Name (_HID, "PCA9956")
+ Name (_DDN, "SueCreekLed, CS0")
+ Name (SBUF, ResourceTemplate () {
+ I2cSerialBus (
+ 0x0069,
+ ControllerInitiated,
+ 400000,
+ AddressingMode7Bit,
+ "\\_SB.PCI0.I2C5",
+ 0x00,
+ ResourceConsumer,
+ ,
+ )
+ })
+ Method (_CRS, 0, NotSerialized)
+ {
+ Return (SBUF)
+ }
+ Method (_STA, 0x0, NotSerialized) {
+ If (LEqual (SUCE, 0)) {
+ Return (0x0)
+ } else {
+ Return (0xF)
+ }
+ }
+ }
+}