ARM: dts: configure trigout function for gpio 58

GPIO 58 is connected to CTI2's trigout 4. Add node to configure this gpio
when trigout 4 of CTI2 is mapped on msmcobalt.

Change-Id: I064c208557bc7b74bcb342fea76df9c9e10c8405
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
This commit is contained in:
Shashank Mittal 2016-05-17 14:37:07 -07:00 committed by Kyle Yan
parent 8bfa5da1a2
commit b77ff68c63
2 changed files with 17 additions and 0 deletions

View file

@ -622,6 +622,10 @@
clocks = <&clock_gcc clk_qdss_clk>,
<&clock_gcc clk_qdss_a_clk>;
clock-names = "core_clk", "core_a_clk";
qcom,cti-gpio-trigout = <4>;
pinctrl-names = "cti-trigout-pctrl";
pinctrl-0 = <&trigout_a>;
};
cti3: cti@6013000 {

View file

@ -1479,5 +1479,18 @@
output-low;
};
};
trigout_a: trigout_a {
mux {
pins = "gpio58";
function = "qdss_cti1_a";
};
config {
pins = "gpio58";
drive-strength = <2>;
bias-disable;
};
};
};
};