diff --git a/boards/nrf52840dongle_no_usb.overlay b/boards/nrf52840dongle_no_usb.overlay deleted file mode 100644 index 9e135fd..0000000 --- a/boards/nrf52840dongle_no_usb.overlay +++ /dev/null @@ -1,10 +0,0 @@ -/* Override UART0 pins */ -&uart0 { - status = "okay"; - current-speed = <115200>; - /* Explicitly disable hardware flow control */ - //hw-flow-control; - /* Explicitly set the pins */ - //tx-pin = <13>; /* P0.13 */ - //rx-pin = <15>; /* P0.15 */ -}; \ No newline at end of file diff --git a/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840-pinctrl.dtsi b/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840-pinctrl.dtsi index 50eea8d..a3f7d38 100644 --- a/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840-pinctrl.dtsi +++ b/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840-pinctrl.dtsi @@ -26,36 +26,6 @@ }; }; - i2c0_default: i2c0_default { - group1 { - psels = , - ; - }; - }; - - i2c0_sleep: i2c0_sleep { - group1 { - psels = , - ; - low-power-enable; - }; - }; - - i2c1_default: i2c1_default { - group1 { - psels = , - ; - }; - }; - - i2c1_sleep: i2c1_sleep { - group1 { - psels = , - ; - low-power-enable; - }; - }; - pwm0_default: pwm0_default { group1 { psels = , diff --git a/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840.dts b/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840.dts index 0e6bef5..d66b87f 100644 --- a/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840.dts +++ b/boards/nrf52840dongle_no_usb/nrf52840dongle_no_usb_nrf52840.dts @@ -124,56 +124,13 @@ &uart0 { compatible = "nordic,nrf-uarte"; status = "okay"; - current-speed = <115200>; + current-speed = <1000000>; pinctrl-0 = <&uart0_default>; pinctrl-1 = <&uart0_sleep>; pinctrl-names = "default", "sleep"; + hw-flow-control; }; -&i2c0 { - compatible = "nordic,nrf-twi"; - status = "okay"; - pinctrl-0 = <&i2c0_default>; - pinctrl-1 = <&i2c0_sleep>; - pinctrl-names = "default", "sleep"; -}; - -&i2c1 { - compatible = "nordic,nrf-twi"; - /* Cannot be used together with spi1. */ - /* status = "okay"; */ - pinctrl-0 = <&i2c1_default>; - pinctrl-1 = <&i2c1_sleep>; - pinctrl-names = "default", "sleep"; -}; - -&pwm0 { - status = "okay"; - pinctrl-0 = <&pwm0_default>; - pinctrl-1 = <&pwm0_sleep>; - pinctrl-names = "default", "sleep"; -}; - -/* - * By default, not adding all available SPI instances (spi2, spi3) due to - * limited GPIOs available on dongle board. - */ -&spi0 { - compatible = "nordic,nrf-spi"; - /* Cannot be used together with i2c0. */ - /* status = "okay"; */ - pinctrl-0 = <&spi0_default>; - pinctrl-1 = <&spi0_sleep>; - pinctrl-names = "default", "sleep"; -}; - -&spi1 { - compatible = "nordic,nrf-spi"; - status = "okay"; - pinctrl-0 = <&spi1_default>; - pinctrl-1 = <&spi1_sleep>; - pinctrl-names = "default", "sleep"; -}; &ieee802154 { status = "okay"; @@ -186,14 +143,3 @@ */ #include "fstab-debugger.dtsi" - - -&uart0_default { - group1 { - psels = , ; - }; - - group2 { - psels = , ; - }; -};