forked from kofal.net/zmk
refactor(boards): Move to pinctrl.
This commit is contained in:
committed by
Pete Johanson
parent
518f9a550f
commit
1493620bf7
@@ -7,6 +7,7 @@
|
||||
/dts-v1/;
|
||||
|
||||
#include <nordic/nrf52840_qiaa.dtsi>
|
||||
#include "pillbug-pinctrl.dtsi"
|
||||
#include "blackpill_pins.dtsi"
|
||||
|
||||
/ {
|
||||
@@ -63,22 +64,25 @@
|
||||
|
||||
&i2c0 {
|
||||
compatible = "nordic,nrf-twi";
|
||||
sda-pin = <15>;
|
||||
scl-pin = <13>;
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
pinctrl-1 = <&i2c0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&spi1{
|
||||
&spi1 {
|
||||
status = "disabled";
|
||||
compatible = "nordic,nrf-spim";
|
||||
sck-pin = <40>;
|
||||
mosi-pin = <11>;
|
||||
miso-pin = <26>;
|
||||
pinctrl-0 = <&spi1_default>;
|
||||
pinctrl-1 = <&spi1_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
compatible = "nordic,nrf-uarte";
|
||||
tx-pin = <6>;
|
||||
rx-pin = <8>;
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&uart0_default>;
|
||||
pinctrl-1 = <&uart0_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
};
|
||||
|
||||
&usbd {
|
||||
|
||||
Reference in New Issue
Block a user