dts: nrf: PWM device node added to nRF52 devices with yaml binding
1. PWM device node added with alias to all nRF52x DTSI files. 1 instance for nRF52810, 3 instances for nRF52832, and 4 instance for nRF52840. 2. Added yaml binding for Nordic PWM node. Signed-off-by: Gaute Gamnes <gaute.gamnes@nordicsemi.no>
This commit is contained in:
parent
d6d9ca72eb
commit
7b1ebb2116
4 changed files with 143 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
gpio-0 = &gpio0;
|
||||
gpiote-0 = &gpiote;
|
||||
wdt-0 = &wdt;
|
||||
pwm-0 = &pwm0;
|
||||
qdec-0 = &qdec;
|
||||
};
|
||||
|
||||
|
@ -92,6 +93,14 @@
|
|||
label = "I2C_0";
|
||||
};
|
||||
|
||||
pwm0: pwm@4001C000 {
|
||||
compatible = "nordic,nrf-pwm";
|
||||
reg = <0x4001C000 0x1000>;
|
||||
interrupts = <28 1>;
|
||||
status = "disabled";
|
||||
label = "PWM_0";
|
||||
};
|
||||
|
||||
qdec: qdec@40012000 {
|
||||
compatible = "nordic,nrf-qdec";
|
||||
reg = <0x40012000 0x1000>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue