Skip to content

Commit

Permalink
boards: s32z270: enable support psi5
Browse files Browse the repository at this point in the history
enable support psi5

Signed-off-by: Cong Nguyen Huu <[email protected]>
  • Loading branch information
congnguyenhuu committed Jan 10, 2025
1 parent d1338de commit f046b4c
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 1 deletion.
2 changes: 2 additions & 0 deletions boards/nxp/s32z2xxdc2/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ The boards support the following hardware features:
+-----------+------------+-------------------------------------+
| DSPI | on-chip | spi |
+-----------+------------+-------------------------------------+
| PSI5 | on-chip | psi5 |
+-----------+------------+-------------------------------------+

Other hardware features are not currently supported by the port.

Expand Down
73 changes: 72 additions & 1 deletion dts/arm/nxp/nxp_s32z27x_r52.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2024 NXP
* Copyright 2022-2025 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -1259,5 +1259,76 @@
status = "disabled";
};

psi5_0: psi5@401e0000 {
compatible = "nxp,s32-psi5";
reg = <0x401e0000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";

psi5_0_ch0: ch@0 {
compatible = "nxp,s32-psi5-channel";
reg = <0>;
interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_0_ch1: ch@1 {
compatible = "nxp,s32-psi5-channel";
reg = <1>;
interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_0_ch2: ch@2 {
compatible = "nxp,s32-psi5-channel";
reg = <2>;
interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_0_ch3: ch@3 {
compatible = "nxp,s32-psi5-channel";
reg = <3>;
interrupts = <GIC_SPI 365 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};
};

psi5_1: psi5@421e0000 {
compatible = "nxp,s32-psi5";
reg = <0x421e0000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";

psi5_1_ch0: ch@0 {
compatible = "nxp,s32-psi5-channel";
reg = <0>;
interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_1_ch1: ch@1 {
compatible = "nxp,s32-psi5-channel";
reg = <1>;
interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_1_ch2: ch@2 {
compatible = "nxp,s32-psi5-channel";
reg = <2>;
interrupts = <GIC_SPI 383 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};

psi5_1_ch3: ch@3 {
compatible = "nxp,s32-psi5-channel";
reg = <3>;
interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
status = "disabled";
};
};
};
};

0 comments on commit f046b4c

Please sign in to comment.