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 | |
Stephen Boyd | a967310 | 2015-06-16 14:31:51 -0700 | [diff] [blame] | 9 | aliases { |
| 10 | serial0 = &gsbi12_serial; |
| 11 | }; |
| 12 | |
| 13 | chosen { |
| 14 | stdout-path = "serial0:115200n8"; |
| 15 | }; |
| 16 | |
Kumar Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame] | 17 | soc { |
| 18 | gsbi@19c00000 { |
| 19 | status = "ok"; |
| 20 | qcom,mode = <GSBI_PROT_I2C_UART>; |
| 21 | serial@19c40000 { |
| 22 | status = "ok"; |
| 23 | }; |
| 24 | }; |
Stephen Boyd | 55602a0 | 2014-09-19 16:50:50 -0700 | [diff] [blame] | 25 | |
| 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 Gala | 66a6c31 | 2014-05-28 12:12:40 -0500 | [diff] [blame] | 37 | }; |
David Brown | 56e2d8a | 2011-08-04 02:01:02 -0700 | [diff] [blame] | 38 | }; |
Stephen Boyd | 94ae991 | 2014-06-24 14:03:54 -0700 | [diff] [blame] | 39 | |
| 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 | }; |