Add initial device tree support for SDM429/439/QM215 target.
This is a snapshot of dtsi files as of msm-4.9
'commit <033db782f19bcc5b961fcb676404466c2c07d0f8>
("msm: kgsl: Protect the memdesc->gpuaddr in SVM use cases")'.
Snapshot of msm-pm8916.dtsi is taken from msm-3.10 And
renamed to pm8916.dtsi to be comaptible with 4.19 kernel
'commit <795bad7cbc25468d9b0dc7c011cc7ef2e3f4c0b2>
power: qpnp-linear-charger: fix mutex lockup")'.
Change-Id: Id25960963b2ffc8bbb23abb6a802d146bb643d02
293 lines
4.7 KiB
Devicetree
293 lines
4.7 KiB
Devicetree
cci {
|
|
cci0_active: cci0_active {
|
|
/* cci0 active state */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio29", "gpio30";
|
|
function = "cci_i2c";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio29", "gpio30";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable; /* No PULL */
|
|
};
|
|
};
|
|
|
|
cci0_suspend: cci0_suspend {
|
|
/* cci0 suspended state */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio29", "gpio30";
|
|
function = "cci_i2c";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio29", "gpio30";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable; /* No PULL */
|
|
};
|
|
};
|
|
|
|
cci1_active: cci1_active {
|
|
/* cci1 active state */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio31", "gpio32";
|
|
function = "cci_i2c";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio31", "gpio32";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable; /* No PULL */
|
|
};
|
|
};
|
|
|
|
cci1_suspend: cci1_suspend {
|
|
/* cci1 suspended state */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio31", "gpio32";
|
|
function = "cci_i2c";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio31", "gpio32";
|
|
drive-strength = <2>; /* 2 MA */
|
|
bias-disable; /* No PULL */
|
|
};
|
|
};
|
|
};
|
|
|
|
/*sensors */
|
|
cam_sensor_mclk0_default: cam_sensor_mclk0_default {
|
|
/* MCLK0 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio26";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio26";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_mclk0_sleep: cam_sensor_mclk0_sleep {
|
|
/* MCLK0 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio26";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio26";
|
|
bias-pull-down; /* PULL DOWN */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_default: cam_sensor_rear_default {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio36", "gpio35";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio36","gpio35";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_sleep: cam_sensor_rear_sleep {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio36","gpio35";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio36","gpio35";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_vdig: cam_sensor_rear_vdig {
|
|
/* VDIG */
|
|
mux {
|
|
pins = "gpio62";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio62";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_vdig_sleep: cam_sensor_rear_vdig_sleep {
|
|
/* VDIG */
|
|
mux {
|
|
pins = "gpio62";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio62";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_vdig_qm215: cam_sensor_rear_vdig_qm215 {
|
|
/* VDIG */
|
|
mux {
|
|
pins = "gpio25";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio25";
|
|
output-high;
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_rear_vdig_sleep_qm215: cam_sensor_rear_vdig_sleep_qm215 {
|
|
/* VDIG */
|
|
mux {
|
|
pins = "gpio25";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio25";
|
|
output-low;
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_mclk1_default: cam_sensor_mclk1_default {
|
|
/* MCLK1 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio27";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio27";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_mclk1_sleep: cam_sensor_mclk1_sleep {
|
|
/* MCLK1 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio27";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio27";
|
|
bias-pull-down; /* PULL DOWN */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_front_default: cam_sensor_front_default {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio38","gpio50";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio38","gpio50";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_front_sleep: cam_sensor_front_sleep {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio38","gpio50";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio38","gpio50";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_mclk2_default: cam_sensor_mclk2_default {
|
|
/* MCLK2 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio28";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio28";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_mclk2_sleep: cam_sensor_mclk2_sleep {
|
|
/* MCLK2 */
|
|
mux {
|
|
/* CLK, DATA */
|
|
pins = "gpio28";
|
|
function = "cam_mclk";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio28";
|
|
bias-pull-down; /* PULL DOWN */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_front1_default: cam_sensor_front1_default {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio40", "gpio39";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio40", "gpio39";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|
|
|
|
cam_sensor_front1_sleep: cam_sensor_front1_sleep {
|
|
/* RESET, STANDBY */
|
|
mux {
|
|
pins = "gpio40", "gpio39";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio40", "gpio39";
|
|
bias-disable; /* No PULL */
|
|
drive-strength = <2>; /* 2 MA */
|
|
};
|
|
};
|