Lines Matching +full:pinctrl +full:- +full:2

2  * Copyright (c) 2018-2020 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
6 #include "nrf9160dk_nrf9160_common-pinctrl.dtsi"
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 compatible = "nordic,nrf9160-dk-nrf9160";
15 zephyr,shell-uart = &uart0;
16 zephyr,uart-mcumgr = &uart0;
20 compatible = "gpio-leds";
22 gpios = <&gpio0 2 0>;
27 label = "Green LED 2";
40 compatible = "pwm-leds";
49 * on nRF9160 DK. Instead, we have 2 buttons and 2 switches.
54 compatible = "gpio-keys";
62 label = "Push button 2";
72 label = "Switch 2";
77 interface_to_nrf52840: gpio-interface {
78 compatible = "nordic,nrf9160dk-nrf52840-interface";
79 #gpio-cells = <2>;
80 gpio-map-mask = <0xf 0>;
81 gpio-map-pass-thru = <0 0xffffffff>;
82 gpio-map = <0 0 &gpio0 17 0>,
84 <2 0 &gpio0 19 0>,
93 nrf52840_reset: gpio-reset {
94 compatible = "nordic,nrf9160dk-nrf52840-reset";
98 * with the previously used Kconfig-based configuration.
104 compatible = "arduino-header-r3";
105 #gpio-cells = <2>;
106 gpio-map-mask = <0xffffffff 0xffffffc0>;
107 gpio-map-pass-thru = <0 0x3f>;
108 gpio-map = <0 0 &gpio0 14 0>, /* A0 */
110 <2 0 &gpio0 16 0>, /* A2 */
116 <8 0 &gpio0 2 0>, /* D2 */
132 arduino_adc: analog-connector {
133 compatible = "arduino,uno-adc";
134 #io-channel-cells = <1>;
135 io-channel-map = <0 &adc 1>, /* A0 = P0.14 = AIN1 */
136 <1 &adc 2>, /* A1 = P0.15 = AIN2 */
137 <2 &adc 3>, /* A2 = P0.16 = AIN3 */
149 pwm-led0 = &pwm_led0;
154 bootloader-led0 = &led0;
155 mcuboot-button0 = &button0;
156 mcuboot-led0 = &led0;
175 current-speed = <115200>;
176 pinctrl-0 = <&uart0_default>;
177 pinctrl-1 = <&uart0_sleep>;
178 pinctrl-names = "default", "sleep";
183 current-speed = <115200>;
184 pinctrl-0 = <&uart1_default>;
185 pinctrl-1 = <&uart1_sleep>;
186 pinctrl-names = "default", "sleep";
190 pinctrl-0 = <&uart2_default>;
191 pinctrl-1 = <&uart2_sleep>;
192 pinctrl-names = "default", "sleep";
196 compatible = "nordic,nrf-twim";
198 pinctrl-0 = <&i2c2_default>;
199 pinctrl-1 = <&i2c2_sleep>;
200 pinctrl-names = "default", "sleep";
205 pinctrl-0 = <&pwm0_default>;
206 pinctrl-1 = <&pwm0_sleep>;
207 pinctrl-names = "default", "sleep";
211 compatible = "nordic,nrf-spim";
213 cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
214 pinctrl-0 = <&spi3_default>;
215 pinctrl-1 = <&spi3_sleep>;
216 pinctrl-names = "default", "sleep";