1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
4 #include "qcom-msm8660.dtsi"
7 model = "Qualcomm MSM8660 SURF";
8 compatible = "qcom,msm8660-surf", "qcom,msm8660";
11 serial0 = &gsbi12_serial;
15 stdout-path = "serial0:115200n8";
21 qcom,mode = <GSBI_PROT_I2C_UART>;
27 /* Temporary fixed regulator */
28 vsdcc_fixed: vsdcc-regulator {
29 compatible = "regulator-fixed";
30 regulator-name = "SDCC Power";
31 regulator-min-microvolt = <2700000>;
32 regulator-max-microvolt = <2700000>;
38 sdcc1: sdcc@12400000 {
40 vmmc-supply = <&vsdcc_fixed>;
43 /* External micro SD card */
44 sdcc3: sdcc@12180000 {
46 vmmc-supply = <&vsdcc_fixed>;
55 MATRIX_KEY(0, 0, KEY_FN_F1)
56 MATRIX_KEY(0, 1, KEY_UP)
57 MATRIX_KEY(0, 2, KEY_LEFT)
58 MATRIX_KEY(0, 3, KEY_VOLUMEUP)
59 MATRIX_KEY(1, 0, KEY_FN_F2)
60 MATRIX_KEY(1, 1, KEY_RIGHT)
61 MATRIX_KEY(1, 2, KEY_DOWN)
62 MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
63 MATRIX_KEY(2, 3, KEY_ENTER)
64 MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
65 MATRIX_KEY(4, 1, KEY_UP)
66 MATRIX_KEY(4, 2, KEY_LEFT)
67 MATRIX_KEY(4, 3, KEY_HOME)
68 MATRIX_KEY(4, 4, KEY_FN_F3)
69 MATRIX_KEY(5, 0, KEY_CAMERA)
70 MATRIX_KEY(5, 1, KEY_RIGHT)
71 MATRIX_KEY(5, 2, KEY_DOWN)
72 MATRIX_KEY(5, 3, KEY_BACK)
73 MATRIX_KEY(5, 4, KEY_MENU)
75 keypad,num-rows = <6>;
76 keypad,num-columns = <5>;