2 Analog devices AD7298 ADC.
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 Name(_HID, "INT3494") // Galileo Version 1 Low-Speed ADC.
20 Name(RBUF, ResourceTemplate()
22 // SPI0: mode 2, 4Mhz, 16-bit data length
23 SpiSerialBus (0x0000, PolarityLow, FourWireMode, 16, ControllerInitiated, 4000000, ClockPolarityHigh, ClockPhaseFirst, "\\_SB_.PCI0.SPI0",0x00, ResourceConsumer, ,)
25 // GPIO<0> is SPI0_CS_N
26 GpioIO(Shared, PullDefault, 0, 0, IoRestrictionNone, "\\_SB.PCI0.GIP0.GPO_", 0, ResourceConsumer, , ) {QUARK_GPIO0_MAPPING}
28 Method(_CRS, 0x0, NotSerialized)
32 Method(_STA, 0x0, NotSerialized)
35 // Only Galileo platform has this device.
36 // EFI_PLATFORM_TYPE enum value Galileo = 6.
38 If(LNotEqual(PTYP, 6))