Skip to content

Commit 1ddb2d6

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 7f38ebd commit 1ddb2d6

6 files changed

+126
-0
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 & 0 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";

boards/alif/alif_b1_dk/alif_b1_dk_ab1c1f4m51820ph0_rtss_he.dts

Lines changed: 1 addition & 0 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";
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)