Advertisement
trini

gpevt-dts.patch

Oct 17th, 2012
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
  2. index 290408c..2ad3914 100644
  3. --- a/arch/arm/boot/dts/am335x-bone.dts
  4. +++ b/arch/arm/boot/dts/am335x-bone.dts
  5. @@ -33,6 +33,11 @@
  6. 0x1ac 0x17 /* mcasp0_ahclkx.gpio3_21, OUTPUT_PULLUP | MODE7 */
  7. >;
  8. };
  9. + gpevt_pins: pinmux_gpevt_pins {
  10. + pinctrl-single,pins = <
  11. + 0x090 0x37 /* gpmc_advn_ale.gpio2_2, INPUT_PULLUP | MODE7 */
  12. + >;
  13. + };
  14. };
  15.  
  16. ocp {
  17. @@ -49,6 +54,15 @@
  18. };
  19.  
  20. };
  21. +
  22. + gpevt {
  23. + compatible = "gpevt";
  24. + pinctrl-names = "default";
  25. + pinctrl-0 = <&gpevt_pins>;
  26. + dmas = <&edma 12>;
  27. + dma-names = "gpioevt";
  28. + gpio-evt = <&gpio3 2 0>;
  29. + };
  30. };
  31. };
  32.  
  33. @@ -119,3 +133,7 @@
  34. st7735-dc = <&gpio4 21 0>;
  35. };
  36. };
  37. +
  38. +&edma {
  39. + ti,edma-xbar-event-map = <32 12>;
  40. +};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement