Audio added to firmware, Website File handling
This commit is contained in:
@@ -4,5 +4,32 @@
|
||||
};
|
||||
aliases {
|
||||
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";
|
||||
};
|
||||
Reference in New Issue
Block a user