]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: LPC32xx: DTS adjustment for key matrix controller
authorRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:17 +0000 (16:16 +0200)
committerRoland Stigge <stigge@antcom.de>
Thu, 14 Jun 2012 14:16:17 +0000 (16:16 +0200)
This patch connects the lpc32xx-key driver to the LPC32xx platform (via
lpc32xx.dtsi), and more specifically to the reference board via its dts file.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
arch/arm/boot/dts/lpc32xx.dtsi
arch/arm/boot/dts/phy3250.dts

index 254d586d4b1a90383e3eadece3592df75d9ef65d..e2b50b220a384798aae503a2da37eee4c30b1df0 100644 (file)
                        key@40050000 {
                                compatible = "nxp,lpc3220-key";
                                reg = <0x40050000 0x1000>;
+                               interrupts = <54 0>;
+                               status = "disabled";
                        };
 
                };
index d7e985e47831ad2c9ca36edda53a59a6780bb199..1dbfea8b7bdfb9ac6628e1b14ff8a7b8629a7780 100644 (file)
                        tsc@40048000 {
                                status = "okay";
                        };
+
+                       key@40050000 {
+                               status = "okay";
+                               keypad,num-rows = <1>;
+                               keypad,num-columns = <1>;
+                               nxp,debounce-delay-ms = <3>;
+                               nxp,scan-delay-ms = <34>;
+                               linux,keymap = <0x00000002>;
+                       };
                };
        };