Advertisement
Guest User

Untitled

a guest
May 2nd, 2013
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. /*
  2. * Copyright (C) 2013 CircuitCo
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /plugin/;
  10.  
  11. / {
  12. compatible = "ti,beaglebone", "ti,beaglebone-black";
  13.  
  14. /* identification */
  15. part-number = "BB-BONE-UART1";
  16. version = "00A0";
  17.  
  18. fragment@0 {
  19. target = <&am33xx_pinmux>;
  20. __overlay__ {
  21. /* default state has all gpios released and mode set to uart1 */
  22. bone_uart1_pins: pinmux_bone_uart1_pins {
  23. pinctrl-single,pins = <
  24. /* the uart pins */
  25. 0x184 0x20 /* 24 UART1_TXD uart1_txd OUTPUT */
  26. 0x180 0x20 /* 26 UART1_RXD uart1_rxd INPUT */
  27. >;
  28. };
  29. };
  30. };
  31.  
  32. fragment@1 {
  33. target = <&uart2>; /* really uart1 */
  34. __overlay__ {
  35. pinctrl-names = "default";
  36. pinctrl-0 = <&bone_uart1_pins>;
  37.  
  38. /* please note that the pinconfig is done by the pinmux helper */
  39. status = "okay";
  40.  
  41. };
  42. };
  43. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement