jamie/boards/nrf52840dongle_nrf52840.ove...

46 lines
781 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 {
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";
};