50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
/{
|
|
chosen {
|
|
nordic,pm-ext-flash = &mx25r64;
|
|
};
|
|
aliases {
|
|
external-flash = &mx25r64;
|
|
qspi-flash = &mx25r64;
|
|
i2s-audio = &i2s0;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
i2s0_default: i2s0_default {
|
|
group1 {
|
|
psels = <NRF_PSEL(I2S_SCK_M, 0, 31)>, /* SCK/Bit Clock */
|
|
<NRF_PSEL(I2S_LRCK_M, 0, 30)>, /* WS/Word Select */
|
|
<NRF_PSEL(I2S_SDOUT, 0, 29)>; /* SD/Serial Data */
|
|
};
|
|
};
|
|
|
|
i2s0_sleep: i2s0_sleep {
|
|
group1 {
|
|
psels = <NRF_PSEL(I2S_SCK_M, 0, 31)>,
|
|
<NRF_PSEL(I2S_LRCK_M, 0, 30)>,
|
|
<NRF_PSEL(I2S_SDOUT, 0, 29)>;
|
|
low-power-enable;
|
|
};
|
|
};
|
|
};
|
|
|
|
&i2s0 {
|
|
status = "okay";
|
|
pinctrl-0 = <&i2s0_default>;
|
|
pinctrl-1 = <&i2s0_sleep>;
|
|
pinctrl-names = "default", "sleep";
|
|
};
|
|
|
|
&mx25r64 {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
ext_flash_lfs: partition@0 {
|
|
label = "ext-littlefs";
|
|
reg = <0x00000000 DT_SIZE_M(8)>;
|
|
};
|
|
};
|
|
};
|