Stephen Boyd | 94ae991 | 2014-06-24 14:03:54 -0700 | [diff] [blame] | 1 | #include <dt-bindings/input/input.h> |
| 2 | |
Kumar Gala | cc60a1a | 2014-01-23 14:09:54 -0600 | [diff] [blame] | 3 | #include "qcom-msm8660.dtsi" |
Stephen Boyd | 3933d26 | 2014-01-16 17:25:03 -0800 | [diff] [blame] | 4 | |
David Brown | 56e2d8a | 2011-08-04 02:01:02 -0700 | [diff] [blame] | 5 | / { |
| 6 | model = "Qualcomm MSM8660 SURF"; |
| 7 | compatible = "qcom,msm8660-surf", "qcom,msm8660"; |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame] | 8 | |
| 9 | soc { |
| 10 | gsbi@19c00000 { |
| 11 | status = "ok"; |
| 12 | qcom,mode = <GSBI_PROT_I2C_UART>; |
| 13 | serial@19c40000 { |
| 14 | status = "ok"; |
| 15 | }; |
| 16 | }; |
Stephen Boyd | 55602a0 | 2014-09-19 16:50:50 -0700 | [diff] [blame] | 17 | |
| 18 | amba { |
| 19 | /* eMMC */ |
| 20 | sdcc1: sdcc@12400000 { |
| 21 | status = "okay"; |
| 22 | }; |
| 23 | |
| 24 | /* External micro SD card */ |
| 25 | sdcc3: sdcc@12180000 { |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | }; |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame] | 29 | }; |
David Brown | 56e2d8a | 2011-08-04 02:01:02 -0700 | [diff] [blame] | 30 | }; |
Stephen Boyd | 94ae991 | 2014-06-24 14:03:54 -0700 | [diff] [blame] | 31 | |
| 32 | &pmicintc { |
| 33 | keypad@148 { |
| 34 | linux,keymap = < |
| 35 | MATRIX_KEY(0, 0, KEY_FN_F1) |
| 36 | MATRIX_KEY(0, 1, KEY_UP) |
| 37 | MATRIX_KEY(0, 2, KEY_LEFT) |
| 38 | MATRIX_KEY(0, 3, KEY_VOLUMEUP) |
| 39 | MATRIX_KEY(1, 0, KEY_FN_F2) |
| 40 | MATRIX_KEY(1, 1, KEY_RIGHT) |
| 41 | MATRIX_KEY(1, 2, KEY_DOWN) |
| 42 | MATRIX_KEY(1, 3, KEY_VOLUMEDOWN) |
| 43 | MATRIX_KEY(2, 3, KEY_ENTER) |
| 44 | MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS) |
| 45 | MATRIX_KEY(4, 1, KEY_UP) |
| 46 | MATRIX_KEY(4, 2, KEY_LEFT) |
| 47 | MATRIX_KEY(4, 3, KEY_HOME) |
| 48 | MATRIX_KEY(4, 4, KEY_FN_F3) |
| 49 | MATRIX_KEY(5, 0, KEY_CAMERA) |
| 50 | MATRIX_KEY(5, 1, KEY_RIGHT) |
| 51 | MATRIX_KEY(5, 2, KEY_DOWN) |
| 52 | MATRIX_KEY(5, 3, KEY_BACK) |
| 53 | MATRIX_KEY(5, 4, KEY_MENU) |
| 54 | >; |
| 55 | keypad,num-rows = <6>; |
| 56 | keypad,num-columns = <5>; |
| 57 | }; |
| 58 | }; |