Documentation / devicetree / bindings / serial / ingenic,uart.txt


Based on kernel version 5.7.10. Page generated on 2020-07-23 22:17 EST.

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 28
* Ingenic SoC UART

Required properties:
- compatible : One of:
  - "ingenic,jz4740-uart",
  - "ingenic,jz4760-uart",
  - "ingenic,jz4770-uart",
  - "ingenic,jz4775-uart",
  - "ingenic,jz4780-uart",
  - "ingenic,x1000-uart".
- reg : offset and length of the register set for the device.
- interrupts : should contain uart interrupt.
- clocks : phandles to the module & baud clocks.
- clock-names: tuple listing input clock names.
	Required elements: "baud", "module"

Example:

uart0: serial@10030000 {
	compatible = "ingenic,jz4740-uart";
	reg = <0x10030000 0x100>;

	interrupt-parent = <&intc>;
	interrupts = <9>;

	clocks = <&ext>, <&cgu JZ4740_CLK_UART0>;
	clock-names = "baud", "module";
};