add overlays

This commit is contained in:
2025-07-03 15:04:08 +02:00
parent 1b12bf1dd3
commit fb806a66f8
3 changed files with 71 additions and 1 deletions

44
bl54l15_radio1.overlay Normal file
View File

@@ -0,0 +1,44 @@
&uart20 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <1000000>;
hw-flow-control;
};
&pinctrl {
uart20_default: uart20_default {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 6)>,
<NRF_PSEL(UART_RTS, 1, 7)>;
};
group2 {
psels = <NRF_PSEL(UART_RX, 1, 4)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
bias-pull-up;
};
};
uart20_sleep: uart20_sleep {
group1 {
psels = <NRF_PSEL(UART_TX, 1, 6)>,
<NRF_PSEL(UART_RX, 1, 4)>,
<NRF_PSEL(UART_RTS, 1, 7)>,
<NRF_PSEL(UART_CTS, 1, 5)>;
low-power-enable;
};
};
};
/ {
chosen {
zephyr,console = &uart20;
zephyr,shell-uart = &uart20;
//zephyr,uart-mcumgr = &uart0;
//zephyr,bt-mon-uart = &uart0;
//zephyr,bt-c2h-uart = &uart0;
};
};
&power {
status = "okay";
};

View File

@@ -1,7 +1,7 @@
&uart0 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <1000000>; //<115200>;
current-speed = <115200>; //<115200>;
hw-flow-control;
};
@@ -43,3 +43,11 @@
&power {
status = "okay";
};
&led0_green {
gpios = <&gpio0 0 0>;
};
&led1_red {
gpios = <&gpio0 1 0>;
};

View File

@@ -0,0 +1,18 @@
&uart0 {
compatible = "nordic,nrf-uarte";
status = "okay";
current-speed = <1000000>;
hw-flow-control;
};
/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,log-uart = &uart0;
// zephyr,uart-mcumgr = &uart0;
// zephyr,bt-mon-uart = &uart0;
//zephyr,bt-c2h-uart = &uart0; // make uart0 the hci interfac
};
};