android_kernel_motorola_sm6375/qcom/pm8150-vm.dtsi
Ramachandran Venkataramani 7c76276903 ARM: dts: msm: Fix compilation warnings for auto GVM device tree
- Remove duplicate includes for gcc and regulator header files.
- Move includes for common header files to quin-vm-common.
- Add/Fix address and size cells values where missing/incorrect.
- Add #interrupt-controller for vgic node.

Change-Id: I488c79bfb5c54dee0c4cd219e8937794489051da
2021-04-19 11:24:45 -07:00

54 lines
1,011 B
Devicetree

#include <dt-bindings/input/input.h>
#include <dt-bindings/input/qcom,qpnp-power-on.h>
#include <dt-bindings/spmi/spmi.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>
&spmi_bus {
qcom,pm8150@0 {
compatible = "qcom,spmi-pmic";
reg = <0 SPMI_USID>;
#address-cells = <1>;
#size-cells = <0>;
pm8150_gpios: pinctrl@c000 {
compatible = "qcom,pm8150-gpio";
reg = <0xc000>;
gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};
};
};
&pm8150_gpios {
key_home {
key_home_default: key_home_default {
pins = "gpio1";
function = "normal";
input-enable;
bias-pull-up;
power-source = <0>;
};
};
storage_sd_detect {
storage_cd_default: storage_cd_default {
pins = "gpio4";
function = "normal";
input-enable;
bias-pull-up;
power-source = <0>;
};
};
key_vol_up {
key_vol_up_default: key_vol_up_default {
pins = "gpio6";
function = "normal";
input-enable;
bias-pull-up;
power-source = <1>;
};
};
};