diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-06-24 17:03:54 -0400 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-11 12:12:56 -0400 |
commit | 94ae991d63805b39baffacee0e8f25ddce0e83bc (patch) | |
tree | 90eec2c8a83fd6341f5b2a2fcfd1e7f073ae1a92 /arch/arm/boot/dts/qcom-msm8660-surf.dts | |
parent | fa410c099d9688ca06a9e46df8b2edf183487935 (diff) |
ARM: dts: msm: Add 8058 PMIC to ssbi bus
Add the PMIC and the sub-devices that are currently supported in
the kernel to the DT.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8660-surf.dts')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8660-surf.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8660-surf.dts b/arch/arm/boot/dts/qcom-msm8660-surf.dts index 45180adfadf1..ff7c53f58a06 100644 --- a/arch/arm/boot/dts/qcom-msm8660-surf.dts +++ b/arch/arm/boot/dts/qcom-msm8660-surf.dts | |||
@@ -1,3 +1,5 @@ | |||
1 | #include <dt-bindings/input/input.h> | ||
2 | |||
1 | #include "qcom-msm8660.dtsi" | 3 | #include "qcom-msm8660.dtsi" |
2 | 4 | ||
3 | / { | 5 | / { |
@@ -14,3 +16,31 @@ | |||
14 | }; | 16 | }; |
15 | }; | 17 | }; |
16 | }; | 18 | }; |
19 | |||
20 | &pmicintc { | ||
21 | keypad@148 { | ||
22 | linux,keymap = < | ||
23 | MATRIX_KEY(0, 0, KEY_FN_F1) | ||
24 | MATRIX_KEY(0, 1, KEY_UP) | ||
25 | MATRIX_KEY(0, 2, KEY_LEFT) | ||
26 | MATRIX_KEY(0, 3, KEY_VOLUMEUP) | ||
27 | MATRIX_KEY(1, 0, KEY_FN_F2) | ||
28 | MATRIX_KEY(1, 1, KEY_RIGHT) | ||
29 | MATRIX_KEY(1, 2, KEY_DOWN) | ||
30 | MATRIX_KEY(1, 3, KEY_VOLUMEDOWN) | ||
31 | MATRIX_KEY(2, 3, KEY_ENTER) | ||
32 | MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS) | ||
33 | MATRIX_KEY(4, 1, KEY_UP) | ||
34 | MATRIX_KEY(4, 2, KEY_LEFT) | ||
35 | MATRIX_KEY(4, 3, KEY_HOME) | ||
36 | MATRIX_KEY(4, 4, KEY_FN_F3) | ||
37 | MATRIX_KEY(5, 0, KEY_CAMERA) | ||
38 | MATRIX_KEY(5, 1, KEY_RIGHT) | ||
39 | MATRIX_KEY(5, 2, KEY_DOWN) | ||
40 | MATRIX_KEY(5, 3, KEY_BACK) | ||
41 | MATRIX_KEY(5, 4, KEY_MENU) | ||
42 | >; | ||
43 | keypad,num-rows = <6>; | ||
44 | keypad,num-columns = <5>; | ||
45 | }; | ||
46 | }; | ||