blob: 11965737e2c9ff0a5f44b6a563de16f8c88222d5 [file] [log] [blame]
Florian Vaussard22888e02014-03-11 13:20:31 +01001/*
2 * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group
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/*
10 * Palo43 expansion board is manufactured by Gumstix Inc.
11 */
12
13#include "omap3-overo-common-peripherals.dtsi"
Florian Vaussard4783dc82014-05-20 15:58:56 +020014#include "omap3-overo-common-lcd43.dtsi"
Florian Vaussard22888e02014-03-11 13:20:31 +010015
16#include <dt-bindings/input/input.h>
17
18/ {
19 leds {
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&led_pins>;
23 heartbeat {
24 label = "overo:red:gpio21";
25 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
26 linux,default-trigger = "heartbeat";
27 };
28 gpio22 {
29 label = "overo:blue:gpio22";
30 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
31 };
32 };
33
34 gpio_keys {
35 compatible = "gpio-keys";
36 pinctrl-names = "default";
37 pinctrl-0 = <&button_pins>;
38 #address-cells = <1>;
39 #size-cells = <0>;
Javier Martinez Canillas45ed37f2016-08-01 12:47:02 -040040 button0 {
Florian Vaussard22888e02014-03-11 13:20:31 +010041 label = "button0";
42 linux,code = <BTN_0>;
43 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; /* gpio_23 */
Sudeep Holla0c4d63b2015-10-21 11:10:12 +010044 wakeup-source;
Florian Vaussard22888e02014-03-11 13:20:31 +010045 };
Javier Martinez Canillas45ed37f2016-08-01 12:47:02 -040046 button1 {
Florian Vaussard22888e02014-03-11 13:20:31 +010047 label = "button1";
48 linux,code = <BTN_1>;
49 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; /* gpio_14 */
Sudeep Holla0c4d63b2015-10-21 11:10:12 +010050 wakeup-source;
Florian Vaussard22888e02014-03-11 13:20:31 +010051 };
52 };
53};
54