drivers: pwm: pwm_nrf5_sw: Use runtime resources allocation

Use nrfx_gpiote and nrfx_ppi allocators to allocate channels
at runtime instead of fixed, device-tree based allocation which
is harder to maintain.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2021-11-24 08:05:05 +01:00 committed by Carles Cufí
commit 9886bdc0c8
15 changed files with 55 additions and 91 deletions

View file

@ -269,8 +269,6 @@
generator = <&timer2>;
channel-count = <3>;
clock-prescaler = <0>;
ppi-base = <0>;
gpiote-base = <0>;
#pwm-cells = <1>;
};
};