driver: serial: Add UART driver initial version of RTS5912.

Add UART driver for Realtek RTS5912.

Signed-off-by: Lin Yu-Cheng <lin_yu_cheng@realtek.com>
This commit is contained in:
Lin Yu-Cheng 2024-11-23 08:20:58 +08:00 committed by Benjamin Cabé
commit a3c0b03915
6 changed files with 139 additions and 0 deletions

View file

@ -92,6 +92,24 @@
status = "okay";
};
uart0: uart@40010100 {
compatible = "ns16550";
reg = <0x40010100 0x100>;
reg-shift = <2>;
clock-frequency = <25000000>;
interrupts = <191 0>;
status = "disabled";
};
uart0_wrapper: uart_wrapper@40010200 {
compatible = "realtek,rts5912-uart";
reg = <0x40010200 0x0020>;
port = <0>;
clocks = <&sccon RTS5912_SCCON_UART UART0_CLKPWR>;
clock-names = "uart0";
status = "disabled";
};
pinctrl: pin-controller@40090000 {
compatible = "realtek,rts5912-pinctrl";
#address-cells = <1>;