drivers: esp32/clock_control: Add Clock Driver

- Support PLL for Higher Frequencies 80,160,240 MHz
- Support XTAL Frequencies 26MHz, 40MHz
- Clock Driver can't be disabled, because all of the other drivers
will depend on it to get their operating Frequency based on chosen
clock source (XTAL/PLL).

- Add needed references to BBPLL i2c bus ROM functions.
- Add `rtc` node to Device Tree.
- Since All Peripherals Frequency is depending on CPU_CLK Source,
`clock-source` property added to CPU node

Signed-off-by: Mohamed ElShahawi <ExtremeGTX@hotmail.com>
This commit is contained in:
Mohamed ElShahawi 2020-05-23 15:46:29 +02:00 committed by Kumar Gala
commit 4acac3e9ef
15 changed files with 550 additions and 2 deletions

View file

@ -4,3 +4,5 @@
config SOC_ESP32
bool "ESP32"
select XTENSA
select CLOCK_CONTROL
select CLOCK_CONTROL_ESP32