Skip to content

Commit fc72eaf

Browse files
henrikbrixandersenkartben
authored andcommitted
dts: bindings: counter: add NEORV32 GPTMR devicetree binding
Add devicetree binding for the NEORV32 General Purpose Timer (GPTMR). Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
1 parent 558aaac commit fc72eaf

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
description: NEORV32 General Purpose Timer (GPTMR)
2+
3+
compatible: "neorv32,gptmr"
4+
5+
include: base.yaml
6+
7+
properties:
8+
interrupts:
9+
required: true
10+
11+
reg:
12+
required: true
13+
14+
syscon:
15+
type: phandle
16+
required: true
17+
description: |
18+
phandle to syscon (NEORV32 SYSINFO) node.
19+
20+
prescaler:
21+
type: int
22+
enum: [2, 4, 8, 64, 128, 1024, 2048, 4096]
23+
required: true
24+
description: |
25+
Clock prescaler setting for scaling the main NEORV32 processor clock to the GPTMR clock.

0 commit comments

Comments
 (0)