drivers: counter: Adding Mutli Channel PIT Support

Updating the nxp,pit driver to support mutliple
channels. Updating the dts and board overlays
to account for the changes.

Signed-off-by: Emilio Benavente <emilio.benavente@nxp.com>
This commit is contained in:
Emilio Benavente 2024-02-02 11:04:06 -06:00 committed by David Leach
commit 8bb95d33be
15 changed files with 423 additions and 86 deletions

View file

@ -0,0 +1,13 @@
# Copyright 2024 NXP
# SPDX-License-Identifier Apache-2.0
description: |
Child node for the Periodic Interrupt Timer node, intended for an individual timer channel
compatible: "nxp,pit-channel"
include: base.yaml
properties:
reg:
required: true

View file

@ -14,16 +14,6 @@ properties:
clocks:
required: true
pit-channel:
type: int
required: true
description: pit channel to active
pit-period:
type: int
required: true
description: pit default period in us
max-load-value:
type: int
required: true