Skip to content

Commit 87e38af

Browse files
henrikbrixandersenkartben
authored andcommitted
dts: bindings: pwm: add binding for the NEORV32 PWM controller
Add devicetree binding for the NEORV32 PWM controller. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 02af629 commit 87e38af

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

dts/bindings/pwm/neorv32,pwm.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2025 Henrik Brix Andersen <[email protected]>
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: NEORV32 PWM
5+
6+
compatible: "neorv32,pwm"
7+
8+
include: [pwm-controller.yaml, base.yaml]
9+
10+
properties:
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+
"#pwm-cells":
21+
const: 3
22+
23+
pwm-cells:
24+
- channel
25+
# period in terms of nanoseconds
26+
- period
27+
- flags

0 commit comments

Comments
 (0)