51 lines
908 B
Plaintext
51 lines
908 B
Plaintext
/*
|
|
* Copyright (c) 2021 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
|
|
*/
|
|
|
|
/ {
|
|
chosen {
|
|
zephyr,entropy = &rng;
|
|
ncs,zigbee-timer = &timer2;
|
|
};
|
|
|
|
leds {
|
|
network_led: network_led {
|
|
gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
|
|
label = "Network Activity LED";
|
|
};
|
|
};
|
|
|
|
buttons {
|
|
reset_button: reset-button {
|
|
gpios = <&gpio1 6 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
|
|
label = "Zigbee Reset Button";
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|
|
&timer2 {
|
|
status = "okay";
|
|
};
|