Skip to content

Commit

Permalink
samples: update rak board pins
Browse files Browse the repository at this point in the history
based on zephyr/boards/arm/rak4631_nrf52840/rak4631_nrf52840.dts
antena_enable unknow

Signed-off-by: Krzysztof Taborowski <[email protected]>
  • Loading branch information
ktaborowski committed Apr 19, 2024
1 parent 9659f9d commit 2fe08dd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions samples/sid_end_device/boards/rak4631_nrf52840.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,41 @@ sid_semtech: &spi1 {
semtech_sx1262_gpios{
compatible = "gpio-keys";
semtech_sx1262_cs: cs {
gpios = <&gpio1 0x8 GPIO_ACTIVE_LOW>;
gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
label = "semtech_sx1262 CS";
};
semtech_sx1262_reset_gpios: reset {
gpios = <&gpio0 0x3 GPIO_ACTIVE_LOW>;
gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
label = "semtech_sx1262 Reset";
};
semtech_sx1262_busy_gpios: busy {
gpios = <&gpio1 0x4 GPIO_ACTIVE_HIGH>;
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
label = "semtech_sx1262 Busy";
};
semtech_sx1262_antenna_enable_gpios: antena_enable {
gpios = <&gpio1 0xa GPIO_ACTIVE_HIGH>;
gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
label = "semtech_sx1262 Antena Enable";
};
semtech_sx1262_dio1_gpios: dio1 {
gpios = <&gpio1 0x6 GPIO_ACTIVE_HIGH>;
gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
label = "semtech_sx1262 DIO1";
};
};
};

&spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 15)>,
<NRF_PSEL(SPIM_MISO, 1, 14)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
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, 15)>,
<NRF_PSEL(SPIM_MISO, 1, 14)>,
<NRF_PSEL(SPIM_MOSI, 1, 13)>;
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 2fe08dd

Please sign in to comment.