diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-10 05:56:53 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-10 04:22:29 -0400 |
commit | bd08f6277e443ca006df4281febe358d7d2aa804 (patch) | |
tree | 93a626e0f22984bda782d8314f52aacfe7507f55 /arch | |
parent | e4c2ec6ae7fbd49f000c2d3ece658f29a4dddb7c (diff) |
ARM: dts: Add keypad entries to Exynos4412 based Origen
Added keypad node entries to Exynos4412 based Origen board DT file.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-origen.dts | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-origen.dts b/arch/arm/boot/dts/exynos4412-origen.dts index 1c21bad32ca9..790a999f01ac 100644 --- a/arch/arm/boot/dts/exynos4412-origen.dts +++ b/arch/arm/boot/dts/exynos4412-origen.dts | |||
@@ -36,6 +36,68 @@ | |||
36 | enable-active-high; | 36 | enable-active-high; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | pinctrl@11000000 { | ||
40 | keypad_rows: keypad-rows { | ||
41 | samsung,pins = "gpx2-0", "gpx2-1", "gpx2-2"; | ||
42 | samsung,pin-function = <3>; | ||
43 | samsung,pin-pud = <3>; | ||
44 | samsung,pin-drv = <0>; | ||
45 | }; | ||
46 | |||
47 | keypad_cols: keypad-cols { | ||
48 | samsung,pins = "gpx1-0", "gpx1-1"; | ||
49 | samsung,pin-function = <3>; | ||
50 | samsung,pin-pud = <0>; | ||
51 | samsung,pin-drv = <0>; | ||
52 | }; | ||
53 | }; | ||
54 | |||
55 | keypad@100A0000 { | ||
56 | samsung,keypad-num-rows = <3>; | ||
57 | samsung,keypad-num-columns = <2>; | ||
58 | linux,keypad-no-autorepeat; | ||
59 | linux,keypad-wakeup; | ||
60 | pinctrl-0 = <&keypad_rows &keypad_cols>; | ||
61 | pinctrl-names = "default"; | ||
62 | status = "okay"; | ||
63 | |||
64 | key_home { | ||
65 | keypad,row = <0>; | ||
66 | keypad,column = <0>; | ||
67 | linux,code = <102>; | ||
68 | }; | ||
69 | |||
70 | key_down { | ||
71 | keypad,row = <0>; | ||
72 | keypad,column = <1>; | ||
73 | linux,code = <108>; | ||
74 | }; | ||
75 | |||
76 | key_up { | ||
77 | keypad,row = <1>; | ||
78 | keypad,column = <0>; | ||
79 | linux,code = <103>; | ||
80 | }; | ||
81 | |||
82 | key_menu { | ||
83 | keypad,row = <1>; | ||
84 | keypad,column = <1>; | ||
85 | linux,code = <139>; | ||
86 | }; | ||
87 | |||
88 | key_back { | ||
89 | keypad,row = <2>; | ||
90 | keypad,column = <0>; | ||
91 | linux,code = <158>; | ||
92 | }; | ||
93 | |||
94 | key_enter { | ||
95 | keypad,row = <2>; | ||
96 | keypad,column = <1>; | ||
97 | linux,code = <28>; | ||
98 | }; | ||
99 | }; | ||
100 | |||
39 | sdhci@12530000 { | 101 | sdhci@12530000 { |
40 | bus-width = <4>; | 102 | bus-width = <4>; |
41 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; | 103 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sd2_cd>; |