summaryrefslogtreecommitdiff
path: root/spb/SpbTestTool/sys/spbtesttool.asl
diff options
context:
space:
mode:
Diffstat (limited to 'spb/SpbTestTool/sys/spbtesttool.asl')
-rw-r--r--spb/SpbTestTool/sys/spbtesttool.asl26
1 files changed, 26 insertions, 0 deletions
diff --git a/spb/SpbTestTool/sys/spbtesttool.asl b/spb/SpbTestTool/sys/spbtesttool.asl
new file mode 100644
index 00000000..fcf3c9ac
--- /dev/null
+++ b/spb/SpbTestTool/sys/spbtesttool.asl
@@ -0,0 +1,26 @@
+//
+// Test peripheral device node
+//
+Device(SPBT)
+{
+ Name(_HID, "SpbTestTool")
+ Name(_UID, 1)
+ Method(_CRS, 0x0, NotSerialized)
+ {
+ Name (RBUF, ResourceTemplate ()
+ {
+ //
+ // Sample I2C and GPIO resources. Modify to match your
+ // platform's underlying controllers and connections.
+ // \_SB.I2C and \_SB.GPIO are paths to predefined I2C
+ // and GPIO controller instances.
+ //
+ // Note: SpbTestTool does not require a GPIO resource.
+ // Remove as necessary.
+ //
+ I2CSerialBus(0x1D, ControllerInitiated, 400000, AddressingMode7Bit, "\\_SB.I2C", , )
+ GpioInt(Level, ActiveHigh, Exclusive, PullDown, 0, "\\_SB.GPIO") {1}
+ })
+ Return(RBUF)
+ }
+} \ No newline at end of file