diff options
-rw-r--r-- | arch/arm/boot/dts/tegra114-dalmore.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts b/arch/arm/boot/dts/tegra114-dalmore.dts index cb640eb6c932..a42bfa4211a9 100644 --- a/arch/arm/boot/dts/tegra114-dalmore.dts +++ b/arch/arm/boot/dts/tegra114-dalmore.dts | |||
@@ -883,6 +883,35 @@ | |||
883 | }; | 883 | }; |
884 | }; | 884 | }; |
885 | 885 | ||
886 | gpio-keys { | ||
887 | compatible = "gpio-keys"; | ||
888 | |||
889 | home { | ||
890 | label = "Home"; | ||
891 | gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; | ||
892 | linux,code = <102>; /* KEY_HOME */ | ||
893 | }; | ||
894 | |||
895 | power { | ||
896 | label = "Power"; | ||
897 | gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; | ||
898 | linux,code = <116>; /* KEY_POWER */ | ||
899 | gpio-key,wakeup; | ||
900 | }; | ||
901 | |||
902 | volume_down { | ||
903 | label = "Volume Down"; | ||
904 | gpios = <&gpio TEGRA_GPIO(R, 1) GPIO_ACTIVE_LOW>; | ||
905 | linux,code = <114>; /* KEY_VOLUMEDOWN */ | ||
906 | }; | ||
907 | |||
908 | volume_up { | ||
909 | label = "Volume Up"; | ||
910 | gpios = <&gpio TEGRA_GPIO(R, 2) GPIO_ACTIVE_LOW>; | ||
911 | linux,code = <115>; /* KEY_VOLUMEUP */ | ||
912 | }; | ||
913 | }; | ||
914 | |||
886 | regulators { | 915 | regulators { |
887 | compatible = "simple-bus"; | 916 | compatible = "simple-bus"; |
888 | #address-cells = <1>; | 917 | #address-cells = <1>; |