64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
#include <zephyr/dt-bindings/pinctrl/nrf-pinctrl.h>
|
|
|
|
&pinctrl {
|
|
i2s0_default: i2s0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(I2S_SCK_M, 0, 3)>, /* BCLK an P0.03 */
|
|
<NRF_PSEL(I2S_LRCK_M, 0, 28)>, /* LRCLK an P0.28 */
|
|
<NRF_PSEL(I2S_SDOUT, 1, 10)>; /* DIN an P1.10 */
|
|
};
|
|
};
|
|
|
|
i2s0_sleep: i2s0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(I2S_SCK_M, 0, 3)>,
|
|
<NRF_PSEL(I2S_LRCK_M, 0, 28)>,
|
|
<NRF_PSEL(I2S_SDOUT, 1, 10)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
spi3_default: spi3_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 2)>,
|
|
<NRF_PSEL(SPIM_MOSI, 0, 29)>,
|
|
<NRF_PSEL(SPIM_MISO, 0, 30)>;
|
|
};
|
|
};
|
|
|
|
spi3_sleep: spi3_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(SPIM_SCK, 0, 2)>,
|
|
<NRF_PSEL(SPIM_MOSI, 0, 29)>,
|
|
<NRF_PSEL(SPIM_MISO, 0, 30)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
|
|
/*
|
|
* Optional future QSPI pinctrl states (keep disabled for now).
|
|
* Use these when switching from &spi3 to &qspi in buzzy.dts.
|
|
*/
|
|
// qspi_default: qspi_default {
|
|
// group1 {
|
|
// psels = <NRF_PSEL(QSPI_SCK, 0, 2)>,
|
|
// <NRF_PSEL(QSPI_CSN, 0, 5)>,
|
|
// <NRF_PSEL(QSPI_IO0, 0, 29)>,
|
|
// <NRF_PSEL(QSPI_IO1, 0, 30)>,
|
|
// <NRF_PSEL(QSPI_IO2, 0, 31)>,
|
|
// <NRF_PSEL(QSPI_IO3, 1, 13)>;
|
|
// };
|
|
// };
|
|
|
|
// qspi_sleep: qspi_sleep {
|
|
// group1 {
|
|
// psels = <NRF_PSEL(QSPI_SCK, 0, 2)>,
|
|
// <NRF_PSEL(QSPI_CSN, 0, 5)>,
|
|
// <NRF_PSEL(QSPI_IO0, 0, 29)>,
|
|
// <NRF_PSEL(QSPI_IO1, 0, 30)>,
|
|
// <NRF_PSEL(QSPI_IO2, 0, 31)>,
|
|
// <NRF_PSEL(QSPI_IO3, 1, 13)>;
|
|
// low-power-enable;
|
|
// };
|
|
// };
|
|
}; |