Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dts: arm64: imx95: add TPM device nodes #81012

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions boards/nxp/imx95_evk/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ the following hardware features:
+-----------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
| TPM | on-chip | tpm |
+-----------+------------+-------------------------------------+

System Clock
------------
Expand Down
1 change: 1 addition & 0 deletions boards/nxp/imx95_evk/imx95_evk_mimx9596_a55.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ toolchain:
ram: 1024
supported:
- uart
- counter
vendor: nxp
1 change: 1 addition & 0 deletions boards/nxp/imx95_evk/imx95_evk_mimx9596_a55_smp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ ram: 1024
supported:
- smp
- uart
- counter
vendor: nxp
66 changes: 66 additions & 0 deletions dts/arm64/nxp/nxp_mimx95_a55.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,70 @@
#mbox-cells = <1>;
status = "disabled";
};

tpm1: tpm@44310000 {
JiafeiPan marked this conversation as resolved.
Show resolved Hide resolved
compatible = "nxp,tpm-timer";
reg = <0x44310000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_BUSAON>;
prescaler = <1>;
status = "disabled";
};

tpm2: tpm@44320000 {
compatible = "nxp,tpm-timer";
reg = <0x44320000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_TPM2>;
prescaler = <1>;
status = "disabled";
};

tpm3: tpm@424e0000 {
compatible = "nxp,tpm-timer";
reg = <0x424e0000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
prescaler = <1>;
status = "disabled";
};

tpm4: tpm@424f0000 {
compatible = "nxp,tpm-timer";
reg = <0x424f0000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_TPM4>;
prescaler = <1>;
status = "disabled";
};

tpm5: tpm@42500000 {
compatible = "nxp,tpm-timer";
reg = <0x42500000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_TPM5>;
prescaler = <1>;
status = "disabled";
};

tpm6: tpm@42510000 {
compatible = "nxp,tpm-timer";
reg = <0x42510000 DT_SIZE_K(64)>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
interrupt-names = "irq_0";
interrupt-parent = <&gic>;
clocks = <&scmi_clk IMX95_CLK_TPM6>;
prescaler = <1>;
status = "disabled";
};
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/

&tpm2 {
status = "okay";
};
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ manifest:
groups:
- hal
- name: hal_nxp
revision: c42d70dba969de09c0e43d3b26a3ffcb015f6f33
revision: pull/459/head
path: modules/hal/nxp
groups:
- hal
Expand Down
Loading