blob: 30106acf0bf464e33a11d624e080b31fe67e9ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/input/input.h>
/ {
gpio-keys {
compatible = "gpio-keys";
power {
label = "Power";
gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
linux,code = <KEY_POWER>;
gpio-key,wakeup;
};
home {
label = "Home";
gpios = <&tca6416 1 GPIO_ACTIVE_LOW>;
linux,code = <KEY_HOME>;
};
volume_down {
label = "Volume Down";
gpios = <&tca6416 5 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
};
volume_up {
label = "Volume Up";
gpios = <&tca6416 4 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
};
};
};
|