arm: dts: msm8226: Add pinctrl device for TLMM
Add skeleton dtsi file for TLMM pin config nodes. Also enable pinctrl driver. Change-Id: Ie35a1138da42676940ecd13a0ea7583c9c5d1020 Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
This commit is contained in:
parent
e12c124e10
commit
fa030346f3
|
@ -0,0 +1,37 @@
|
|||
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
* only version 2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
&soc {
|
||||
tlmm_pinmux: pinctrl@fd510000 {
|
||||
compatible = "qcom,msm-tlmm-v3";
|
||||
reg = <0xfd510000 0x4000>;
|
||||
|
||||
/*General purpose pins*/
|
||||
gp: gp {
|
||||
qcom,pin-type-gp;
|
||||
qcom,num-pins = <117>;
|
||||
#qcom,pin-cells = <1>;
|
||||
};
|
||||
/* SDC pin type */
|
||||
sdc: sdc {
|
||||
qcom,pin-type-sdc;
|
||||
/* 0-2 for sdc1 3-5 for sdc2 */
|
||||
qcom,num-pins = <6>;
|
||||
/* Order of pins */
|
||||
/* CLK -> 0 */
|
||||
/* CMD -> 1 */
|
||||
/* DATA -> 2 */
|
||||
#qcom,pin-cells = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
@ -57,6 +57,7 @@
|
|||
/include/ "msm8226-mdss.dtsi"
|
||||
/include/ "msm8226-coresight.dtsi"
|
||||
/include/ "msm8226-iommu-domains.dtsi"
|
||||
/include/ "msm8226-pinctrl.dtsi"
|
||||
|
||||
&soc {
|
||||
#address-cells = <1>;
|
||||
|
|
|
@ -62,6 +62,12 @@
|
|||
regulator-max-microvolt = <1280000>;
|
||||
};
|
||||
|
||||
&tlmm_pinmux {
|
||||
gp: gp {
|
||||
qcom,num-pins = <120>;
|
||||
};
|
||||
};
|
||||
|
||||
&apc_vreg_corner {
|
||||
qcom,pvs-bin-process = <1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2
|
||||
2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3>;
|
||||
|
|
|
@ -522,6 +522,8 @@ config ARCH_MSM8226
|
|||
select MSM_RPM_LOG
|
||||
select MSM_RPM_STATS_LOG
|
||||
select ARCH_WANT_KMAP_ATOMIC_FLUSH
|
||||
select PINCTRL
|
||||
select PINCTRL_MSM_TLMM_V3
|
||||
|
||||
config ARCH_MSMSAMARIUM
|
||||
bool "MSMSAMARIUM"
|
||||
|
|
Loading…
Reference in New Issue