diff options
author | Ivan T. Ivanov <ivan.ivanov@linaro.org> | 2015-04-20 10:45:41 +0300 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2015-04-27 16:09:12 -0500 |
commit | a190a1ce9a51d3edd52de1b721276d780e0906bb (patch) | |
tree | 9721af4d0f6035aac4ba1ca1b8f70c062f200969 /arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | |
parent | 366655c95330278f2f6bb9cc9cfddfde42a82440 (diff) |
arm64: dts: qcom: Add initial set of PMIC and SoC pins for APQ8016 SBC board
Add initial device configuration nodes for APQ8016 and PM8916 GPIO's.
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi new file mode 100644 index 000000000000..535532b9287f --- /dev/null +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi @@ -0,0 +1,30 @@ +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h> + +&pm8916_gpios { + + pinctrl-names = "default"; + pinctrl-0 = <&pm8916_gpios_default>; + + pm8916_gpios_default: default { + usb_hub_reset_pm { + pins = "gpio1"; + function = PMIC_GPIO_FUNC_NORMAL; + output-low; + }; + usb_sw_sel_pm { + pins = "gpio2"; + function = PMIC_GPIO_FUNC_NORMAL; + input-disable; + }; + usr_led_3_ctrl { + pins = "gpio3"; + function = PMIC_GPIO_FUNC_NORMAL; + output-low; + }; + usr_led_4_ctrl { + pins = "gpio4"; + function = PMIC_GPIO_FUNC_NORMAL; + output-low; + }; + }; +}; |