Commit 7cf05e3b authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Bjorn Andersson

ARM: dts: qcom-mdm9615: add gpio-ranges to mpps node, fix its name

Rename mpp node to mpps@50 (instead of mpp@50). Also add gpio-ranges
property to mpps device tree nodes, adding the mapping between pinctrl
and GPIO pins.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211008012524.481877-9-dmitry.baryshkov@linaro.org
parent 50ec4abe
...@@ -300,7 +300,7 @@ pwrkey@1c { ...@@ -300,7 +300,7 @@ pwrkey@1c {
pull-up; pull-up;
}; };
pmicmpp: mpp@50 { pmicmpp: mpps@50 {
compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp"; compatible = "qcom,pm8018-mpp", "qcom,ssbi-mpp";
interrupt-parent = <&pmicintc>; interrupt-parent = <&pmicintc>;
interrupts = <24 IRQ_TYPE_NONE>, interrupts = <24 IRQ_TYPE_NONE>,
...@@ -312,6 +312,7 @@ pmicmpp: mpp@50 { ...@@ -312,6 +312,7 @@ pmicmpp: mpp@50 {
reg = <0x50>; reg = <0x50>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&pmicmpp 0 0 6>;
}; };
rtc@11d { rtc@11d {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment