sync
This commit is contained in:
53
boards/nrf52840dk_nrf52840.overlay
Normal file
53
boards/nrf52840dk_nrf52840.overlay
Normal file
@@ -0,0 +1,53 @@
|
||||
/ {
|
||||
aliases {
|
||||
sleep-led = &led0;
|
||||
usb-led = &led1;
|
||||
|
||||
status-led = &led2;
|
||||
buzzer-button = &button0;
|
||||
audio-i2s = &i2s0;
|
||||
};
|
||||
|
||||
chosen {
|
||||
nordic,pm-ext-flash = &mx25r64;
|
||||
};
|
||||
|
||||
zephyr,user {
|
||||
usb-detect-gpios = <&gpio1 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
||||
};
|
||||
};
|
||||
|
||||
&usbd {
|
||||
status = "okay";
|
||||
cdc_acm_uart0: cdc_acm_uart0 {
|
||||
compatible = "zephyr,cdc-acm-uart";
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
&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