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

Commit c351c254 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross
Browse files

ARM: dts: apq8064: move sdcc3 pinctrls out of baord file



This patch move sdcc3 pinctrl nodes out of board file, so that
other boards do not duplicate the same thing.

Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarAndy Gross <andy.gross@linaro.org>
parent ccd140b5
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -27,6 +27,26 @@
		};
	};

	sdcc3_pins: sdcc3-pin-active {
		clk {
			pins = "sdc3_clk";
			drive-strengh = <8>;
			bias-disable;
		};

		cmd {
			pins = "sdc3_cmd";
			drive-strengh = <8>;
			bias-pull-up;
		};

		data {
			pins = "sdc3_data";
			drive-strengh = <8>;
			bias-pull-up;
		};
	};

	ps_hold: ps_hold {
		mux {
			pins = "gpio78";
+1 −21
Original line number Diff line number Diff line
@@ -71,26 +71,6 @@
			};


			sdcc3_pin_a: sdcc3-pin-active {
				clk {
					pins = "sdc3_clk";
					drive-strengh = <8>;
					bias-disable;
				};

				cmd {
					pins = "sdc3_cmd";
					drive-strengh = <8>;
					bias-pull-up;
				};

				data {
					pins = "sdc3_data";
					drive-strengh = <8>;
					bias-pull-up;
				};
			};

			sdcc3_cd_pin_a: sdcc3-cd-pin-active {
				pins = "gpio26";
				function = "gpio";
@@ -407,7 +387,7 @@
				cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;

				pinctrl-names = "default";
				pinctrl-0 = <&sdcc3_pin_a>, <&sdcc3_cd_pin_a>;
				pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>;
			};
		};
	};