sama5d3_uart.dtsi 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * at91sama5d3_uart.dtsi - Device Tree Include file for AT91SAM9x5 SoC with
  3. * UART support
  4. *
  5. * Copyright (C) 2013 Boris BREZILLON <b.brezillon@overkiz.com>
  6. *
  7. * Licensed under GPLv2.
  8. */
  9. #include <dt-bindings/pinctrl/at91.h>
  10. #include <dt-bindings/interrupt-controller/irq.h>
  11. #include <dt-bindings/clock/at91.h>
  12. / {
  13. aliases {
  14. serial5 = &uart0;
  15. serial6 = &uart1;
  16. };
  17. ahb {
  18. apb {
  19. pinctrl@fffff200 {
  20. uart0 {
  21. pinctrl_uart0: uart0-0 {
  22. atmel,pins =
  23. <AT91_PIOC 29 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC29 periph A, conflicts with PWMFI2, ISI_D8 */
  24. AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC30 periph A with pullup, conflicts with ISI_PCK */
  25. };
  26. };
  27. uart1 {
  28. pinctrl_uart1: uart1-0 {
  29. atmel,pins =
  30. <AT91_PIOA 30 AT91_PERIPH_B AT91_PINCTRL_NONE /* PA30 periph B, conflicts with TWD0, ISI_VSYNC */
  31. AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_PULL_UP>; /* PA31 periph B with pullup, conflicts with TWCK0, ISI_HSYNC */
  32. };
  33. };
  34. };
  35. pmc: pmc@fffffc00 {
  36. periphck {
  37. uart0_clk: uart0_clk {
  38. #clock-cells = <0>;
  39. reg = <16>;
  40. atmel,clk-output-range = <0 66000000>;
  41. };
  42. uart1_clk: uart1_clk {
  43. #clock-cells = <0>;
  44. reg = <17>;
  45. atmel,clk-output-range = <0 66000000>;
  46. };
  47. };
  48. };
  49. uart0: serial@f0024000 {
  50. compatible = "atmel,at91sam9260-usart";
  51. reg = <0xf0024000 0x200>;
  52. interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
  53. pinctrl-names = "default";
  54. pinctrl-0 = <&pinctrl_uart0>;
  55. clocks = <&uart0_clk>;
  56. clock-names = "usart";
  57. status = "disabled";
  58. };
  59. uart1: serial@f8028000 {
  60. compatible = "atmel,at91sam9260-usart";
  61. reg = <0xf8028000 0x200>;
  62. interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
  63. pinctrl-names = "default";
  64. pinctrl-0 = <&pinctrl_uart1>;
  65. clocks = <&uart1_clk>;
  66. clock-names = "usart";
  67. status = "disabled";
  68. };
  69. };
  70. };
  71. };