Commit 5449fbc2 authored by Sourav Poddar's avatar Sourav Poddar Committed by Benoit Cousson

ARM: dts: omap5-evm: Add keypad data

Add keypad data node in omap5 device tree file.
Also fill the device tree binding parameters
with the required value in "omap5-evm" dts file.
Signed-off-by: default avatarSourav Poddar <sourav.poddar@ti.com>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
[b-cousson@ti.com: Fix merge issue with MMC patches,
put node at the proper place, align entries and comments]
Signed-off-by: default avatarBenoit Cousson <b-cousson@ti.com>
parent 08f3e21b
...@@ -24,6 +24,7 @@ vmmcsd_fixed: fixedregulator-mmcsd { ...@@ -24,6 +24,7 @@ vmmcsd_fixed: fixedregulator-mmcsd {
regulator-min-microvolt = <3000000>; regulator-min-microvolt = <3000000>;
regulator-max-microvolt = <3000000>; regulator-max-microvolt = <3000000>;
}; };
}; };
&mmc1 { &mmc1 {
...@@ -59,3 +60,15 @@ tmp102@48{ ...@@ -59,3 +60,15 @@ tmp102@48{
reg = <0x48>; reg = <0x48>;
}; };
}; };
&keypad {
keypad,num-rows = <8>;
keypad,num-columns = <8>;
linux,keymap = <0x02020073 /* VOLUP */
0x02030072 /* VOLDOWM */
0x020400e7 /* SEND */
0x02050066 /* HOME */
0x0206006b /* END */
0x020700d9>; /* SEARCH */
linux,input-no-autorepeat;
};
...@@ -246,5 +246,10 @@ mmc5: mmc@480d5000 { ...@@ -246,5 +246,10 @@ mmc5: mmc@480d5000 {
ti,hwmods = "mmc5"; ti,hwmods = "mmc5";
ti,needs-special-reset; ti,needs-special-reset;
}; };
keypad: keypad@4ae1c000 {
compatible = "ti,omap4-keypad";
ti,hwmods = "kbd";
};
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment