aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Garg <sumit.garg@linaro.org>2023-02-01 19:28:49 +0530
committerTom Rini <trini@konsulko.com>2023-02-10 12:50:00 -0500
commit0d6def46e0432affdb30a99d2550edebdb47f7a1 (patch)
treef760726b3a044a796ed014613ccc79e95478deeb
parent881338a0c6686bbcf043275714d43080b746b17e (diff)
downloadu-boot-0d6def46e0432affdb30a99d2550edebdb47f7a1.zip
u-boot-0d6def46e0432affdb30a99d2550edebdb47f7a1.tar.gz
u-boot-0d6def46e0432affdb30a99d2550edebdb47f7a1.tar.bz2
qcs404-evb: Enable msm_gpio driver support
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
-rw-r--r--arch/arm/dts/qcs404-evb.dts4
-rw-r--r--configs/qcs404evb_defconfig1
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/qcs404-evb.dts b/arch/arm/dts/qcs404-evb.dts
index 0639af8..c8bcf9f 100644
--- a/arch/arm/dts/qcs404-evb.dts
+++ b/arch/arm/dts/qcs404-evb.dts
@@ -40,6 +40,10 @@
pinctrl_north@1300000 {
compatible = "qcom,qcs404-pinctrl";
reg = <0x1300000 0x200000>;
+ gpio-controller;
+ gpio-count = <120>;
+ gpio-bank-name="soc";
+ #gpio-cells = <2>;
blsp1_uart2: uart {
pins = "GPIO_17", "GPIO_18";
diff --git a/configs/qcs404evb_defconfig b/configs/qcs404evb_defconfig
index dae1551..d64cd74 100644
--- a/configs/qcs404evb_defconfig
+++ b/configs/qcs404evb_defconfig
@@ -44,6 +44,7 @@ CONFIG_DM_PMIC=y
CONFIG_PMIC_QCOM=y
CONFIG_DM_RESET=y
CONFIG_MSM_SERIAL=y
+CONFIG_MSM_GPIO=y
CONFIG_SPMI_MSM=y
CONFIG_USB=y
CONFIG_USB_XHCI_HCD=y