omap3-overo-chestnut43-common.dtsi 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
  4. */
  5. /*
  6. * Chestnut43 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. };
  46. #include "omap-gpmc-smsc9221.dtsi"
  47. &gpmc {
  48. ethernet@gpmc {
  49. reg = <5 0 0xff>;
  50. interrupt-parent = <&gpio6>;
  51. interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
  52. };
  53. };
  54. &lis33de {
  55. status = "disabled";
  56. };