summaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra20-asus-tf101.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/tegra20-asus-tf101.dts')
-rw-r--r--arch/arm/dts/tegra20-asus-tf101.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/dts/tegra20-asus-tf101.dts b/arch/arm/dts/tegra20-asus-tf101.dts
index 7c734fb5b19..03ba78c5dc2 100644
--- a/arch/arm/dts/tegra20-asus-tf101.dts
+++ b/arch/arm/dts/tegra20-asus-tf101.dts
@@ -6,4 +6,14 @@
/ {
model = "ASUS EeePad Transformer TF101";
compatible = "asus,tf101", "nvidia,tegra20";
+
+ extcon-keys {
+ compatible = "gpio-keys";
+
+ switch-dock-hall-sensor {
+ label = "Lid sensor";
+ gpios = <&gpio TEGRA_GPIO(S, 4) GPIO_ACTIVE_LOW>;
+ linux,code = <SW_LID>;
+ };
+ };
};