diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-04-10 16:18:16 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-03-23 09:37:06 +0100 |
commit | 89dd5e94ba954064c032f5e48396ab619b57455c (patch) | |
tree | b42b808f123dcd3a81b85274e31e267c071a53f0 | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) |
slaskstmpe
-rw-r--r-- | arch/arm/boot/dts/ste-href-stuib.dtsi | 71 |
1 files changed, 46 insertions, 25 deletions
diff --git a/arch/arm/boot/dts/ste-href-stuib.dtsi b/arch/arm/boot/dts/ste-href-stuib.dtsi index e32d0c36feb8..99c65fc5f8f5 100644 --- a/arch/arm/boot/dts/ste-href-stuib.dtsi +++ b/arch/arm/boot/dts/ste-href-stuib.dtsi @@ -26,6 +26,46 @@ linux,code = <0>; /* SW_LID */ label = "HED54XXU11 Hall Effect Sensor"; }; + button@0 { + gpios = <&stmpe_gpio 0 0>; + linux,code = <11>; + label = "Test 0"; + }; + button@1 { + gpios = <&stmpe_gpio 1 0>; + linux,code = <11>; + label = "Test 1"; + }; + button@2 { + gpios = <&stmpe_gpio 2 0>; + linux,code = <11>; + label = "Test 2"; + }; + button@3 { + gpios = <&stmpe_gpio 3 0>; + linux,code = <11>; + label = "Test 3"; + }; + button@4 { + gpios = <&stmpe_gpio 4 0>; + linux,code = <11>; + label = "Test 4"; + }; + button@5 { + gpios = <&stmpe_gpio 5 0>; + linux,code = <11>; + label = "Test 5"; + }; + button@6 { + gpios = <&stmpe_gpio 6 0>; + linux,code = <11>; + label = "Test 6"; + }; + button@7 { + gpios = <&stmpe_gpio 7 0>; + linux,code = <11>; + label = "Test 7"; + }; }; soc { @@ -44,31 +84,12 @@ wakeup-source; st,autosleep-timeout = <1024>; - stmpe_keypad { - compatible = "st,stmpe-keypad"; - - debounce-interval = <64>; - st,scan-count = <8>; - st,no-autorepeat; - - linux,keymap = <0x205006b - 0x4010074 - 0x3050072 - 0x1030004 - 0x502006a - 0x500000a - 0x5008b - 0x706001c - 0x405000b - 0x6070003 - 0x3040067 - 0x303006c - 0x60400e7 - 0x602009e - 0x4020073 - 0x5050002 - 0x4030069 - 0x3020008>; + stmpe_gpio: stmpe_gpio@1 { + compatible = "st,stmpe-gpio"; + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; }; }; }; |