esp32s2: drivers: serial: add minimal uart driver

based on uart rom functions, also enable console driver
on top of this driver, which enables logging

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
Glauber Maroto Ferreira 2021-08-05 14:05:18 -03:00 committed by Christopher Friedt
commit 8e865a7a88
9 changed files with 122 additions and 0 deletions

View file

@ -30,6 +30,13 @@
compatible = "mmio-sram";
reg = <0x3ffb0000 0x50000>;
};
uart0: uart@3f400000 {
compatible = "espressif,esp32s2-uart";
reg = <0x3f400000 0x400>;
label = "UART_0";
status = "disabled";
};
};
};