diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-06-17 11:14:10 -0400 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-06-24 23:30:17 -0400 |
commit | 7dba64a23e29b8afa7525bdda4e6929d4a7ff629 (patch) | |
tree | 9d26711867244fbaf971869812899dda67ff4395 /arch/arm64/boot | |
parent | 604677b415031918a7c780da91c105c41347ba3e (diff) |
arm64: dts: msm8996: add support to blsp2_spi5 pinctrl
This patch adds pinctrl required for blsp2_spi5 device.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi index 9fd37a0295bc..551707a85436 100644 --- a/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996-pins.dtsi | |||
@@ -218,4 +218,38 @@ | |||
218 | bias-disable; | 218 | bias-disable; |
219 | }; | 219 | }; |
220 | }; | 220 | }; |
221 | |||
222 | blsp2_spi5_default: blsp2_spi5_default { | ||
223 | pinmux { | ||
224 | function = "blsp_spi12"; | ||
225 | pins = "gpio85", "gpio86", "gpio88"; | ||
226 | }; | ||
227 | pinmux_cs { | ||
228 | function = "gpio"; | ||
229 | pins = "gpio87"; | ||
230 | }; | ||
231 | pinconf { | ||
232 | pins = "gpio85", "gpio86", "gpio88"; | ||
233 | drive-strength = <12>; | ||
234 | bias-disable; | ||
235 | }; | ||
236 | pinconf_cs { | ||
237 | pins = "gpio87"; | ||
238 | drive-strength = <16>; | ||
239 | bias-disable; | ||
240 | output-high; | ||
241 | }; | ||
242 | }; | ||
243 | |||
244 | blsp2_spi5_sleep: blsp2_spi5_sleep { | ||
245 | pinmux { | ||
246 | function = "gpio"; | ||
247 | pins = "gpio85", "gpio86", "gpio87", "gpio88"; | ||
248 | }; | ||
249 | pinconf { | ||
250 | pins = "gpio85", "gpio86", "gpio87", "gpio88"; | ||
251 | drive-strength = <2>; | ||
252 | bias-pull-down; | ||
253 | }; | ||
254 | }; | ||
221 | }; | 255 | }; |