fa410c099d
Add the PMIC and the sub-devices that are currently supported in the kernel to the DT. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Kumar Gala <galak@codeaurora.org>
32 lines
546 B
Plaintext
32 lines
546 B
Plaintext
#include <dt-bindings/input/input.h>
|
|
|
|
#include "qcom-msm8960.dtsi"
|
|
|
|
/ {
|
|
model = "Qualcomm MSM8960 CDP";
|
|
compatible = "qcom,msm8960-cdp", "qcom,msm8960";
|
|
|
|
soc {
|
|
gsbi@16400000 {
|
|
status = "ok";
|
|
qcom,mode = <GSBI_PROT_I2C_UART>;
|
|
serial@16440000 {
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&pmicintc {
|
|
keypad@148 {
|
|
linux,keymap = <
|
|
MATRIX_KEY(0, 0, KEY_VOLUMEUP)
|
|
MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
|
|
MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
|
|
MATRIX_KEY(0, 3, KEY_CAMERA)
|
|
>;
|
|
keypad,num-rows = <1>;
|
|
keypad,num-columns = <5>;
|
|
};
|
|
};
|