Merge "ARM: dts: msm: Add pinctrl support on Tuna VM"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
e31a0bec71
@@ -187,6 +187,19 @@
|
||||
allocate-base;
|
||||
};
|
||||
|
||||
gpiomem0 {
|
||||
vdevice-type = "iomem";
|
||||
patch = "/soc/tlmm-vm-mem-access";
|
||||
push-compatible = "qcom,tlmm-vm-mem-access";
|
||||
peer-default;
|
||||
memory {
|
||||
qcom,label = <0x8>;
|
||||
qcom,mem-info-tag = <0x3>;
|
||||
allocate-base;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -216,6 +229,73 @@
|
||||
wakeup-source;
|
||||
};
|
||||
|
||||
vm_tlmm_irq: vm-tlmm-irq@0 {
|
||||
compatible = "qcom,tlmm-vm-irq";
|
||||
reg = <0x0 0x0>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
tlmm: pinctrl@f000000 {
|
||||
compatible = "qcom,tuna-vm-tlmm";
|
||||
reg = <0x0F000000 0x1000000>;
|
||||
interrupts-extended = <&vm_tlmm_irq 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
/* Valid pins */
|
||||
gpios = /bits/ 16 <86 87 98 97 16 17 18 19 161 162 100 44 45 46 47 88 14 126 77 78 189 176>;
|
||||
};
|
||||
|
||||
tlmm-vm-mem-access {
|
||||
compatible = "qcom,tlmm-vm-mem-access";
|
||||
tlmm-vm-gpio-list = <&tlmm 86 0 &tlmm 87 0 &tlmm 98 0 &tlmm 97 0 &tlmm 16 0 &tlmm 17 0
|
||||
&tlmm 18 0 &tlmm 19 0 &tlmm 161 0 &tlmm 162 0 &tlmm 100 0 &tlmm 44 0
|
||||
&tlmm 45 0 &tlmm 46 0 &tlmm 47 0 &tlmm 88 0 &tlmm 14 0 &tlmm 126 0
|
||||
&tlmm 77 &tlmm 78 &tlmm 189 0 &tlmm 176 0>;
|
||||
};
|
||||
|
||||
tlmm-vm-test {
|
||||
compatible = "qcom,tlmm-vm-test";
|
||||
pinctrl-names = "active", "sleep";
|
||||
pinctrl-0 = <&qupv3_se1_7i2c_active>;
|
||||
pinctrl-1 = <&qupv3_se1_7i2c_sleep>;
|
||||
tlmm-vm-gpio-list = <&tlmm 86 0 &tlmm 87 0 &tlmm 98 0 &tlmm 97 0 &tlmm 16 0 &tlmm 17 0
|
||||
&tlmm 18 0 &tlmm 19 0 &tlmm 161 0 &tlmm 162 0 &tlmm 100 0 &tlmm 44 0
|
||||
&tlmm 45 0 &tlmm 46 0 &tlmm 47 0 &tlmm 88 0 &tlmm 14 0 &tlmm 126 0
|
||||
&tlmm 77 &tlmm 78 &tlmm 189 0 &tlmm 176 0>;
|
||||
};
|
||||
|
||||
pinctrl@f000000 {
|
||||
qupv3_se1_7i2c_pins: qupv3_se1_7i2c_pins {
|
||||
qupv3_se1_7i2c_active: qupv3_se1_7i2c_active {
|
||||
mux {
|
||||
pins = "gpio44";
|
||||
function = "qup2_se7_l0";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio44";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
qupv3_se1_7i2c_sleep: qupv3_se1_7i2c_sleep {
|
||||
mux {
|
||||
pins = "gpio44";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio44";
|
||||
drive-strength = <2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
psci {
|
||||
compatible = "arm,psci-1.0";
|
||||
method = "smc";
|
||||
|
@@ -1061,6 +1061,28 @@
|
||||
qcom,gpios-reserved = <54 4 5 6 7 82 83 111 112>;
|
||||
};
|
||||
|
||||
tlmm-vm-mem-access {
|
||||
compatible = "qcom,tlmm-vm-mem-access";
|
||||
qcom,master;
|
||||
tuivm {
|
||||
qcom,label = <0x08>;
|
||||
qcom,vmid = <45>;
|
||||
tlmm-vm-gpio-list = <&tlmm 86 0 &tlmm 87 0 &tlmm 98 0 &tlmm 97 0 &tlmm 16 0 &tlmm 17 0
|
||||
&tlmm 18 0 &tlmm 19 0 &tlmm 161 0 &tlmm 162 0 &tlmm 100 0 &tlmm 44 0
|
||||
&tlmm 45 0 &tlmm 46 0 &tlmm 47 0 &tlmm 88 0 &tlmm 14 0 &tlmm 126 0
|
||||
&tlmm 77 &tlmm 78 &tlmm 189 0 &tlmm 176 0>;
|
||||
};
|
||||
};
|
||||
|
||||
tlmm-vm-test {
|
||||
compatible = "qcom,tlmm-vm-test";
|
||||
qcom,master;
|
||||
tlmm-vm-gpio-list = <&tlmm 86 0 &tlmm 87 0 &tlmm 98 0 &tlmm 97 0 &tlmm 16 0 &tlmm 17 0
|
||||
&tlmm 18 0 &tlmm 19 0 &tlmm 161 0 &tlmm 162 0 &tlmm 100 0 &tlmm 44 0
|
||||
&tlmm 45 0 &tlmm 46 0 &tlmm 47 0 &tlmm 88 0 &tlmm 14 0 &tlmm 126 0
|
||||
&tlmm 77 &tlmm 78 &tlmm 189 0 &tlmm 176 0>;
|
||||
};
|
||||
|
||||
slimbam: bamdma@6c04000 {
|
||||
compatible = "qcom,bam-v1.7.0";
|
||||
reg = <0x6c04000 0x20000>, <0x6c8f000 0x1000>;
|
||||
|
Reference in New Issue
Block a user