Skip to content

Commit

Permalink
added nrf52833dk overlay
Browse files Browse the repository at this point in the history
vChavezB committed May 17, 2024
1 parent 58035c8 commit 1655458
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions samples/ifm_sample_app/boards/nrf52833dk_nrf52833.overlay
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/ {

iolm_gpios: iolm_gpios {
compatible = "gpio-leds";
iolm_irq: iolm_irq {
status = "okay";
gpios = <&gpio0 19 (GPIO_ACTIVE_LOW)>;
label = "iolm_irq";
};
iolm_cs: iolm_cs {
status = "okay";
gpios = <&gpio1 7 (GPIO_ACTIVE_LOW)>;
label = "iolm_cs";
};
};

aliases {
iolm-spi= &spi1;
iolm-cs = &iolm_cs;
iolm-irq = &iolm_irq;
};

};

&uart0 {
current-speed = <460800>;
};

&pinctrl {

spi1_default: spi1_default {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1,5)>,
<NRF_PSEL(SPIM_MOSI, 1, 6)>,
<NRF_PSEL(SPIM_MISO, 1, 8)>;
};
};
spi1_sleep: spi1_sleep {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 1, 5)>,
<NRF_PSEL(SPIM_MOSI,1, 6)>,
<NRF_PSEL(SPIM_MISO, 1, 8)>;
low-power-enable;
};
};
};

0 comments on commit 1655458

Please sign in to comment.