Hi,
I am new with rock 5C, I moved from RP.
I want to enable uart 2 (pin 8,10) on android.
I have changed on rk3588s.dtsi:
uart2: serial@feb50000 {
compatible = “rockchip,rk3588-uart”, “snps,dw-apb-uart”;
reg = <0x0 0xfeb50000 0x0 0x100>;
interrupts = <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru SCLK_UART2>, <&cru PCLK_UART2>;
clock-names = “baudclk”, “apb_pclk”;
reg-shift = <2>;
reg-io-width = <4>;
dmas = <&dmac0 10>, <&dmac0 11>;
pinctrl-names = “default”;
pinctrl-0 = <&uart2m0_xfer>;
status = “okay”;
};
what i need to do next to enable it?
How can i config the uart baud rate?
Thanks
Tal B