samsung_uart.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. * Samsung's UART Controller
  2. The Samsung's UART controller is used for interfacing SoC with serial
  3. communicaion devices.
  4. Required properties:
  5. - compatible: should be one of following:
  6. - "samsung,exynos4210-uart" - Exynos4210 SoC,
  7. - "samsung,s3c2410-uart" - compatible with ports present on S3C2410 SoC,
  8. - "samsung,s3c2412-uart" - compatible with ports present on S3C2412 SoC,
  9. - "samsung,s3c2440-uart" - compatible with ports present on S3C2440 SoC,
  10. - "samsung,s3c6400-uart" - compatible with ports present on S3C6400 SoC,
  11. - "samsung,s5pv210-uart" - compatible with ports present on S5PV210 SoC.
  12. - reg: base physical address of the controller and length of memory mapped
  13. region.
  14. - interrupts: a single interrupt signal to SoC interrupt controller,
  15. according to interrupt bindings documentation [1].
  16. - clock-names: input names of clocks used by the controller:
  17. - "uart" - controller bus clock,
  18. - "clk_uart_baudN" - Nth baud base clock input (N = 0, 1, ...),
  19. according to SoC User's Manual (only N = 0 is allowedfor SoCs without
  20. internal baud clock mux).
  21. - clocks: phandles and specifiers for all clocks specified in "clock-names"
  22. property, in the same order, according to clock bindings documentation [2].
  23. [1] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  24. [2] Documentation/devicetree/bindings/clock/clock-bindings.txt
  25. Optional properties:
  26. - samsung,uart-fifosize: The fifo size supported by the UART channel
  27. Note: Each Samsung UART should have an alias correctly numbered in the
  28. "aliases" node, according to serialN format, where N is the port number
  29. (non-negative decimal integer) as specified by User's Manual of respective
  30. SoC.
  31. Example:
  32. aliases {
  33. serial0 = &uart0;
  34. serial1 = &uart1;
  35. serial2 = &uart2;
  36. };
  37. Example:
  38. uart1: serial@7f005400 {
  39. compatible = "samsung,s3c6400-uart";
  40. reg = <0x7f005400 0x100>;
  41. interrupt-parent = <&vic1>;
  42. interrupts = <6>;
  43. clock-names = "uart", "clk_uart_baud2",
  44. "clk_uart_baud3";
  45. clocks = <&clocks PCLK_UART1>, <&clocks PCLK_UART1>,
  46. <&clocks SCLK_UART>;
  47. samsung,uart-fifosize = <16>;
  48. };