hc
2023-02-18 a08c8b75ee83d7f62c9aefc23bfb42082aa4076c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
* Universal Asynchronous Receiver/Transmitter (UART)
 
- compatible: "rockchip,rk_serial"
 
  Compatibility with all rk28xx rk29xx rk30xx rk31xx SOCs.
 
- reg: The base address of the UART register bank.
 
- interrupts: A single interrupt specifier.
 
- id: port line, determine the ttySx
 
- use-dma-rx: enable dma receive
 
- use-dma-tx: enable dma tramsmit
 
Example:
uart0: serial@10124000 {
       compatible = "rockchip,rk_serial";
       reg = <0x10124000 0x100>;
       interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
       clock-frequency = <24000000>;
       id = <0>;
       use-dma-rx;
       use-dma-tx;
       status = "disabled";
   };