|
@@ -883,6 +883,35 @@
|
|
|
};
|
|
|
};
|
|
|
|
|
|
+ gpio-keys {
|
|
|
+ compatible = "gpio-keys";
|
|
|
+
|
|
|
+ home {
|
|
|
+ label = "Home";
|
|
|
+ gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>;
|
|
|
+ linux,code = <102>; /* KEY_HOME */
|
|
|
+ };
|
|
|
+
|
|
|
+ power {
|
|
|
+ label = "Power";
|
|
|
+ gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
|
|
|
+ linux,code = <116>; /* KEY_POWER */
|
|
|
+ gpio-key,wakeup;
|
|
|
+ };
|
|
|
+
|
|
|
+ volume_down {
|
|
|
+ label = "Volume Down";
|
|
|
+ gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>;
|
|
|
+ linux,code = <114>; /* KEY_VOLUMEDOWN */
|
|
|
+ };
|
|
|
+
|
|
|
+ volume_up {
|
|
|
+ label = "Volume Up";
|
|
|
+ gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>;
|
|
|
+ linux,code = <115>; /* KEY_VOLUMEUP */
|
|
|
+ };
|
|
|
+ };
|
|
|
+
|
|
|
regulators {
|
|
|
compatible = "simple-bus";
|
|
|
#address-cells = <1>;
|