Skip to content

Commit c074d20

Browse files
congnguyenhuudkalowsk
authored andcommitted
boards: s32z270: enable support SENT
enable support SENT Signed-off-by: Cong Nguyen Huu <[email protected]>
1 parent 003e391 commit c074d20

File tree

5 files changed

+114
-4
lines changed

5 files changed

+114
-4
lines changed

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022-2024 NXP
1+
# Copyright 2022-2025 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
identifier: s32z2xxdc2/s32z270/rtu0
@@ -20,4 +20,5 @@ supported:
2020
- i2c
2121
- dma
2222
- pwm
23+
- sent
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0_D.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023-2024 NXP
1+
# Copyright 2023-2025 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
identifier: s32z2xxdc2@D/s32z270/rtu0
@@ -20,4 +20,5 @@ supported:
2020
- i2c
2121
- dma
2222
- pwm
23+
- sent
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022-2024 NXP
1+
# Copyright 2022-2025 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
identifier: s32z2xxdc2/s32z270/rtu1
@@ -20,4 +20,5 @@ supported:
2020
- i2c
2121
- dma
2222
- pwm
23+
- sent
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1_D.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022-2024 NXP
1+
# Copyright 2022-2025 NXP
22
# SPDX-License-Identifier: Apache-2.0
33

44
identifier: s32z2xxdc2@D/s32z270/rtu1
@@ -20,4 +20,5 @@ supported:
2020
- i2c
2121
- dma
2222
- pwm
23+
- sent
2324
vendor: nxp

dts/arm/nxp/nxp_s32z27x_r52.dtsi

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,5 +1465,111 @@
14651465
#size-cells = <0>;
14661466
status = "disabled";
14671467
};
1468+
1469+
sent0: sent@40a50000 {
1470+
compatible = "nxp,s32-sent";
1471+
reg = <0x40a50000 0x1000>;
1472+
#address-cells = <1>;
1473+
#size-cells = <0>;
1474+
interrupts = <GIC_SPI 428 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
1475+
<GIC_SPI 429 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
1476+
<GIC_SPI 430 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1477+
interrupt-names = "fast_msg", "serial_msg", "error";
1478+
clocks = <&clock NXP_S32_P1_REG_INTF_CLK>;
1479+
status = "disabled";
1480+
1481+
sent0_ch0: ch@0 {
1482+
reg = <0>;
1483+
status = "disabled";
1484+
};
1485+
1486+
sent0_ch1: ch@1 {
1487+
reg = <1>;
1488+
status = "disabled";
1489+
};
1490+
1491+
sent0_ch2: ch@2 {
1492+
reg = <2>;
1493+
status = "disabled";
1494+
};
1495+
1496+
sent0_ch3: ch@3 {
1497+
reg = <3>;
1498+
status = "disabled";
1499+
};
1500+
1501+
sent0_ch4: ch@4 {
1502+
reg = <4>;
1503+
status = "disabled";
1504+
};
1505+
1506+
sent0_ch5: ch@5 {
1507+
reg = <5>;
1508+
status = "disabled";
1509+
};
1510+
1511+
sent0_ch6: ch@6 {
1512+
reg = <6>;
1513+
status = "disabled";
1514+
};
1515+
1516+
sent0_ch7: ch@7 {
1517+
reg = <7>;
1518+
status = "disabled";
1519+
};
1520+
};
1521+
1522+
sent1: sent@42050000 {
1523+
compatible = "nxp,s32-sent";
1524+
reg = <0x42050000 0x1000>;
1525+
#address-cells = <1>;
1526+
#size-cells = <0>;
1527+
interrupts = <GIC_SPI 455 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
1528+
<GIC_SPI 456 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>,
1529+
<GIC_SPI 457 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1530+
interrupt-names = "fast_msg", "serial_msg", "error";
1531+
clocks = <&clock NXP_S32_P4_REG_INTF_CLK>;
1532+
status = "disabled";
1533+
1534+
sent1_ch0: ch@0 {
1535+
reg = <0>;
1536+
status = "disabled";
1537+
};
1538+
1539+
sent1_ch1: ch@1 {
1540+
reg = <1>;
1541+
status = "disabled";
1542+
};
1543+
1544+
sent1_ch2: ch@2 {
1545+
reg = <2>;
1546+
status = "disabled";
1547+
};
1548+
1549+
sent1_ch3: ch@3 {
1550+
reg = <3>;
1551+
status = "disabled";
1552+
};
1553+
1554+
sent1_ch4: ch@4 {
1555+
reg = <4>;
1556+
status = "disabled";
1557+
};
1558+
1559+
sent1_ch5: ch@5 {
1560+
reg = <5>;
1561+
status = "disabled";
1562+
};
1563+
1564+
sent1_ch6: ch@6 {
1565+
reg = <6>;
1566+
status = "disabled";
1567+
};
1568+
1569+
sent1_ch7: ch@7 {
1570+
reg = <7>;
1571+
status = "disabled";
1572+
};
1573+
};
14681574
};
14691575
};

0 commit comments

Comments
 (0)