1// SPDX-License-Identifier: GPL-2.0 2#include <dt-bindings/input/input.h> 3 4#include "qcom-msm8660.dtsi" 5 6/ { 7 model = "Qualcomm MSM8660 SURF"; 8 compatible = "qcom,msm8660-surf", "qcom,msm8660"; 9 10 aliases { 11 serial0 = &gsbi12_serial; 12 }; 13 14 chosen { 15 stdout-path = "serial0:115200n8"; 16 }; 17 18 /* Temporary fixed regulator */ 19 vsdcc_fixed: vsdcc-regulator { 20 compatible = "regulator-fixed"; 21 regulator-name = "SDCC Power"; 22 regulator-min-microvolt = <2700000>; 23 regulator-max-microvolt = <2700000>; 24 regulator-always-on; 25 }; 26}; 27 28&gsbi12 { 29 qcom,mode = <GSBI_PROT_I2C_UART>; 30 status = "okay"; 31}; 32 33&gsbi12_serial { 34 status = "okay"; 35}; 36 37&pm8058 { 38 interrupts-extended = <&tlmm 88 IRQ_TYPE_LEVEL_LOW>; 39}; 40 41&pm8058_keypad { 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 67/* eMMC */ 68&sdcc1 { 69 vmmc-supply = <&vsdcc_fixed>; 70 status = "okay"; 71}; 72 73/* External micro SD card */ 74&sdcc3 { 75 vmmc-supply = <&vsdcc_fixed>; 76 status = "okay"; 77}; 78