Lines Matching +full:button +full:- +full:input +full:- +full:code
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "nrf51dk_nrf51822-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
14 compatible = "nordic,nrf51-dk-nrf51822";
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;
98 channel-gpios = <&gpio0 21 PWM_POLARITY_INVERTED>;
99 clock-prescaler = <8>;
115 current-speed = <115200>;
117 pinctrl-0 = <&uart0_default>;
118 pinctrl-1 = <&uart0_sleep>;
119 pinctrl-names = "default", "sleep";
124 pinctrl-0 = <&i2c0_default>;
125 pinctrl-1 = <&i2c0_sleep>;
126 pinctrl-names = "default", "sleep";
132 pinctrl-0 = <&i2c1_default>;
133 pinctrl-1 = <&i2c1_sleep>;
134 pinctrl-names = "default", "sleep";
140 pinctrl-0 = <&spi0_default>;
141 pinctrl-1 = <&spi0_sleep>;
142 pinctrl-names = "default", "sleep";
146 compatible = "nordic,nrf-spi";
148 pinctrl-0 = <&spi1_default>;
149 pinctrl-1 = <&spi1_sleep>;
150 pinctrl-names = "default", "sleep";
156 compatible = "fixed-partitions";
157 #address-cells = <1>;
158 #size-cells = <1>;
165 label = "image-0";
169 label = "image-1";