Lines Matching +full:button +full:- +full:input +full:- +full:code
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf52840dk_nrf52811-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf52840-dk-nrf52811";
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 = "pwm-leds";
55 compatible = "gpio-keys";
58 label = "Push button switch 0";
59 zephyr,code = <INPUT_KEY_0>;
63 label = "Push button switch 1";
64 zephyr,code = <INPUT_KEY_1>;
68 label = "Push button switch 2";
69 zephyr,code = <INPUT_KEY_2>;
73 label = "Push button switch 3";
74 zephyr,code = <INPUT_KEY_3>;
84 pwm-led0 = &pwm_led0;
89 bootloader-led0 = &led0;
90 mcuboot-button0 = &button0;
91 mcuboot-led0 = &led0;
97 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
105 gpio-as-nreset;
117 compatible = "nordic,nrf-uarte";
119 current-speed = <115200>;
120 pinctrl-0 = <&uart0_default>;
121 pinctrl-1 = <&uart0_sleep>;
122 pinctrl-names = "default", "sleep";
126 compatible = "nordic,nrf-twi";
129 pinctrl-0 = <&i2c0_default>;
130 pinctrl-1 = <&i2c0_sleep>;
131 pinctrl-names = "default", "sleep";
136 pinctrl-0 = <&pwm0_default>;
137 pinctrl-1 = <&pwm0_sleep>;
138 pinctrl-names = "default", "sleep";
142 compatible = "nordic,nrf-spi";
144 pinctrl-0 = <&spi0_default>;
145 pinctrl-1 = <&spi0_sleep>;
146 pinctrl-names = "default", "sleep";
150 compatible = "nordic,nrf-spi";
152 pinctrl-0 = <&spi1_default>;
153 pinctrl-1 = <&spi1_sleep>;
154 pinctrl-names = "default", "sleep";
160 compatible = "fixed-partitions";
161 #address-cells = <1>;
162 #size-cells = <1>;
169 label = "image-0";
173 label = "image-1";