]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkPlatformPkg/Acpi/AcpiTables/Dsdt/PCA9685.asi
44fafbe9995bd5ad6c9ac24dab23062e2b29aa1f
[mirror_edk2.git] / QuarkPlatformPkg / Acpi / AcpiTables / Dsdt / PCA9685.asi
1 /** @file
2 NXP PCA9685 i2c-accessible PWM/LED controller.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 Device(PWM1)
11 {
12 Name(_HID, "INT3492") // NXP PCA9685 i2c-accessible PWM/LED controller.
13 Name(_CID, "INT3492")
14
15 Name(RBUF, ResourceTemplate()
16 {
17 I2CSerialBus(0x47, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.PCI0.GIP0.I2C_", 0, ResourceConsumer, , )
18 })
19 Method(_CRS, 0x0, NotSerialized)
20 {
21 Return(RBUF)
22 }
23 Method(_STA, 0x0, NotSerialized)
24 {
25 //
26 // Only Platform Type / Id 8 has this device.
27 //
28 If(LNotEqual(PTYP, 8))
29 {
30 return (0)
31 }
32 Return(0xf)
33 }
34 }