mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / southbridge / intel / i82801gx / acpi / pata.asl
blob76c926a516aed7a0f6668b84a181af98a6f42534
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 // Intel PATA Controller 0:1f.1
5 Device (PATA)
7         Name (_ADR, 0x001f0001)
9         Device (PRID)
10         {
11                 Name (_ADR, 0)
13                 // Get Timing Mode
14                 Method (_GTM, 0, Serialized)
15                 {
16                         Name(PBUF, Buffer(20) {
17                                 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
18                                 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
19                                 0x00,0x00,0x00,0x00 })
21                         CreateDwordField (PBUF,  0, PIO0)
22                         CreateDwordField (PBUF,  4, DMA0)
23                         CreateDwordField (PBUF,  8, PIO1)
24                         CreateDwordField (PBUF, 12, DMA1)
25                         CreateDwordField (PBUF, 16, FLAG)
27                         // TODO fill return structure
29                         Return (PBUF)
30                 }
32                 // Set Timing Mode
33                 Method (_STM, 3)
34                 {
35                         CreateDwordField (Arg0,  0, PIO0)
36                         CreateDwordField (Arg0,  4, DMA0)
37                         CreateDwordField (Arg0,  8, PIO1)
38                         CreateDwordField (Arg0, 12, DMA1)
39                         CreateDwordField (Arg0, 16, FLAG)
41                         // TODO: Do the deed
42                 }
44                 Device (DSK0)
45                 {
46                         Name (_ADR, 0)
47                         // TODO: _RMV ?
48                         // TODO: _GTF ?
49                 }
51                 Device (DSK1)
52                 {
53                         Name (_ADR, 1)
55                         // TODO: _RMV ?
56                         // TODO: _GTF ?
57                 }
59         }