summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sl.dtsi
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2014-01-14 10:30:28 +0100
committerShawn Guo <shawn.guo@linaro.org>2014-02-10 09:27:34 +0100
commit4291b6455aa7bf6620cff9e8ef2b1389b8c8d4e0 (patch)
treea21e0c8e5d4fd710603194348c926b2e1b5da037 /arch/arm/boot/dts/imx6sl.dtsi
parentARM: dts: imx6sl: add ocram device support (diff)
downloadlinux-4291b6455aa7bf6620cff9e8ef2b1389b8c8d4e0.tar.xz
linux-4291b6455aa7bf6620cff9e8ef2b1389b8c8d4e0.zip
ARM: dts: imx6sl: add keypad support for i.mx6sl-evk board.
i.MX6SL EVK board has a 3*3 keypad matrix to support 8 keypads, enable them, the keymap is as below: SW6: MATRIX_KEY(0x0, 0x0, KEY_UP) /* ROW0, COL0 */ SW7: MATRIX_KEY(0x0, 0x1, KEY_DOWN) /* ROW0, COL1 */ SW8: MATRIX_KEY(0x0, 0x2, KEY_ENTER) /* ROW0, COL2 */ SW9: MATRIX_KEY(0x1, 0x0, KEY_HOME) /* ROW1, COL0 */ SW10: MATRIX_KEY(0x1, 0x1, KEY_RIGHT) /* ROW1, COL1 */ SW11: MATRIX_KEY(0x1, 0x2, KEY_LEFT) /* ROW1, COL2 */ SW12: MATRIX_KEY(0x2, 0x0, KEY_VOLUMEDOWN) /* ROW2, COL0 */ SW13: MATRIX_KEY(0x2, 0x1, KEY_VOLUMEUP) /* ROW2, COL1 */ Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to '')
-rw-r--r--arch/arm/boot/dts/imx6sl.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi
index f9acad697d91..a655b5b969b1 100644
--- a/arch/arm/boot/dts/imx6sl.dtsi
+++ b/arch/arm/boot/dts/imx6sl.dtsi
@@ -392,8 +392,10 @@
};
kpp: kpp@020b8000 {
+ compatible = "fsl,imx6sl-kpp", "fsl,imx21-kpp";
reg = <0x020b8000 0x4000>;
interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&clks IMX6SL_CLK_DUMMY>;
};
wdog1: wdog@020bc000 {