87 lines
2.2 KiB
Plaintext
87 lines
2.2 KiB
Plaintext
/ {
|
|
aliases {
|
|
sleep-led = &led0;
|
|
usb-led = &led1;
|
|
|
|
status-led = &led2;
|
|
buzzer-button = &button0;
|
|
audio-i2s = &i2s0;
|
|
audio-amp-en = &audio_amp_en;
|
|
usb-uart = &cdc_acm_uart0;
|
|
qspi-flash = &mx25r64;
|
|
};
|
|
|
|
chosen {
|
|
nordic,pm-ext-flash = &mx25r64;
|
|
};
|
|
|
|
zephyr,user {
|
|
usb-detect-gpios = <&gpio1 1 (GPIO_PULL_DOWN | GPIO_ACTIVE_HIGH)>;
|
|
};
|
|
|
|
amp {
|
|
compatible = "gpio-leds";
|
|
audio_amp_en: audio_amp_en {
|
|
gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
|
|
label = "Amplifier Shudown Pin";
|
|
};
|
|
};
|
|
};
|
|
|
|
&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";
|
|
};
|
|
|
|
&i2c0 { status = "disabled"; };
|
|
&spi1 { status = "disabled"; };
|
|
&spi3 { status = "disabled"; };
|
|
&adc { status = "disabled"; };
|
|
&nfct { status = "disabled"; };
|
|
&temp { status = "disabled"; };
|
|
&pwm0 { status = "disabled"; };
|
|
&radio { status = "disabled"; };
|
|
&ieee802154 { status = "disabled"; };
|
|
&bt_hci_sdc { status = "disabled"; };
|
|
&cryptocell { status = "disabled"; };
|
|
|
|
// unkommentieren für prod
|
|
// &uart0 { status = "disabled"; };
|
|
// / {
|
|
// chosen {
|
|
// /delete-property/ zephyr,console;
|
|
// /delete-property/ zephyr,shell-uart;
|
|
// /delete-property/ zephyr,uart-mcumgr;
|
|
// /delete-property/ zephyr,ieee802154;
|
|
// };
|
|
// }; |