Skip to content

Commit 4fef5cf

Browse files
boards: alif: alif_b1_dk: Add common DTSI files for both SoC series
Add the common DTSI includes for the two supported SoC series: 1. alif_b1_dk_ab1c1f1m41820xx0_rtss_he.dtsi 2. alif_b1_dk_ab1c1f4m51820xx0_rtss_he.dtsi These files contain shared definitions used across both variants. Signed-off-by: Prabhakar Kumar <prabhakar.kumar@alifsemi.com>
1 parent 43d8cbe commit 4fef5cf

6 files changed

+126
-138
lines changed

boards/alif/alif_b1_dk/alif_b1_dk_ab1c1f1m41820hh0_rtss_he.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <alif/balletto/b1/ab1c1f1m41820hh0.dtsi>
99
#include "../common/balletto-pinctrl.dtsi"
10+
#include "alif_b1_dk_ab1c1f1m41820xx0_rtss_he.dtsi"
1011

1112
/ {
1213
compatible = "arm,alif-b1-dk-ab1c1f1m41820hh0-rtss-he";
@@ -50,3 +51,7 @@
5051
&gpio4 {
5152
status = "okay";
5253
};
54+
55+
&gpio5 {
56+
status = "okay";
57+
};

boards/alif/alif_b1_dk/alif_b1_dk_ab1c1f1m41820ph0_rtss_he.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <alif/balletto/b1/ab1c1f1m41820ph0.dtsi>
99
#include "../common/balletto-pinctrl.dtsi"
10+
#include "alif_b1_dk_ab1c1f1m41820xx0_rtss_he.dtsi"
1011

1112
/ {
1213
compatible = "arm,alif-b1-dk-ab1c1f1m41820ph0-rtss-he";
@@ -50,3 +51,7 @@
5051
&gpio4 {
5152
status = "okay";
5253
};
54+
55+
&gpio5 {
56+
status = "okay";
57+
};
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/* Copyright (c) 2025 Alif Semiconductor
2+
*
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&{/} {
7+
chosen {
8+
zephyr,console = &uart2;
9+
zephyr,shell-uart = &uart2;
10+
};
11+
12+
aliases {
13+
led0 = &aled0;
14+
sw0 = &button0;
15+
watchdog0 = &wdog0;
16+
};
17+
18+
leds {
19+
compatible = "gpio-leds";
20+
aled0: led_0 {
21+
gpios = <&gpio4 5 0>;
22+
label = "LED0_G";
23+
};
24+
};
25+
26+
buttons {
27+
compatible = "gpio-keys";
28+
button0: button_0 {
29+
gpios = <&gpio5 7 0>;
30+
label = "SW0";
31+
};
32+
};
33+
};
34+
35+
&uart2 {
36+
status = "okay";
37+
};
38+
39+
&gpio4 {
40+
status = "okay";
41+
};

boards/alif/alif_b1_dk/alif_b1_dk_ab1c1f4m51820hh0_rtss_he.dts

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <alif/balletto/b1/ab1c1f4m51820hh0.dtsi>
99
#include "../common/balletto-pinctrl.dtsi"
10+
#include "alif_b1_dk_ab1c1f4m51820xx0_rtss_he.dtsi"
1011

1112
/ {
1213
compatible = "arm,alif-b1-dk-ab1c1f4m51820hh0-rtss-he";
@@ -17,72 +18,3 @@
1718
&ieee802154 {
1819
status = "okay";
1920
};
20-
21-
&{/} {
22-
chosen {
23-
zephyr,console = &uart2;
24-
zephyr,shell-uart = &uart2;
25-
zephyr,bt-hci = &alif_hci_uart;
26-
zephyr,hci-uart = &uart_hci;
27-
zephyr,uart-mcumgr = &uart2;
28-
zephyr,entropy = &rng;
29-
};
30-
31-
aliases {
32-
led0 = &aled0;
33-
sw0 = &button0;
34-
watchdog0 = &wdog0;
35-
};
36-
37-
leds {
38-
compatible = "gpio-leds";
39-
40-
aled0: led_0 {
41-
gpios = <&gpio4 5 0>;
42-
label = "LED0_G";
43-
};
44-
};
45-
46-
buttons {
47-
compatible = "gpio-keys";
48-
49-
button0: button_0 {
50-
gpios = < &gpio5 7 0 >;
51-
label = "SW0";
52-
};
53-
};
54-
};
55-
56-
&uart2 {
57-
status = "okay";
58-
};
59-
60-
&uart_hci {
61-
clock-frequency = <160000000>;
62-
dmas = <&dma2 HCI_UART_DMA_RX_CH HCI_UART_DMA_RX_REQ>,
63-
<&dma2 HCI_UART_DMA_TX_CH HCI_UART_DMA_TX_REQ>;
64-
dma-names = "rx", "tx";
65-
status = "okay";
66-
};
67-
68-
&uart_ahi {
69-
clock-frequency = <160000000>;
70-
pinctrl-0 = <&pinctrl_ahi_trace>;
71-
pinctrl-names = "default";
72-
dmas = <&dma2 AHI_UART_DMA_RX_CH AHI_UART_DMA_RX_REQ>,
73-
<&dma2 AHI_UART_DMA_TX_CH AHI_UART_DMA_TX_REQ>;
74-
dma-names = "rx", "tx";
75-
status = "okay";
76-
};
77-
78-
&dma2 {
79-
status = "okay";
80-
};
81-
82-
&gpio4 {
83-
status = "okay";
84-
};
85-
86-
&gpio5 {
87-
status = "okay";
88-
};

boards/alif/alif_b1_dk/alif_b1_dk_ab1c1f4m51820ph0_rtss_he.dts

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include <alif/balletto/b1/ab1c1f4m51820ph0.dtsi>
99
#include "../common/balletto-pinctrl.dtsi"
10+
#include "alif_b1_dk_ab1c1f4m51820xx0_rtss_he.dtsi"
1011

1112
/ {
1213
compatible = "arm,alif-b1-dk-ab1c1f4m51820ph0-rtss-he";
@@ -17,72 +18,3 @@
1718
&ieee802154 {
1819
status = "okay";
1920
};
20-
21-
&{/} {
22-
chosen {
23-
zephyr,console = &uart2;
24-
zephyr,shell-uart = &uart2;
25-
zephyr,bt-hci = &alif_hci_uart;
26-
zephyr,hci-uart = &uart_hci;
27-
zephyr,uart-mcumgr = &uart2;
28-
zephyr,entropy = &rng;
29-
};
30-
31-
aliases {
32-
led0 = &aled0;
33-
sw0 = &button0;
34-
watchdog0 = &wdog0;
35-
};
36-
37-
leds {
38-
compatible = "gpio-leds";
39-
40-
aled0: led_0 {
41-
gpios = <&gpio4 5 0>;
42-
label = "LED0_G";
43-
};
44-
};
45-
46-
buttons {
47-
compatible = "gpio-keys";
48-
49-
button0: button_0 {
50-
gpios = < &gpio5 7 0 >;
51-
label = "SW0";
52-
};
53-
};
54-
};
55-
56-
&uart2 {
57-
status = "okay";
58-
};
59-
60-
&uart_hci {
61-
clock-frequency = <160000000>;
62-
dmas = <&dma2 HCI_UART_DMA_RX_CH HCI_UART_DMA_RX_REQ>,
63-
<&dma2 HCI_UART_DMA_TX_CH HCI_UART_DMA_TX_REQ>;
64-
dma-names = "rx", "tx";
65-
status = "okay";
66-
};
67-
68-
&uart_ahi {
69-
clock-frequency = <160000000>;
70-
pinctrl-0 = <&pinctrl_ahi_trace>;
71-
pinctrl-names = "default";
72-
dmas = <&dma2 AHI_UART_DMA_RX_CH AHI_UART_DMA_RX_REQ>,
73-
<&dma2 AHI_UART_DMA_TX_CH AHI_UART_DMA_TX_REQ>;
74-
dma-names = "rx", "tx";
75-
status = "okay";
76-
};
77-
78-
&dma2 {
79-
status = "okay";
80-
};
81-
82-
&gpio4 {
83-
status = "okay";
84-
};
85-
86-
&gpio5 {
87-
status = "okay";
88-
};
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/* Copyright (c) 2025 Alif Semiconductor
2+
*
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
&{/} {
7+
chosen {
8+
zephyr,console = &uart2;
9+
zephyr,shell-uart = &uart2;
10+
zephyr,bt-hci = &alif_hci_uart;
11+
zephyr,hci-uart = &uart_hci;
12+
zephyr,uart-mcumgr = &uart2;
13+
zephyr,entropy = &rng;
14+
};
15+
16+
aliases {
17+
led0 = &aled0;
18+
sw0 = &button0;
19+
watchdog0 = &wdog0;
20+
};
21+
22+
leds {
23+
compatible = "gpio-leds";
24+
25+
aled0: led_0 {
26+
gpios = <&gpio4 5 0>;
27+
label = "LED0_G";
28+
};
29+
};
30+
31+
buttons {
32+
compatible = "gpio-keys";
33+
34+
button0: button_0 {
35+
gpios = < &gpio5 7 0 >;
36+
label = "SW0";
37+
};
38+
};
39+
};
40+
41+
&uart2 {
42+
status = "okay";
43+
};
44+
45+
&uart_hci {
46+
clock-frequency = <160000000>;
47+
dmas = <&dma2 HCI_UART_DMA_RX_CH HCI_UART_DMA_RX_REQ>,
48+
<&dma2 HCI_UART_DMA_TX_CH HCI_UART_DMA_TX_REQ>;
49+
dma-names = "rx", "tx";
50+
status = "okay";
51+
};
52+
53+
&uart_ahi {
54+
clock-frequency = <160000000>;
55+
pinctrl-0 = <&pinctrl_ahi_trace>;
56+
pinctrl-names = "default";
57+
dmas = <&dma2 AHI_UART_DMA_RX_CH AHI_UART_DMA_RX_REQ>,
58+
<&dma2 AHI_UART_DMA_TX_CH AHI_UART_DMA_TX_REQ>;
59+
dma-names = "rx", "tx";
60+
status = "okay";
61+
};
62+
63+
&dma2 {
64+
status = "okay";
65+
};
66+
67+
&gpio4 {
68+
status = "okay";
69+
};
70+
71+
&gpio5 {
72+
status = "okay";
73+
};

0 commit comments

Comments
 (0)