WIP FPC-III support
[linux/fpc-iii.git] / arch / arm / boot / dts / qcom-msm8660-surf.dts
blobf01a11b18d6aa7ee305ff16ebb9b109d2957d8a2
1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
4 #include "qcom-msm8660.dtsi"
6 / {
7         model = "Qualcomm MSM8660 SURF";
8         compatible = "qcom,msm8660-surf", "qcom,msm8660";
10         aliases {
11                 serial0 = &gsbi12_serial;
12         };
14         chosen {
15                 stdout-path = "serial0:115200n8";
16         };
18         soc {
19                 gsbi@19c00000 {
20                         status = "ok";
21                         qcom,mode = <GSBI_PROT_I2C_UART>;
22                         serial@19c40000 {
23                                 status = "ok";
24                         };
25                 };
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>;
33                         regulator-always-on;
34                 };
36                 amba {
37                         /* eMMC */
38                         sdcc1: sdcc@12400000 {
39                                 status = "okay";
40                                 vmmc-supply = <&vsdcc_fixed>;
41                         };
43                         /* External micro SD card */
44                         sdcc3: sdcc@12180000 {
45                                 status = "okay";
46                                 vmmc-supply = <&vsdcc_fixed>;
47                         };
48                 };
49         };
52 &pm8058 {
53         keypad@148 {
54                 linux,keymap = <
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)
74                         >;
75                 keypad,num-rows = <6>;
76                 keypad,num-columns = <5>;
77         };