diff options
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/serial/ingenic,uart.txt')
-rw-r--r-- | kernel/Documentation/devicetree/bindings/serial/ingenic,uart.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/serial/ingenic,uart.txt b/kernel/Documentation/devicetree/bindings/serial/ingenic,uart.txt new file mode 100644 index 000000000..02cb7fe59 --- /dev/null +++ b/kernel/Documentation/devicetree/bindings/serial/ingenic,uart.txt @@ -0,0 +1,23 @@ +* Ingenic SoC UART + +Required properties: +- compatible : "ingenic,jz4740-uart", "ingenic,jz4760-uart", + "ingenic,jz4775-uart" or "ingenic,jz4780-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"; +}; |