blob: b17f379e8c2afe3f92fe1f905fbe501fccad9118 [file] [log] [blame]
Stephen Boyd94ae9912014-06-24 14:03:54 -07001#include <dt-bindings/input/input.h>
2
Kumar Galacc60a1a2014-01-23 14:09:54 -06003#include "qcom-msm8660.dtsi"
Stephen Boyd3933d262014-01-16 17:25:03 -08004
David Brown56e2d8a2011-08-04 02:01:02 -07005/ {
6 model = "Qualcomm MSM8660 SURF";
7 compatible = "qcom,msm8660-surf", "qcom,msm8660";
Kumar Gala66a6c312014-05-28 12:12:40 -05008
Stephen Boyda9673102015-06-16 14:31:51 -07009 aliases {
10 serial0 = &gsbi12_serial;
11 };
12
13 chosen {
14 stdout-path = "serial0:115200n8";
15 };
16
Kumar Gala66a6c312014-05-28 12:12:40 -050017 soc {
18 gsbi@19c00000 {
19 status = "ok";
20 qcom,mode = <GSBI_PROT_I2C_UART>;
21 serial@19c40000 {
22 status = "ok";
23 };
24 };
Stephen Boyd55602a02014-09-19 16:50:50 -070025
26 amba {
27 /* eMMC */
28 sdcc1: sdcc@12400000 {
29 status = "okay";
30 };
31
32 /* External micro SD card */
33 sdcc3: sdcc@12180000 {
34 status = "okay";
35 };
36 };
Kumar Gala66a6c312014-05-28 12:12:40 -050037 };
David Brown56e2d8a2011-08-04 02:01:02 -070038};
Stephen Boyd94ae9912014-06-24 14:03:54 -070039
40&pmicintc {
41 keypad@148 {
42 linux,keymap = <
43 MATRIX_KEY(0, 0, KEY_FN_F1)
44 MATRIX_KEY(0, 1, KEY_UP)
45 MATRIX_KEY(0, 2, KEY_LEFT)
46 MATRIX_KEY(0, 3, KEY_VOLUMEUP)
47 MATRIX_KEY(1, 0, KEY_FN_F2)
48 MATRIX_KEY(1, 1, KEY_RIGHT)
49 MATRIX_KEY(1, 2, KEY_DOWN)
50 MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
51 MATRIX_KEY(2, 3, KEY_ENTER)
52 MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
53 MATRIX_KEY(4, 1, KEY_UP)
54 MATRIX_KEY(4, 2, KEY_LEFT)
55 MATRIX_KEY(4, 3, KEY_HOME)
56 MATRIX_KEY(4, 4, KEY_FN_F3)
57 MATRIX_KEY(5, 0, KEY_CAMERA)
58 MATRIX_KEY(5, 1, KEY_RIGHT)
59 MATRIX_KEY(5, 2, KEY_DOWN)
60 MATRIX_KEY(5, 3, KEY_BACK)
61 MATRIX_KEY(5, 4, KEY_MENU)
62 >;
63 keypad,num-rows = <6>;
64 keypad,num-columns = <5>;
65 };
66};