amlogic,meson-uart.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Amlogic Meson SoC UART Serial Interface
  2. =======================================
  3. The Amlogic Meson SoC UART Serial Interface is present on a large range
  4. of SoCs, and can be present either in the "Always-On" power domain or the
  5. "Everything-Else" power domain.
  6. The particularity of the "Always-On" Serial Interface is that the hardware
  7. is active since power-on and does not need any clock gating and is usable
  8. as very early serial console.
  9. Required properties:
  10. - compatible : compatible: value should be different for each SoC family as :
  11. - Meson6 : "amlogic,meson6-uart"
  12. - Meson8 : "amlogic,meson8-uart"
  13. - Meson8b : "amlogic,meson8b-uart"
  14. - GX (GXBB, GXL, GXM) : "amlogic,meson-gx-uart"
  15. eventually followed by : "amlogic,meson-ao-uart" if this UART interface
  16. is in the "Always-On" power domain.
  17. - reg : offset and length of the register set for the device.
  18. - interrupts : identifier to the device interrupt
  19. - clocks : a list of phandle + clock-specifier pairs, one for each
  20. entry in clock names.
  21. - clock-names :
  22. * "xtal" for external xtal clock identifier
  23. * "pclk" for the bus core clock, either the clk81 clock or the gate clock
  24. * "baud" for the source of the baudrate generator, can be either the xtal
  25. or the pclk.
  26. e.g.
  27. uart_A: serial@84c0 {
  28. compatible = "amlogic,meson-gx-uart";
  29. reg = <0x0 0x84c0 0x0 0x14>;
  30. interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
  31. /* Use xtal as baud rate clock source */
  32. clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
  33. clock-names = "xtal", "pclk", "baud";
  34. };