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.
9 *
10 * Note:
11 * Need to change the BIOS settings:
12 * () Advanced -> HAT Configurations:
13 *    - HD-Audio / I2S6 Selec -> Disabled
14 *
15 *    - GPIO 28 (Pin40) Confi -> Output
16 */
17
18/ {
19	aliases {
20		led0 = &led0;
21	};
22
23	leds {
24		compatible = "gpio-leds";
25		led0: led_0 {
26			gpios = <&gpio_w 19 0>;
27			label = "HAT Pin 40 as LED";
28		};
29
30	};
31};
32