dts: riscv: neorv32: add PWM controller devicetree node
Add devicetree node for the NEORV32 PWM controller. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
d8780274b5
commit
1b203bdb77
@ -8,6 +8,7 @@
|
||||
|
||||
#include <skeleton.dtsi>
|
||||
#include <zephyr/dt-bindings/gpio/gpio.h>
|
||||
#include <zephyr/dt-bindings/pwm/pwm.h>
|
||||
|
||||
/ {
|
||||
chosen {
|
||||
@ -79,6 +80,14 @@
|
||||
reg = <0xffe00000 0x10000>;
|
||||
};
|
||||
|
||||
pwm: pwm@fff00000 {
|
||||
compatible = "neorv32,pwm";
|
||||
status = "disabled";
|
||||
reg = <0xfff00000 0x10000>;
|
||||
syscon = <&sysinfo>;
|
||||
#pwm-cells = <3>;
|
||||
};
|
||||
|
||||
clint: clint@fff40000 {
|
||||
compatible = "neorv32,clint", "sifive,clint0";
|
||||
status = "disabled";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user