dts: nrf: SW PWM device node added to nRF5 devices with yaml binding
1. SW PWM device node added to common nrf5_common.dtsi 2. SW PWM node set in all nRF5x DTSI files. Different initial settings for nRF51 and nRF52 devices. Status is ok by default for nRF51. 3. Added yaml binding for Nordic SW PWM node. 4. Set codeowner of nordic dts bindings to @anangl Signed-off-by: Gaute Gamnes <gaute.gamnes@nordicsemi.no>
This commit is contained in:
parent
6af7856a66
commit
88f099c3a1
6 changed files with 92 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
#include <arm/armv7-m.dtsi>
|
||||
#include <dt-bindings/i2c/i2c.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include "nrf5_common.dtsi"
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
|
@ -194,3 +195,11 @@
|
|||
&nvic {
|
||||
arm,num-irq-priority-bits = <3>;
|
||||
};
|
||||
|
||||
&sw_pwm {
|
||||
timer-instance = <2>;
|
||||
channel-count = <3>;
|
||||
clock-prescaler = <0>;
|
||||
ppi-base = <14>;
|
||||
gpiote-base = <0>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue