summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/href.dtsi
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-09-26 16:09:17 (GMT)
committerLee Jones <lee.jones@linaro.org>2012-11-01 11:59:32 (GMT)
commit6b8db1326a67440e23f668f0e2b258e5e4127b82 (patch)
treecb01e94cb74624981849d8fae845b196a58a6a2d /arch/arm/boot/dts/href.dtsi
parentdd06fafffbd8c8267e5cf945ddc318045e7682db (diff)
downloadlinux-fsl-qoriq-6b8db1326a67440e23f668f0e2b258e5e4127b82.tar.xz
ARM: ux500: Add support for gpio-keys and Proximity Sensor for HREF
Here we ensure the SFH7741 Proximity Sensor is registered through gpio-keys when booting with Device Tree enabled. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/href.dtsi')
-rw-r--r--arch/arm/boot/dts/href.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/href.dtsi b/arch/arm/boot/dts/href.dtsi
index 27baa44..592fb9d 100644
--- a/arch/arm/boot/dts/href.dtsi
+++ b/arch/arm/boot/dts/href.dtsi
@@ -16,6 +16,17 @@
reg = <0x00000000 0x20000000>;
};
+ gpio_keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ button@1 {
+ linux,code = <11>;
+ label = "SFH7741 Proximity Sensor";
+ };
+ };
+
soc-u9500 {
uart@80120000 {
status = "okay";