boards: xtensa: add ledc support to the esp32 board

add ledc to board dtsi file,
change compatible and device define in pwm driver,
add yaml for board ledc support,
fix missing include for board in gpio include

Signed-off-by: Andrei-Edward Popa <andrei_edward.popa@upb.ro>
This commit is contained in:
Andrei-Edward Popa 2021-10-28 16:28:31 +03:00 committed by Christopher Friedt
commit 5413661a81
4 changed files with 39 additions and 8 deletions

View file

@ -2,6 +2,8 @@
* SPDX-License-Identifier: Apache-2.0
*/
#include <devicetree.h>
#ifndef ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_ESP32_H_
#define ZEPHYR_INCLUDE_DRIVERS_GPIO_GPIO_ESP32_H_