dts: add pit as counter
add dts for kinetis pit counter driver Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
parent
17216128ab
commit
7fb938710b
1 changed files with 22 additions and 0 deletions
22
dts/bindings/rtc/nxp,kinetis-pit.yaml
Normal file
22
dts/bindings/rtc/nxp,kinetis-pit.yaml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Copyright 2020 NXP
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
description: NXP MCUX Periodic Interrupt Timer (PIT)
|
||||||
|
|
||||||
|
compatible: "nxp,kinetis-pit"
|
||||||
|
|
||||||
|
include: [rtc.yaml]
|
||||||
|
|
||||||
|
properties:
|
||||||
|
reg:
|
||||||
|
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
|
Loading…
Add table
Add a link
Reference in a new issue