Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffafe041 authored by Srinivas Ramana's avatar Srinivas Ramana
Browse files

arm: dts: msm: Add pinctrl device for TLMM



Add skeleton dtsi file for TLMM pin config nodes.

Change-Id: I1bbd2466c83e0d39768b81303cf1272a6f6d363c
Signed-off-by: default avatarSrinivas Ramana <sramana@codeaurora.org>
parent 3d6bf5c6
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
/* 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 = <142>;
			#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>;
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@
/include/ "msm-gdsc.dtsi"
/include/ "mpq8092-ion.dtsi"
/include/ "apq8084-smp2p.dtsi"
/include/ "mpq8092-pinctrl.dtsi"

&soc {
	#address-cells = <1>;