hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/** @file
  Differentiated System Description Table Fields (DSDT)
 
  Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
  Copyright (c) 2015-2016, Hisilicon Limited. All rights reserved.<BR>
  Copyright (c) 2015-2016, Linaro Limited. All rights reserved.<BR>
    SPDX-License-Identifier: BSD-2-Clause-Patent
 
  Based on the files under ArmPlatformPkg/ArmJunoPkg/AcpiTables/
 
**/
 
Scope(_SB)
{
  Device(I2C2) {
    Name(_HID, "HISI02A1")
    Name(_CID, "APMC0D0F")
    Name(_CRS, ResourceTemplate() {
      Memory32Fixed(ReadWrite, 0xd0100000, 0x10000)
      Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive, 0, "\\_SB.MBI7") { 707 }
    })
    Name (_DSD, Package () {
      ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
      Package () {
        Package () {"clock-frequency", 100000},
        Package () {"i2c-sda-falling-time-ns", 913},
        Package () {"i2c-scl-falling-time-ns", 303},
        Package () {"i2c-sda-hold-time-ns", 0x9c2},
      }
    })
  }
}