1/*
2 * Copyright (c) 2019 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/*
8 * This uses pin 40 on HAT as LED, and pin 38 as interrupt line.
9 *
10 * Note:
11 * Need to change the BIOS settings:
12 * () Advanced -> HAT Configurations:
13 *    - HD-Audio / I2S6 Selec -> Disabled
14 *
15 *    - GPIO 27 (Pin38) Confi -> Input
16 *    - GPIO 28 (Pin40) Confi -> Output
17 */
18
19/ {
20	resources {
21		compatible = "test-gpio-basic-api";
22
23		out-gpios = <&gpio_w 19 0>; /* HAT Pin 40 */
24		in-gpios  = <&gpio_w 18 0>; /* HAT Pin 38 */
25	};
26};
27