sama5d3_uart.dtsi 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * sama5d3_uart.dtsi - Device Tree Include file for SAMA5D3 SoC with
  4. * UART support
  5. *
  6. * Copyright (C) 2013 Boris BREZILLON <[email protected]>
  7. */
  8. #include <dt-bindings/pinctrl/at91.h>
  9. #include <dt-bindings/interrupt-controller/irq.h>
  10. #include <dt-bindings/clock/at91.h>
  11. #include <dt-bindings/mfd/at91-usart.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_PULL_UP /* conflicts with PWMFI2, ISI_D8 */
  24. AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* 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_PULL_UP /* conflicts with TWD0, ISI_VSYNC */
  31. AT91_PIOA 31 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* conflicts with TWCK0, ISI_HSYNC */
  32. };
  33. };
  34. };
  35. uart0: serial@f0024000 {
  36. compatible = "atmel,at91sam9260-usart";
  37. reg = <0xf0024000 0x100>;
  38. atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
  39. interrupts = <16 IRQ_TYPE_LEVEL_HIGH 5>;
  40. pinctrl-names = "default";
  41. pinctrl-0 = <&pinctrl_uart0>;
  42. clocks = <&pmc PMC_TYPE_PERIPHERAL 16>;
  43. clock-names = "usart";
  44. status = "disabled";
  45. };
  46. uart1: serial@f8028000 {
  47. compatible = "atmel,at91sam9260-usart";
  48. reg = <0xf8028000 0x100>;
  49. atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
  50. interrupts = <17 IRQ_TYPE_LEVEL_HIGH 5>;
  51. pinctrl-names = "default";
  52. pinctrl-0 = <&pinctrl_uart1>;
  53. clocks = <&pmc PMC_TYPE_PERIPHERAL 17>;
  54. clock-names = "usart";
  55. status = "disabled";
  56. };
  57. };
  58. };
  59. };