Skip to content

Commit

Permalink
samples: udate reak dts overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
ktaborowski committed Apr 19, 2024
1 parent dae0efa commit ccc13c0
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions samples/sid_end_device/boards/rak4631_nrf52840.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,22 @@
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/

/ {
chosen {
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
};
};


sid_semtech: &spi1 {
compatible = "nordic,nrf-spim";
status = "okay";
pinctrl-0 = <&spi1_default>;
pinctrl-1 = <&spi1_sleep>;
pinctrl-names = "default", "sleep";
clock-frequency = <DT_FREQ_M(8)>;
/delete-property/ cs-gpios;

lora: lora@0 {
status = "disabled";
};
};

/{
Expand All @@ -29,29 +38,12 @@ sid_semtech: &spi1 {
label = "semtech_sx1262 Busy";
};
semtech_sx1262_antenna_enable_gpios: antena_enable {
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
label = "semtech_sx1262 Antena Enable";
};
semtech_sx1262_dio1_gpios: dio1 {
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
label = "semtech_sx1262 DIO1";
};
};
};

&spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 11)>,
<NRF_PSEL(SPIM_MOSI, 1, 12)>,
<NRF_PSEL(SPIM_MISO, 1, 13)>;
};
};

&spi1_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 11)>,
<NRF_PSEL(SPIM_MOSI, 1, 12)>,
<NRF_PSEL(SPIM_MISO, 1, 13)>;
low-power-enable;
};
};
};

0 comments on commit ccc13c0

Please sign in to comment.