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