Skip to content

Commit b39e4df

Browse files
committed
boards: s32z270: enable support psi5
enable support psi5 Signed-off-by: Cong Nguyen Huu <[email protected]>
1 parent 56283c6 commit b39e4df

6 files changed

+83
-5
lines changed

boards/nxp/s32z2xxdc2/doc/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ The boards support the following hardware features:
6868
+-----------+------------+-------------------------------------+
6969
| PIT | on-chip | counter |
7070
+-----------+------------+-------------------------------------+
71+
| PSI5 | on-chip | psi5 |
72+
+-----------+------------+-------------------------------------+
7173

7274
Other hardware features are not currently supported by the port.
7375

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0.yaml

+2-1
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+
- psi5
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu0_D.yaml

+2-1
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+
- psi5
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1.yaml

+2-1
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+
- psi5
2324
vendor: nxp

boards/nxp/s32z2xxdc2/s32z2xxdc2_s32z270_rtu1_D.yaml

+2-1
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+
- psi5
2324
vendor: nxp

dts/arm/nxp/nxp_s32z27x_r52.dtsi

+73-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022-2024 NXP
2+
* Copyright 2022-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -1452,5 +1452,77 @@
14521452
#size-cells = <0>;
14531453
status = "disabled";
14541454
};
1455+
1456+
psi5_0: psi5@401e0000 {
1457+
compatible = "nxp,s32-psi5";
1458+
reg = <0x401e0000 0x1000>;
1459+
#address-cells = <1>;
1460+
#size-cells = <0>;
1461+
status = "disabled";
1462+
1463+
psi5_0_ch0: ch@0 {
1464+
compatible = "nxp,s32-psi5-channel";
1465+
reg = <0>;
1466+
interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1467+
status = "disabled";
1468+
};
1469+
1470+
psi5_0_ch1: ch@1 {
1471+
compatible = "nxp,s32-psi5-channel";
1472+
reg = <1>;
1473+
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1474+
status = "disabled";
1475+
};
1476+
1477+
psi5_0_ch2: ch@2 {
1478+
compatible = "nxp,s32-psi5-channel";
1479+
reg = <2>;
1480+
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1481+
status = "disabled";
1482+
};
1483+
1484+
psi5_0_ch3: ch@3 {
1485+
compatible = "nxp,s32-psi5-channel";
1486+
reg = <3>;
1487+
interrupts = <GIC_SPI 365 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1488+
status = "disabled";
1489+
};
1490+
};
1491+
1492+
psi5_1: psi5@421e0000 {
1493+
compatible = "nxp,s32-psi5";
1494+
reg = <0x421e0000 0x1000>;
1495+
#address-cells = <1>;
1496+
#size-cells = <0>;
1497+
status = "disabled";
1498+
1499+
psi5_1_ch0: ch@0 {
1500+
compatible = "nxp,s32-psi5-channel";
1501+
reg = <0>;
1502+
interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1503+
status = "disabled";
1504+
};
1505+
1506+
psi5_1_ch1: ch@1 {
1507+
compatible = "nxp,s32-psi5-channel";
1508+
reg = <1>;
1509+
interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1510+
status = "disabled";
1511+
};
1512+
1513+
psi5_1_ch2: ch@2 {
1514+
compatible = "nxp,s32-psi5-channel";
1515+
reg = <2>;
1516+
interrupts = <GIC_SPI 383 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1517+
status = "disabled";
1518+
};
1519+
1520+
psi5_1_ch3: ch@3 {
1521+
compatible = "nxp,s32-psi5-channel";
1522+
reg = <3>;
1523+
interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
1524+
status = "disabled";
1525+
};
1526+
};
14551527
};
14561528
};

0 commit comments

Comments
 (0)