omap3-overo-palo35-common.dtsi 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (C) 2015 Ash Charles, Gumstix Inc.
  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. /*
  9. * Palo35 expansion board is manufactured by Gumstix Inc.
  10. */
  11. #include "omap3-overo-common-peripherals.dtsi"
  12. #include "omap3-overo-common-lcd35.dtsi"
  13. #include <dt-bindings/input/input.h>
  14. / {
  15. leds {
  16. compatible = "gpio-leds";
  17. pinctrl-names = "default";
  18. pinctrl-0 = <&led_pins>;
  19. heartbeat {
  20. label = "overo:red:gpio21";
  21. gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
  22. linux,default-trigger = "heartbeat";
  23. };
  24. gpio22 {
  25. label = "overo:blue:gpio22";
  26. gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
  27. };
  28. };
  29. gpio_keys {
  30. compatible = "gpio-keys";
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&button_pins>;
  33. #address-cells = <1>;
  34. #size-cells = <0>;
  35. button0 {
  36. label = "button0";
  37. linux,code = <BTN_0>;
  38. gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
  39. wakeup-source;
  40. };
  41. button1 {
  42. label = "button1";
  43. linux,code = <BTN_1>;
  44. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
  45. wakeup-source;
  46. };
  47. };
  48. };