|
|
|
@ -17,11 +17,13 @@
@@ -17,11 +17,13 @@
|
|
|
|
|
|
|
|
|
|
buttons { |
|
|
|
|
compatible = "gpio-keys"; |
|
|
|
|
|
|
|
|
|
button0: button_0 { |
|
|
|
|
gpios = <&gpio1 14 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
|
|
|
|
label = "Push button 1"; |
|
|
|
|
zephyr,code = <INPUT_KEY_0>; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
button1: button_1 { |
|
|
|
|
gpios = <&gpio1 13 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>; |
|
|
|
|
label = "Push button 2"; |
|
|
|
@ -31,14 +33,17 @@
@@ -31,14 +33,17 @@
|
|
|
|
|
|
|
|
|
|
leds { |
|
|
|
|
compatible = "gpio-leds"; |
|
|
|
|
|
|
|
|
|
red_led: led_1 { |
|
|
|
|
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; |
|
|
|
|
label = "RGB red LED"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
green_led: led_2 { |
|
|
|
|
gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; |
|
|
|
|
label = "RGB green LED"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
blue_led: led_3 { |
|
|
|
|
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; |
|
|
|
|
label = "RGB blue LED"; |
|
|
|
@ -47,6 +52,7 @@
@@ -47,6 +52,7 @@
|
|
|
|
|
|
|
|
|
|
pwmleds { |
|
|
|
|
compatible = "pwm-leds"; |
|
|
|
|
|
|
|
|
|
red_led_pwm: led_pwm_0 { |
|
|
|
|
pwms = <&pwm0 0 PWM_MSEC(20) PWM_POLARITY_NORMAL>; |
|
|
|
|
label = "Red PWM LED"; |
|
|
|
@ -118,6 +124,7 @@
@@ -118,6 +124,7 @@
|
|
|
|
|
gpio_fwd: nrf-gpio-forwarder { |
|
|
|
|
compatible = "nordic,nrf-gpio-forwarder"; |
|
|
|
|
status = "okay"; |
|
|
|
|
|
|
|
|
|
fem-gpio-if { |
|
|
|
|
gpios = <&gpio1 11 0>, |
|
|
|
|
<&gpio1 12 0>, |
|
|
|
@ -130,6 +137,7 @@
@@ -130,6 +137,7 @@
|
|
|
|
|
spi_fwd: nrf-spi-forwarder { |
|
|
|
|
compatible = "nordic,nrf-gpio-forwarder"; |
|
|
|
|
status = "disabled"; |
|
|
|
|
|
|
|
|
|
fem-spi-if { |
|
|
|
|
gpios = <&gpio0 24 0>, |
|
|
|
|
<&gpio0 29 0>, |
|
|
|
@ -207,10 +215,10 @@
@@ -207,10 +215,10 @@
|
|
|
|
|
compatible = "nordic,nrf-twim"; |
|
|
|
|
status = "okay"; |
|
|
|
|
clock-frequency = <I2C_BITRATE_FAST>; |
|
|
|
|
|
|
|
|
|
pinctrl-0 = <&i2c1_default>; |
|
|
|
|
pinctrl-1 = <&i2c1_sleep>; |
|
|
|
|
pinctrl-names = "default", "sleep"; |
|
|
|
|
|
|
|
|
|
bmm150: bmm150@10 { |
|
|
|
|
compatible = "bosch,bmm150"; |
|
|
|
|
reg = <0x10>; |
|
|
|
@ -234,10 +242,10 @@
@@ -234,10 +242,10 @@
|
|
|
|
|
cs-gpios = <&gpio0 22 GPIO_ACTIVE_LOW>, |
|
|
|
|
<&gpio1 4 GPIO_ACTIVE_LOW>, |
|
|
|
|
<&gpio0 24 GPIO_ACTIVE_LOW>; |
|
|
|
|
|
|
|
|
|
pinctrl-0 = <&spi3_default>; |
|
|
|
|
pinctrl-1 = <&spi3_sleep>; |
|
|
|
|
pinctrl-names = "default", "sleep"; |
|
|
|
|
|
|
|
|
|
adxl362: spi-dev-adxl362@0 { |
|
|
|
|
compatible = "adi,adxl362"; |
|
|
|
|
spi-max-frequency = <8000000>; |
|
|
|
@ -275,6 +283,7 @@
@@ -275,6 +283,7 @@
|
|
|
|
|
pinctrl-0 = <&qspi_default>; |
|
|
|
|
pinctrl-1 = <&qspi_sleep>; |
|
|
|
|
pinctrl-names = "default", "sleep"; |
|
|
|
|
|
|
|
|
|
mx25r64: mx25r6435f@0 { |
|
|
|
|
compatible = "nordic,qspi-nor"; |
|
|
|
|
reg = <0>; |
|
|
|
|