1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 3*f126890aSEmmanuel Vadot 4*f126890aSEmmanuel Vadot#include "qcom-msm8660.dtsi" 5*f126890aSEmmanuel Vadot 6*f126890aSEmmanuel Vadot/ { 7*f126890aSEmmanuel Vadot model = "Qualcomm MSM8660 SURF"; 8*f126890aSEmmanuel Vadot compatible = "qcom,msm8660-surf", "qcom,msm8660"; 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot aliases { 11*f126890aSEmmanuel Vadot serial0 = &gsbi12_serial; 12*f126890aSEmmanuel Vadot }; 13*f126890aSEmmanuel Vadot 14*f126890aSEmmanuel Vadot chosen { 15*f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 16*f126890aSEmmanuel Vadot }; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot /* Temporary fixed regulator */ 19*f126890aSEmmanuel Vadot vsdcc_fixed: vsdcc-regulator { 20*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 21*f126890aSEmmanuel Vadot regulator-name = "SDCC Power"; 22*f126890aSEmmanuel Vadot regulator-min-microvolt = <2700000>; 23*f126890aSEmmanuel Vadot regulator-max-microvolt = <2700000>; 24*f126890aSEmmanuel Vadot regulator-always-on; 25*f126890aSEmmanuel Vadot }; 26*f126890aSEmmanuel Vadot}; 27*f126890aSEmmanuel Vadot 28*f126890aSEmmanuel Vadot&gsbi12 { 29*f126890aSEmmanuel Vadot qcom,mode = <GSBI_PROT_I2C_UART>; 30*f126890aSEmmanuel Vadot status = "okay"; 31*f126890aSEmmanuel Vadot}; 32*f126890aSEmmanuel Vadot 33*f126890aSEmmanuel Vadot&gsbi12_serial { 34*f126890aSEmmanuel Vadot status = "okay"; 35*f126890aSEmmanuel Vadot}; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot&pm8058 { 38*f126890aSEmmanuel Vadot keypad@148 { 39*f126890aSEmmanuel Vadot linux,keymap = < 40*f126890aSEmmanuel Vadot MATRIX_KEY(0, 0, KEY_FN_F1) 41*f126890aSEmmanuel Vadot MATRIX_KEY(0, 1, KEY_UP) 42*f126890aSEmmanuel Vadot MATRIX_KEY(0, 2, KEY_LEFT) 43*f126890aSEmmanuel Vadot MATRIX_KEY(0, 3, KEY_VOLUMEUP) 44*f126890aSEmmanuel Vadot MATRIX_KEY(1, 0, KEY_FN_F2) 45*f126890aSEmmanuel Vadot MATRIX_KEY(1, 1, KEY_RIGHT) 46*f126890aSEmmanuel Vadot MATRIX_KEY(1, 2, KEY_DOWN) 47*f126890aSEmmanuel Vadot MATRIX_KEY(1, 3, KEY_VOLUMEDOWN) 48*f126890aSEmmanuel Vadot MATRIX_KEY(2, 3, KEY_ENTER) 49*f126890aSEmmanuel Vadot MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS) 50*f126890aSEmmanuel Vadot MATRIX_KEY(4, 1, KEY_UP) 51*f126890aSEmmanuel Vadot MATRIX_KEY(4, 2, KEY_LEFT) 52*f126890aSEmmanuel Vadot MATRIX_KEY(4, 3, KEY_HOME) 53*f126890aSEmmanuel Vadot MATRIX_KEY(4, 4, KEY_FN_F3) 54*f126890aSEmmanuel Vadot MATRIX_KEY(5, 0, KEY_CAMERA) 55*f126890aSEmmanuel Vadot MATRIX_KEY(5, 1, KEY_RIGHT) 56*f126890aSEmmanuel Vadot MATRIX_KEY(5, 2, KEY_DOWN) 57*f126890aSEmmanuel Vadot MATRIX_KEY(5, 3, KEY_BACK) 58*f126890aSEmmanuel Vadot MATRIX_KEY(5, 4, KEY_MENU) 59*f126890aSEmmanuel Vadot >; 60*f126890aSEmmanuel Vadot keypad,num-rows = <6>; 61*f126890aSEmmanuel Vadot keypad,num-columns = <5>; 62*f126890aSEmmanuel Vadot }; 63*f126890aSEmmanuel Vadot}; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot/* eMMC */ 66*f126890aSEmmanuel Vadot&sdcc1 { 67*f126890aSEmmanuel Vadot vmmc-supply = <&vsdcc_fixed>; 68*f126890aSEmmanuel Vadot status = "okay"; 69*f126890aSEmmanuel Vadot}; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot/* External micro SD card */ 72*f126890aSEmmanuel Vadot&sdcc3 { 73*f126890aSEmmanuel Vadot vmmc-supply = <&vsdcc_fixed>; 74*f126890aSEmmanuel Vadot status = "okay"; 75*f126890aSEmmanuel Vadot}; 76