2014-06-25 05:03:54 +08:00
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
|
|
2014-01-24 04:09:54 +08:00
|
|
|
#include "qcom-msm8660.dtsi"
|
2014-01-17 09:25:03 +08:00
|
|
|
|
2011-08-04 17:01:02 +08:00
|
|
|
/ {
|
|
|
|
model = "Qualcomm MSM8660 SURF";
|
|
|
|
compatible = "qcom,msm8660-surf", "qcom,msm8660";
|
2014-05-29 01:12:40 +08:00
|
|
|
|
2015-06-17 05:31:51 +08:00
|
|
|
aliases {
|
|
|
|
serial0 = &gsbi12_serial;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2014-05-29 01:12:40 +08:00
|
|
|
soc {
|
|
|
|
gsbi@19c00000 {
|
|
|
|
status = "ok";
|
|
|
|
qcom,mode = <GSBI_PROT_I2C_UART>;
|
|
|
|
serial@19c40000 {
|
|
|
|
status = "ok";
|
|
|
|
};
|
|
|
|
};
|
2014-09-20 07:50:50 +08:00
|
|
|
|
2016-06-18 04:28:11 +08:00
|
|
|
/* Temporary fixed regulator */
|
|
|
|
vsdcc_fixed: vsdcc-regulator {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "SDCC Power";
|
|
|
|
regulator-min-microvolt = <2700000>;
|
|
|
|
regulator-max-microvolt = <2700000>;
|
|
|
|
regulator-always-on;
|
|
|
|
};
|
|
|
|
|
2014-09-20 07:50:50 +08:00
|
|
|
amba {
|
|
|
|
/* eMMC */
|
|
|
|
sdcc1: sdcc@12400000 {
|
|
|
|
status = "okay";
|
2016-06-18 04:28:11 +08:00
|
|
|
vmmc-supply = <&vsdcc_fixed>;
|
2014-09-20 07:50:50 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/* External micro SD card */
|
|
|
|
sdcc3: sdcc@12180000 {
|
|
|
|
status = "okay";
|
2016-06-18 04:28:11 +08:00
|
|
|
vmmc-supply = <&vsdcc_fixed>;
|
2014-09-20 07:50:50 +08:00
|
|
|
};
|
|
|
|
};
|
2014-05-29 01:12:40 +08:00
|
|
|
};
|
2011-08-04 17:01:02 +08:00
|
|
|
};
|
2014-06-25 05:03:54 +08:00
|
|
|
|
2017-01-05 23:13:34 +08:00
|
|
|
&pm8058 {
|
2014-06-25 05:03:54 +08:00
|
|
|
keypad@148 {
|
|
|
|
linux,keymap = <
|
|
|
|
MATRIX_KEY(0, 0, KEY_FN_F1)
|
|
|
|
MATRIX_KEY(0, 1, KEY_UP)
|
|
|
|
MATRIX_KEY(0, 2, KEY_LEFT)
|
|
|
|
MATRIX_KEY(0, 3, KEY_VOLUMEUP)
|
|
|
|
MATRIX_KEY(1, 0, KEY_FN_F2)
|
|
|
|
MATRIX_KEY(1, 1, KEY_RIGHT)
|
|
|
|
MATRIX_KEY(1, 2, KEY_DOWN)
|
|
|
|
MATRIX_KEY(1, 3, KEY_VOLUMEDOWN)
|
|
|
|
MATRIX_KEY(2, 3, KEY_ENTER)
|
|
|
|
MATRIX_KEY(4, 0, KEY_CAMERA_FOCUS)
|
|
|
|
MATRIX_KEY(4, 1, KEY_UP)
|
|
|
|
MATRIX_KEY(4, 2, KEY_LEFT)
|
|
|
|
MATRIX_KEY(4, 3, KEY_HOME)
|
|
|
|
MATRIX_KEY(4, 4, KEY_FN_F3)
|
|
|
|
MATRIX_KEY(5, 0, KEY_CAMERA)
|
|
|
|
MATRIX_KEY(5, 1, KEY_RIGHT)
|
|
|
|
MATRIX_KEY(5, 2, KEY_DOWN)
|
|
|
|
MATRIX_KEY(5, 3, KEY_BACK)
|
|
|
|
MATRIX_KEY(5, 4, KEY_MENU)
|
|
|
|
>;
|
|
|
|
keypad,num-rows = <6>;
|
|
|
|
keypad,num-columns = <5>;
|
|
|
|
};
|
|
|
|
};
|