1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#include "nrf54l20pdk_nrf54l20-pinctrl.dtsi"
8
9/ {
10	leds {
11		compatible = "gpio-leds";
12		led0: led_0 {
13			gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
14			label = "Green LED 0";
15		};
16		led1: led_1 {
17			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
18			label = "Green LED 1";
19		};
20		led2: led_2 {
21			gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
22			label = "Green LED 2";
23		};
24		led3: led_3 {
25			gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
26			label = "Green LED 3";
27		};
28	};
29
30	buttons {
31		compatible = "gpio-keys";
32		button0: button_0 {
33			gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
34			label = "Push button 0";
35			zephyr,code = <INPUT_KEY_0>;
36		};
37		button1: button_1 {
38			gpios = <&gpio1 9 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
39			label = "Push button 1";
40			zephyr,code = <INPUT_KEY_1>;
41		};
42		button2: button_2 {
43			gpios = <&gpio1 8 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
44			label = "Push button 2";
45			zephyr,code = <INPUT_KEY_2>;
46		};
47		button3: button_3 {
48			gpios = <&gpio0 4 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
49			label = "Push button 3";
50			zephyr,code = <INPUT_KEY_3>;
51		};
52	};
53
54	aliases {
55		led0 = &led0;
56		led1 = &led1;
57		led2 = &led2;
58		led3 = &led3;
59		sw0 = &button0;
60		sw1 = &button1;
61		sw2 = &button2;
62		sw3 = &button3;
63		watchdog0 = &wdt31;
64	};
65};
66
67&uart20 {
68	current-speed = <115200>;
69	pinctrl-0 = <&uart20_default>;
70	pinctrl-1 = <&uart20_sleep>;
71	pinctrl-names = "default", "sleep";
72};
73