omap3-overo-palo43-common.dtsi 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
  4. */
  5. /*
  6. * Palo43 expansion board is manufactured by Gumstix Inc.
  7. */
  8. #include "omap3-overo-common-peripherals.dtsi"
  9. #include "omap3-overo-common-lcd43.dtsi"
  10. #include <dt-bindings/input/input.h>
  11. / {
  12. leds {
  13. compatible = "gpio-leds";
  14. pinctrl-names = "default";
  15. pinctrl-0 = <&led_pins>;
  16. heartbeat {
  17. label = "overo:red:gpio21";
  18. gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
  19. linux,default-trigger = "heartbeat";
  20. };
  21. gpio22 {
  22. label = "overo:blue:gpio22";
  23. gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
  24. };
  25. };
  26. gpio_keys {
  27. compatible = "gpio-keys";
  28. pinctrl-names = "default";
  29. pinctrl-0 = <&button_pins>;
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. button0 {
  33. label = "button0";
  34. linux,code = <BTN_0>;
  35. gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
  36. wakeup-source;
  37. };
  38. button1 {
  39. label = "button1";
  40. linux,code = <BTN_1>;
  41. gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
  42. wakeup-source;
  43. };
  44. };
  45. };