at91sam9x5_usart3.dtsi 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * at91sam9x5_usart3.dtsi - Device Tree Include file for AT91SAM9x5 SoC with
  3. * 4 USART.
  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. / {
  12. ahb {
  13. apb {
  14. pinctrl@fffff400 {
  15. usart3 {
  16. pinctrl_usart3: usart3-0 {
  17. atmel,pins =
  18. <AT91_PIOC 22 AT91_PERIPH_B AT91_PINCTRL_PULL_UP /* PC22 periph B with pullup */
  19. AT91_PIOC 23 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC23 periph B */
  20. };
  21. pinctrl_usart3_rts: usart3_rts-0 {
  22. atmel,pins =
  23. <AT91_PIOC 24 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC24 periph B */
  24. };
  25. pinctrl_usart3_cts: usart3_cts-0 {
  26. atmel,pins =
  27. <AT91_PIOC 25 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC25 periph B */
  28. };
  29. pinctrl_usart3_sck: usart3_sck-0 {
  30. atmel,pins =
  31. <AT91_PIOC 26 AT91_PERIPH_B AT91_PINCTRL_NONE>; /* PC26 periph B */
  32. };
  33. };
  34. };
  35. usart3: serial@f8028000 {
  36. compatible = "atmel,at91sam9260-usart";
  37. reg = <0xf8028000 0x200>;
  38. interrupts = <8 IRQ_TYPE_LEVEL_HIGH 5>;
  39. pinctrl-names = "default";
  40. pinctrl-0 = <&pinctrl_usart3>;
  41. status = "disabled";
  42. };
  43. };
  44. };
  45. };