diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-06-17 16:14:12 +0100 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-06-24 22:30:17 -0500 |
commit | 84ddf1ee1e28f790309b6132a572fad16dba4e3a (patch) | |
tree | b392e73ed7074bb92626b442535cb3a04bf6d624 /arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | |
parent | db6c8c83252659e42bb3881521d8bc8607dd7a09 (diff) | |
download | linux-84ddf1ee1e28f790309b6132a572fad16dba4e3a.tar.bz2 |
arm64: dts: msm8996: add sdc2 pinctrl
This patch adds pinctrl required for sdhci for external sd card
controller.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8996-pins.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi index 551707a85436..659940434842 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi @@ -252,4 +252,52 @@ bias-pull-down; }; }; + + sdc2_clk_on: sdc2_clk_on { + config { + pins = "sdc2_clk"; + bias-disable; /* NO pull */ + drive-strength = <16>; /* 16 MA */ + }; + }; + + sdc2_clk_off: sdc2_clk_off { + config { + pins = "sdc2_clk"; + bias-disable; /* NO pull */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + sdc2_cmd_on: sdc2_cmd_on { + config { + pins = "sdc2_cmd"; + bias-pull-up; /* pull up */ + drive-strength = <10>; /* 10 MA */ + }; + }; + + sdc2_cmd_off: sdc2_cmd_off { + config { + pins = "sdc2_cmd"; + bias-pull-up; /* pull up */ + drive-strength = <2>; /* 2 MA */ + }; + }; + + sdc2_data_on: sdc2_data_on { + config { + pins = "sdc2_data"; + bias-pull-up; /* pull up */ + drive-strength = <10>; /* 10 MA */ + }; + }; + + sdc2_data_off: sdc2_data_off { + config { + pins = "sdc2_data"; + bias-pull-up; /* pull up */ + drive-strength = <2>; /* 2 MA */ + }; + }; }; |