counter: nxp_pit: allow to specify max load value
The PIT maximum load value may not be always 32-bit. Allow the SoC to define this value from devicetree. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com>
This commit is contained in:
parent
f8e16ae81a
commit
ddaacd9ee8
4 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2020 NXP
|
||||
# Copyright 2020,2023 NXP
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: NXP MCUX Periodic Interrupt Timer (PIT)
|
||||
|
@ -20,3 +20,8 @@ properties:
|
|||
type: int
|
||||
required: true
|
||||
description: pit default period in us
|
||||
|
||||
max-load-value:
|
||||
type: int
|
||||
required: true
|
||||
description: maximum load value supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue