-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: arm: Enabling pit for imx devices
Enabled the PIT and Multi channel support for some of the rtXXXX devices. - rt1010 - rt1060 - rt1160 - rt1170 Signed-off-by: Emilio Benavente <[email protected]>
- Loading branch information
1 parent
8bb95d3
commit 9815296
Showing
16 changed files
with
256 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -386,3 +386,7 @@ | |
&gpio5{ | ||
pinmux = <&iomuxc_snvs_pmic_on_req_gpio5_io00>; | ||
}; | ||
|
||
&pit0 { | ||
interrupts = <24 0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/drivers/counter/counter_basic_api/boards/mimxrt1010_evk.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pit0_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit0_channel1 { | ||
status = "okay"; | ||
}; |
20 changes: 20 additions & 0 deletions
20
tests/drivers/counter/counter_basic_api/boards/mimxrt1060_evk.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
tests/drivers/counter/counter_basic_api/boards/mimxrt1160_evk_mimxrt1166_cm7.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pit1_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit1_channel1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* channel 2 disabled to test disabled channel not breaking things */ | ||
|
||
&pit1_channel3 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit2_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit2_channel1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* channel 2 disabled to test disabled channel not breaking things */ | ||
|
||
&pit2_channel3 { | ||
status = "okay"; | ||
}; |
33 changes: 33 additions & 0 deletions
33
tests/drivers/counter/counter_basic_api/boards/mimxrt1170_evk_mimxrt1176_cm7.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* Copyright 2024 NXP | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pit1_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit1_channel1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* channel 2 disabled to test disabled channel not breaking things */ | ||
|
||
&pit1_channel3 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit2_channel0 { | ||
status = "okay"; | ||
}; | ||
|
||
&pit2_channel1 { | ||
status = "okay"; | ||
}; | ||
|
||
/* channel 2 disabled to test disabled channel not breaking things */ | ||
|
||
&pit2_channel3 { | ||
status = "okay"; | ||
}; |