blob: 55939e1aa334c5dcb3bd6cf9a5d158becb6b42e1 [file] [log] [blame]
Simon Glassc0529182020-09-22 12:44:47 -06001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2014 Google Inc.
4 */
5
6Scope (\_SB)
7{
8 Device(RMOP)
9 {
10 Name (_HID, "GOOG9999")
11 Name (_CID, "GOOG9999")
12 Name (_UID, 1)
13
14 Name (RBUF, ResourceTemplate()
15 {
16 Memory32Fixed (ReadWrite, 0, 0, MRES)
17 })
18
19 Method (_CRS)
20 {
21 CreateDwordField (^RBUF, ^MRES._BAS, RBAS)
22 CreateDwordField (^RBUF, ^MRES._LEN, RLEN)
23 Store (\RMOB, RBAS)
24 Store (\RMOL, RLEN)
25 Return (^RBUF)
26 }
27 Method(_STA, 0)
28 {
29 Return (0xB)
30 }
31 }
32}