2024-02-14 10:09:29 -07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
|
|
|
*/
|
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
|
|
|
zephyr,entropy = &rng;
|
|
|
|
ncs,zigbee-timer = &timer2;
|
|
|
|
};
|
2024-02-16 00:31:20 -07:00
|
|
|
|
|
|
|
leds {
|
|
|
|
network_led: network_led {
|
|
|
|
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
|
|
|
label = "Network Activity LED";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
buttons {
|
|
|
|
sw_0: sw0 {
|
|
|
|
gpios = <&gpio1 10 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
label = "Switch 1 Input";
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_1: sw1 {
|
|
|
|
gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
label = "Switch 2 Input";
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_2: sw2 {
|
|
|
|
gpios = <&gpio1 15 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
label = "Switch 3 Input";
|
|
|
|
};
|
|
|
|
|
|
|
|
sw_3: sw3 {
|
|
|
|
gpios = <&gpio0 2 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
|
|
label = "Switch 4 Input";
|
|
|
|
};
|
|
|
|
};
|
2024-02-14 10:09:29 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
&timer2 {
|
|
|
|
status = "okay";
|
|
|
|
};
|