Lines Matching +full:button +full:- +full:input +full:- +full:code
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf52dk_nrf52805-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf52-dk-nrf52805";
18 zephyr,shell-uart = &uart0;
19 zephyr,uart-mcumgr = &uart0;
20 zephyr,bt-mon-uart = &uart0;
21 zephyr,bt-c2h-uart = &uart0;
24 zephyr,code-partition = &slot0_partition;
28 compatible = "gpio-leds";
48 compatible = "gpio-keys";
50 label = "Push button switch 0";
52 zephyr,code = <INPUT_KEY_0>;
55 label = "Push button switch 1";
57 zephyr,code = <INPUT_KEY_1>;
60 label = "Push button switch 2";
62 zephyr,code = <INPUT_KEY_2>;
65 label = "Push button switch 3";
67 zephyr,code = <INPUT_KEY_3>;
81 bootloader-led0 = &led0;
82 mcuboot-button0 = &button0;
83 mcuboot-led0 = &led0;
89 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
97 gpio-as-nreset;
109 compatible = "nordic,nrf-twi";
111 pinctrl-0 = <&i2c0_default>;
112 pinctrl-1 = <&i2c0_sleep>;
113 pinctrl-names = "default", "sleep";
117 compatible = "nordic,nrf-spi";
119 pinctrl-0 = <&spi0_default>;
120 pinctrl-1 = <&spi0_sleep>;
121 pinctrl-names = "default", "sleep";
125 compatible = "nordic,nrf-uarte";
127 current-speed = <115200>;
128 pinctrl-0 = <&uart0_default>;
129 pinctrl-1 = <&uart0_sleep>;
130 pinctrl-names = "default", "sleep";
135 compatible = "fixed-partitions";
136 #address-cells = <1>;
137 #size-cells = <1>;
144 label = "image-0";
148 label = "image-1";