qcom-msm8660-surf.dts (1613B)
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 soc { 19 gsbi@19c00000 { 20 status = "okay"; 21 qcom,mode = <GSBI_PROT_I2C_UART>; 22 serial@19c40000 { 23 status = "okay"; 24 }; 25 }; 26 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 }; 35 36 amba { 37 /* eMMC */ 38 sdcc1: mmc@12400000 { 39 status = "okay"; 40 vmmc-supply = <&vsdcc_fixed>; 41 }; 42 43 /* External micro SD card */ 44 sdcc3: mmc@12180000 { 45 status = "okay"; 46 vmmc-supply = <&vsdcc_fixed>; 47 }; 48 }; 49 }; 50}; 51 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 }; 78};